Click here to Skip to main content
16,010,650 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: hInstance Pin
Demian Panello2-Oct-06 10:20
Demian Panello2-Oct-06 10:20 
QuestionQuick way to generate C++ files from an IDL file Pin
TClarke2-Oct-06 6:07
TClarke2-Oct-06 6:07 
AnswerRe: Quick way to generate C++ files from an IDL file Pin
Steve S2-Oct-06 22:01
Steve S2-Oct-06 22:01 
AnswerRe: Quick way to generate C++ files from an IDL file Pin
Stuart Dootson2-Oct-06 22:42
professionalStuart Dootson2-Oct-06 22:42 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke2-Oct-06 23:36
TClarke2-Oct-06 23:36 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Steve S3-Oct-06 2:29
Steve S3-Oct-06 2:29 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke3-Oct-06 3:42
TClarke3-Oct-06 3:42 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Stuart Dootson3-Oct-06 3:53
professionalStuart Dootson3-Oct-06 3:53 
OK - I think I've got an automated solution for you. Note - this was done with VS2003...


  1. Create an ATL DLL project.
  2. Add an 'ATL Control' class. Use some throwaway name for the control interface (because you *will* be throwing it away Smile | :) ), but make sure the class names are ones you're happy with.
  3. Copy'n'paste your IDL interface into the new projects IDL file
  4. In the Class View, right click the ATL Control class and select Add->Implement Interface... The interface you want to implement should be in the dialog that appears. Select it and click Finish. This should create bare method definitions.


Note that I've not determined what happens to event definitions.




GeneralRe: Quick way to generate C++ files from an IDL file Pin
TClarke3-Oct-06 5:56
TClarke3-Oct-06 5:56 
GeneralRe: Quick way to generate C++ files from an IDL file Pin
Steve S3-Oct-06 6:04
Steve S3-Oct-06 6:04 
QuestionGetting HTML Eevents [modified] Pin
georgekjolly2-Oct-06 3:19
georgekjolly2-Oct-06 3:19 
AnswerRe: Getting HTML Eevents Pin
Stephen Hewitt2-Oct-06 6:00
Stephen Hewitt2-Oct-06 6:00 
GeneralRe: Getting HTML Eevents Pin
georgekjolly2-Oct-06 20:23
georgekjolly2-Oct-06 20:23 
Questionerror in compiling WTL Pin
manish19821-Oct-06 12:54
manish19821-Oct-06 12:54 
AnswerRe: error in compiling WTL Pin
Stuart Dootson1-Oct-06 20:43
professionalStuart Dootson1-Oct-06 20:43 
QuestionMultiple inheritance and class pointer Pin
Samy_Ibraheem_Mo30-Sep-06 9:46
Samy_Ibraheem_Mo30-Sep-06 9:46 
AnswerRe: Multiple inheritance and class pointer Pin
Stuart Dootson30-Sep-06 11:56
professionalStuart Dootson30-Sep-06 11:56 
QuestionDrawing Pin
Demian Panello27-Sep-06 6:24
Demian Panello27-Sep-06 6:24 
AnswerRe: Drawing Pin
led mike28-Sep-06 5:42
led mike28-Sep-06 5:42 
GeneralRe: Drawing Pin
Demian Panello3-Oct-06 4:27
Demian Panello3-Oct-06 4:27 
AnswerRe: Drawing Pin
Jörgen Sigvardsson30-Sep-06 15:03
Jörgen Sigvardsson30-Sep-06 15:03 
GeneralRe: Drawing Pin
Demian Panello3-Oct-06 4:24
Demian Panello3-Oct-06 4:24 
Question[SOS]Winsock in ATL Dll [SOS] Pin
Eytukan26-Sep-06 23:17
Eytukan26-Sep-06 23:17 
AnswerRe: [SOS]Winsock in ATL Dll [SOS] Pin
led mike28-Sep-06 5:39
led mike28-Sep-06 5:39 
GeneralRe: [SOS]Winsock in ATL Dll [SOS] Pin
Eytukan28-Sep-06 6:32
Eytukan28-Sep-06 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.