Click here to Skip to main content
15,898,035 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: vector won't load. Why? Pin
Larry Mills Sr15-Aug-05 14:51
Larry Mills Sr15-Aug-05 14:51 
GeneralRe: vector won't load. Why? Pin
Steve S16-Aug-05 6:17
Steve S16-Aug-05 6:17 
GeneralATl VC++6.0(MFC) calling........problem Pin
virender chauhan5-Aug-05 23:11
virender chauhan5-Aug-05 23:11 
GeneralRe: ATl VC++6.0(MFC) calling........problem Pin
Milton Karimbekallil12-Aug-05 15:43
Milton Karimbekallil12-Aug-05 15:43 
GeneralCan't compile WTL app in Debug mode Pin
Defenestration5-Aug-05 14:53
Defenestration5-Aug-05 14:53 
QuestionAbout Word Addin of adding a bmp? Pin
sharkmouse4-Aug-05 13:39
sharkmouse4-Aug-05 13:39 
Generalunexpected class ATL::CTempBuffer Pin
AnkurGupta_19814-Aug-05 7:46
AnkurGupta_19814-Aug-05 7:46 
GeneralATL Passing user defined class to libtary as a pointer Pin
viva_unix4-Aug-05 6:42
viva_unix4-Aug-05 6:42 
Hello!
I am new in ATL programming. I am trying to write a program where I need to pass a class pointer to one of the method inside the library. Class is written by me and the purpose is to store some data in a linked list. I am always getting next error:

c:\documents and settings\...\dblib.h(30): error MIDL2025 : syntax error : expecting a type specification near "class"

Some code:
this is an IDL file:
[id(3),helpstring("method LoadOptions")] HRESULT LoadOptions([out] class OptionList *op);
this file/line is generated by the compiler.

that how it looks in .h file:
[id(3), helpstring("method LoadOptions")] HRESULT LoadOptions([out] OptionList *op);
(Error in this line)

I have no idea how to correct the error. As I understood, the problem that I can pass only simple data type to the ATL method. Class is not so simple... Frown | :(
I read next article:
http://www.codeproject.com/atl/udtdemo.asp
Did not helped me a lot... I can not find any other information.

Any help appreciated.
Thank you!

GeneralRe: ATL Passing user defined class to libtary as a pointer Pin
«_Superman_»4-Aug-05 21:04
professional«_Superman_»4-Aug-05 21:04 
GeneralCall WebService through ATl with MFC support project Pin
Ganesh_T4-Aug-05 0:26
Ganesh_T4-Aug-05 0:26 
GeneralIs ATL window programming widely... Pin
Anonymous2-Aug-05 7:23
Anonymous2-Aug-05 7:23 
GeneralRe: Is ATL window programming widely... Pin
Tim Smith2-Aug-05 9:51
Tim Smith2-Aug-05 9:51 
GeneralRe: Is ATL window programming widely... Pin
Kevin McFarlane3-Aug-05 5:15
Kevin McFarlane3-Aug-05 5:15 
GeneralRe: Is ATL window programming widely... Pin
Michael Dunn2-Aug-05 19:27
sitebuilderMichael Dunn2-Aug-05 19:27 
GeneralWTL Text Printing Pin
HumanOsc1-Aug-05 5:34
HumanOsc1-Aug-05 5:34 
GeneralRe: WTL Text Printing Pin
HumanOsc1-Aug-05 22:07
HumanOsc1-Aug-05 22:07 
GeneralTell me more about discount offer. Pin
AlisiaWillimans29-Jul-05 19:15
AlisiaWillimans29-Jul-05 19:15 
GeneralRe: Tell me more about discount offer. Pin
toxcct6-Aug-05 23:31
toxcct6-Aug-05 23:31 
Generalfirewall settings Pin
Murat AKA27-Jul-05 11:52
Murat AKA27-Jul-05 11:52 
GeneralOutlook 2003 COM AddIn Pin
civilwar27-Jul-05 3:59
civilwar27-Jul-05 3:59 
GeneralRe: Outlook 2003 COM AddIn Pin
Anonymous4-Aug-05 0:20
Anonymous4-Aug-05 0:20 
Generalcan't save new ATL ActiveX control on VB6 form page Pin
Amos.A27-Jul-05 3:54
Amos.A27-Jul-05 3:54 
GeneralWTL Multi Viewports OpenGL Pin
Aggressor25-Jul-05 23:10
Aggressor25-Jul-05 23:10 
Generalstring in switch case Pin
itkid25-Jul-05 22:56
itkid25-Jul-05 22:56 
GeneralRe: string in switch case Pin
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX26-Jul-05 0:50
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX26-Jul-05 0:50 

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.