Click here to Skip to main content
16,010,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Clearing a CRichTextCtrl? Not in XP... Pin
James R. Twine10-May-02 10:30
James R. Twine10-May-02 10:30 
GeneralRe: Clearing a CRichTextCtrl? Not in XP... Pin
generic_user_id13-May-02 3:47
generic_user_id13-May-02 3:47 
GeneralRe: Clearing a CRichTextCtrl? Not in XP... Pin
James R. Twine13-May-02 5:25
James R. Twine13-May-02 5:25 
GeneralCStatusBar: Status Bar refresh problem Pin
9-May-02 9:24
suss9-May-02 9:24 
GeneralOpen with dialog Pin
User 98859-May-02 9:18
User 98859-May-02 9:18 
GeneralRe: Open with dialog Pin
Dan Madden9-May-02 9:15
Dan Madden9-May-02 9:15 
GeneralRe: Open with dialog Pin
Joaquín M López Muñoz9-May-02 9:23
Joaquín M López Muñoz9-May-02 9:23 
GeneralERROR: (COM) when compiling with MIDL... Pin
9-May-02 9:10
suss9-May-02 9:10 
Hi All,

I have a dll that works great in VB/ASP, but when I created an .idl file, I get an error when compiling:

.\test.idl(31) : error MIDL2025 : syntax error : expecting a type specification near "<"
.\test.idl(31) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

below is where it is happening:

NOTE: On the following line, I had to put quotes in the code so you could see the code because it looked like a TAG in HTML...("<"GetRefTypeInfo failed">"**)

HRESULT GetItem([in, out] VARIANT* Server,
[in, out] VARIANT* Category,
[in, out] VARIANT* CType,
[out, retval] ("<"GetRefTypeInfo failed">"** );

The idl file was generated by OLE View (cut/paste) to test.idl and compiled with "C:>MIDL test.idl /h test.h"

Can anyone tell me why this is giving this error

Confused | :confused:

Regards,

Dan
GeneralRe: ERROR: (COM) when compiling with MIDL... Pin
Vivek Rajan10-May-02 10:35
Vivek Rajan10-May-02 10:35 
GeneralRe: ERROR: (COM) when compiling with MIDL... Pin
Dan Madden11-May-02 10:19
Dan Madden11-May-02 10:19 
GeneralError in OOP call Pin
pjb7899-May-02 8:57
pjb7899-May-02 8:57 
GeneralRe: Error in OOP call Pin
Joaquín M López Muñoz9-May-02 9:08
Joaquín M López Muñoz9-May-02 9:08 
GeneralRe: Error in OOP call Pin
pjb78910-May-02 5:58
pjb78910-May-02 5:58 
QuestionHow would i got about deleting the last 128 bytes in a file? Pin
redeemer9-May-02 8:13
redeemer9-May-02 8:13 
AnswerRe: How would i got about deleting the last 128 bytes in a file? Pin
Tim Smith9-May-02 8:27
Tim Smith9-May-02 8:27 
AnswerRe: How would i got about deleting the last 128 bytes in a file? Pin
James R. Twine9-May-02 10:23
James R. Twine9-May-02 10:23 
GeneralRe: How would i got about deleting the last 128 bytes in a file? Pin
Peter Liddle9-May-02 11:10
Peter Liddle9-May-02 11:10 
GeneralRe: How would i got about deleting the last 128 bytes in a file? Pin
James R. Twine10-May-02 10:32
James R. Twine10-May-02 10:32 
GeneralChange the caption in PropertyPage Pin
Eugene Pustovoyt9-May-02 7:43
Eugene Pustovoyt9-May-02 7:43 
GeneralRe: Change the caption in PropertyPage Pin
Jason Hooper9-May-02 9:00
Jason Hooper9-May-02 9:00 
GeneralRe: Change the caption in PropertyPage Pin
Eugene Pustovoyt9-May-02 9:23
Eugene Pustovoyt9-May-02 9:23 
GeneralRe: Change the caption in PropertyPage Pin
Tom Archer9-May-02 10:11
Tom Archer9-May-02 10:11 
GeneralRe: Change the caption in PropertyPage Pin
Eugene Pustovoyt9-May-02 17:02
Eugene Pustovoyt9-May-02 17:02 
Generalsort my tree item Pin
pnpfriend9-May-02 7:22
pnpfriend9-May-02 7:22 
GeneralRe: sort my tree item Pin
Joaquín M López Muñoz9-May-02 9:38
Joaquín M López Muñoz9-May-02 9:38 

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.