Click here to Skip to main content
15,917,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 23:24
professionalRage6-Jul-03 23:24 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 23:33
Ryan Binns6-Jul-03 23:33 
GeneralRe: screensaver problem Pin
JT Anderson8-Jul-03 12:22
JT Anderson8-Jul-03 12:22 
GeneralCheck is file is locked Pin
pranavamhari6-Jul-03 18:06
pranavamhari6-Jul-03 18:06 
GeneralRe: Check is file is locked Pin
Ravi Bhavnani6-Jul-03 18:43
professionalRavi Bhavnani6-Jul-03 18:43 
GeneralRe: Check is file is locked Pin
pranavamhari7-Jul-03 1:28
pranavamhari7-Jul-03 1:28 
GeneralRe: Check is file is locked Pin
David Crow7-Jul-03 2:50
David Crow7-Jul-03 2:50 
GeneralCalling a VB dll from C++ Pin
rajdawg6-Jul-03 12:48
rajdawg6-Jul-03 12:48 
I have followed the instructions for C. Lung's VERY helpful article from 1999 on calling a VB ActiveX Dll from c++. I have built my VB dll that I have (which has 24 classes and 1 .bas file), and I used the midl compiler to compile the .idl file that I made by copying the code crom OLE View, as the article instructs. Now that I have the .idl files and the .c files which correspond to my VB DLL loaded into my C++ project, I get the following error when I try to build (F7) my c++ project.
"fatal error C1010: unexpected end of file while looking for precompiled header directive". I cannot figure out the cause of this error.
The only thing I have done that was not mentioned in Lung's article is change some data type specifications in the idl file which were causing error messages from the midl compiler. I changed "Single" to "float" and, I replaced the name of a VB enum I had created with a "Long" data type.
Please advise, or ask more questions, if I have not provided enough info.
Thank you VERY much, in advance, for any help you can provide!
rajdawg - a.k.a. Roger
GeneralRe: Calling a VB dll from C++ Pin
Anders Molin6-Jul-03 13:50
professionalAnders Molin6-Jul-03 13:50 
QuestionRunning in debugger runtime detect? Pin
Brian Tietz6-Jul-03 11:55
Brian Tietz6-Jul-03 11:55 
AnswerRe: Running in debugger runtime detect? Pin
Dave Bryant6-Jul-03 12:09
Dave Bryant6-Jul-03 12:09 
AnswerRe: Running in debugger runtime detect? Pin
peterchen6-Jul-03 22:35
peterchen6-Jul-03 22:35 
GeneralOutlook Express Plug-ins Pin
Emilio Guijarro6-Jul-03 3:44
Emilio Guijarro6-Jul-03 3:44 
GeneralCString problem Pin
andyg.1016-Jul-03 3:01
andyg.1016-Jul-03 3:01 
GeneralRe: CString problem Pin
John M. Drescher6-Jul-03 3:05
John M. Drescher6-Jul-03 3:05 
GeneralRe: CString problem Pin
andyg.1016-Jul-03 4:01
andyg.1016-Jul-03 4:01 
GeneralRe: CString problem Pin
John M. Drescher6-Jul-03 4:15
John M. Drescher6-Jul-03 4:15 
GeneralRe: CString problem Pin
andyg.1016-Jul-03 4:20
andyg.1016-Jul-03 4:20 
GeneralRe: CString problem Pin
John M. Drescher6-Jul-03 4:24
John M. Drescher6-Jul-03 4:24 
GeneralRe: CString problem Pin
andyg.1016-Jul-03 4:36
andyg.1016-Jul-03 4:36 
GeneralRe: CString problem Pin
David Crow7-Jul-03 3:01
David Crow7-Jul-03 3:01 
GeneralRe: CString problem Pin
David Crow7-Jul-03 3:04
David Crow7-Jul-03 3:04 
Generalerror Incorrect Function Pin
andyg.1016-Jul-03 1:36
andyg.1016-Jul-03 1:36 
GeneralRe: error Incorrect Function Pin
andyg.1016-Jul-03 1:44
andyg.1016-Jul-03 1:44 
Questionhow to control networkcard in c/c++! Pin
jobillcai6-Jul-03 0:21
jobillcai6-Jul-03 0:21 

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.