Click here to Skip to main content
16,005,552 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PDF 417 barcode reader/printer Pin
Kene17-Nov-03 21:51
Kene17-Nov-03 21:51 
GeneralNeed help with DataGrid Component Pin
bilas17-Nov-03 4:05
bilas17-Nov-03 4:05 
GeneralRe: Need help with DataGrid Component Pin
Peter Molnar17-Nov-03 14:22
Peter Molnar17-Nov-03 14:22 
GeneralCasting IXMLDocument to VARIANT Pin
bariraniahmad17-Nov-03 3:43
bariraniahmad17-Nov-03 3:43 
GeneralRe: Casting IXMLDocument to VARIANT Pin
Michael Dunn17-Nov-03 4:35
sitebuilderMichael Dunn17-Nov-03 4:35 
GeneralRe: Casting IXMLDocument to VARIANT Pin
bariraniahmad19-Nov-03 3:50
bariraniahmad19-Nov-03 3:50 
GeneralRe: Casting IXMLDocument to VARIANT Pin
Michael Dunn19-Nov-03 11:40
sitebuilderMichael Dunn19-Nov-03 11:40 
QuestionCompiling an idl? Pin
Killen17-Nov-03 2:55
Killen17-Nov-03 2:55 
Hello!

I'm trying to use an ActiveX dll written in VB from my VC++ program.
After reading the article
http://www.codeproject.com/com/vb_from_vc.asp
I still have some problems.Frown | :(

I thought the compiler would generate error-free files for me to use!
In the project settings I have made the compiler create a h-file and a c-file when compiling the idl-file, which works just fine. Those files are included in my project, but then these errors occur when I try to build it.

1. In my generated c-file I get this error:
fatal error C1010: unexpected end of file while looking for precompiled header directive

2. I include my generated h-file in my dialog, but I get an error:
error C2061: syntax error : identifier '_sockdata'
The declaration in the h-file looks like this:
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendToServer(
/* [in] */ /* external definition not present */ _sockdata __RPC_FAR *MySesH) = 0;

Please, if you have any idea what I could do to solve the problem, give me a reply! Thanks!!



AnswerRe: Compiling an idl? Pin
Adam Gritt17-Nov-03 5:28
Adam Gritt17-Nov-03 5:28 
GeneralRe: Compiling an idl? Pin
Killen20-Nov-03 10:56
Killen20-Nov-03 10:56 
GeneralSocket creation at Windows 98 Pin
nurpinar17-Nov-03 2:20
nurpinar17-Nov-03 2:20 
GeneralRe: Socket creation at Windows 98 Pin
valikac17-Nov-03 5:44
valikac17-Nov-03 5:44 
GeneralRe: Socket creation at Windows 98 Pin
vcplusplus17-Nov-03 5:48
vcplusplus17-Nov-03 5:48 
GeneralCOleControl visiblity handler Pin
tango_bling17-Nov-03 2:12
tango_bling17-Nov-03 2:12 
GeneralRe: COleControl visiblity handler Pin
igor196017-Nov-03 10:25
igor196017-Nov-03 10:25 
GeneralRe: COleControl visiblity handler Pin
tango_bling17-Nov-03 22:45
tango_bling17-Nov-03 22:45 
GeneralRe: COleControl visiblity handler Pin
igor196018-Nov-03 6:37
igor196018-Nov-03 6:37 
GeneralLarge Files Pin
Andre123417-Nov-03 1:33
Andre123417-Nov-03 1:33 
GeneralRe: Large Files Pin
Ian Darling17-Nov-03 2:10
Ian Darling17-Nov-03 2:10 
GeneralRe: Large Files Pin
David Crow17-Nov-03 4:10
David Crow17-Nov-03 4:10 
GeneralRe: Large Files Pin
Andre123419-Nov-03 6:26
Andre123419-Nov-03 6:26 
GeneralRe: Large Files Pin
David Crow19-Nov-03 6:49
David Crow19-Nov-03 6:49 
GeneralRe: Large Files Pin
Vitali Halershtein17-Nov-03 4:42
Vitali Halershtein17-Nov-03 4:42 
GeneralRe: Large Files Pin
фил4-Dec-03 22:54
фил4-Dec-03 22:54 
QuestionHow to make a X-Y scatter chart look good? Pin
ChinaJoe17-Nov-03 0:08
ChinaJoe17-Nov-03 0:08 

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.