Click here to Skip to main content
15,900,646 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionCreating Application through ATL Service Pin
Oldnavigator16-May-06 1:28
Oldnavigator16-May-06 1:28 
QuestionChild Windows Pin
HakunaMatada15-May-06 5:24
HakunaMatada15-May-06 5:24 
AnswerRe: Child Windows Pin
Steve S17-May-06 6:35
Steve S17-May-06 6:35 
QuestionSend email. Pin
HarishDixit15-May-06 3:47
HarishDixit15-May-06 3:47 
AnswerRe: Send email. Pin
Cedric Moonen15-May-06 4:32
Cedric Moonen15-May-06 4:32 
Questiondisplay a .txt file in visual studio through COM Add-in Pin
shankartenugu15-May-06 1:30
shankartenugu15-May-06 1:30 
AnswerRe: display a .txt file in visual studio through COM Add-in Pin
Laxman Auti17-May-06 3:33
Laxman Auti17-May-06 3:33 
QuestionHow to use structure in Method? Pin
Amar Sutar11-May-06 3:17
Amar Sutar11-May-06 3:17 
Hi All

I am writing a component using ATL.
One of the method from the component accept a pointer to a structure. This structure definition is in other header file.

[id(3), helpstring("method get_StreamMediaType")] HRESULT get_StreamMediaType([in,out] AM_MEDIA_TYPE* pVal);

AM_MEDIA_TYPE present in 'strmif.h' file.

When I am trying to compile the project it gives me error in IDL file as

.\DSMediaInfoServices.idl(24) : error MIDL2025 : syntax error : expecting a type specification near "AM_MEDIA_TYPE"

.\DSMediaInfoServices.idl(24) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

Thanks in Advance.Smile | :)
Amar

-- modified at 9:25 Thursday 11th May, 2006
AnswerRe: How to use structure in Method? Pin
Laxman Auti11-May-06 19:03
Laxman Auti11-May-06 19:03 
AnswerRe: Could I ask one question? Pin
heboy11-May-06 23:24
heboy11-May-06 23:24 
GeneralRe: Could I ask one question? Pin
toxcct12-May-06 0:57
toxcct12-May-06 0:57 
GeneralRe: Could I ask one question? Pin
ThatsAlok13-May-06 4:26
ThatsAlok13-May-06 4:26 
AnswerRe: How to use structure in Method? Pin
ThatsAlok13-May-06 4:27
ThatsAlok13-May-06 4:27 
AnswerRe: How to use structure in Method? Pin
Stone Free20-May-06 3:52
Stone Free20-May-06 3:52 
QuestionBuilding DLL's with WTL Pin
Defenestration10-May-06 14:39
Defenestration10-May-06 14:39 
AnswerRe: Building DLL's with WTL Pin
Justin Tay10-May-06 16:21
Justin Tay10-May-06 16:21 
GeneralRe: Building DLL's with WTL Pin
Defenestration10-May-06 17:37
Defenestration10-May-06 17:37 
AnswerRe: Building DLL's with WTL Pin
Michael Dunn11-May-06 6:16
sitebuilderMichael Dunn11-May-06 6:16 
QuestionATL and WTL versions Pin
HakunaMatada9-May-06 22:34
HakunaMatada9-May-06 22:34 
AnswerRe: ATL and WTL versions Pin
HakunaMatada9-May-06 23:56
HakunaMatada9-May-06 23:56 
AnswerRe: ATL and WTL versions Pin
Michael Dunn10-May-06 10:07
sitebuilderMichael Dunn10-May-06 10:07 
QuestionAtlAdvise with IE hangs Pin
rana749-May-06 20:39
rana749-May-06 20:39 
AnswerRe: AtlAdvise with IE hangs Pin
Stuart Dootson9-May-06 21:04
professionalStuart Dootson9-May-06 21:04 
GeneralRe: AtlAdvise with IE hangs Pin
Stephen Hewitt9-May-06 21:49
Stephen Hewitt9-May-06 21:49 
GeneralRe: AtlAdvise with IE hangs Pin
rana749-May-06 21:56
rana749-May-06 21:56 

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.