Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to Create CSV file from MS Office files and vis-a-versa? Pin
David Crow20-Jan-06 3:14
David Crow20-Jan-06 3:14 
GeneralRe: How to Create CSV file from MS Office files and vis-a-versa? Pin
S Douglas20-Jan-06 4:00
professionalS Douglas20-Jan-06 4:00 
QuestionUnable to find an entry point when loading an unmanaged DLL Pin
Jordan C. Atlas19-Jan-06 17:39
Jordan C. Atlas19-Jan-06 17:39 
AnswerRe: Unable to find an entry point when loading an unmanaged DLL Pin
Stephen Hewitt19-Jan-06 17:58
Stephen Hewitt19-Jan-06 17:58 
GeneralRe: Unable to find an entry point when loading an unmanaged DLL Pin
Jordan C. Atlas19-Jan-06 18:03
Jordan C. Atlas19-Jan-06 18:03 
GeneralRe: Unable to find an entry point when loading an unmanaged DLL Pin
Stephen Hewitt19-Jan-06 18:05
Stephen Hewitt19-Jan-06 18:05 
GeneralRe: Unable to find an entry point when loading an unmanaged DLL Pin
Jordan C. Atlas19-Jan-06 18:14
Jordan C. Atlas19-Jan-06 18:14 
AnswerRe: Unable to find an entry point when loading an unmanaged DLL Pin
Jordan C. Atlas19-Jan-06 18:11
Jordan C. Atlas19-Jan-06 18:11 
I found the problem -- I was using an improper function prototype for the shared function. I reset the import to say:

// Set up the import<br />
[DllImportAttribute("lib.dll")] <br />
extern "C" int function();


I'm not sure why the extern "C" is necessary, so here is a link to the article that tipped me off:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingprototypesinmanagedcode.asp[^]

Thanks again to Stephen for his suggestion.

--Jordan
QuestionNT Services Pin
udaybhaskar_nori19-Jan-06 17:18
udaybhaskar_nori19-Jan-06 17:18 
AnswerRe: NT Services Pin
ThatsAlok19-Jan-06 17:48
ThatsAlok19-Jan-06 17:48 
GeneralRe: NT Services Pin
udaybhaskar_nori19-Jan-06 17:52
udaybhaskar_nori19-Jan-06 17:52 
GeneralRe: NT Services Pin
Prakash Nadar19-Jan-06 17:57
Prakash Nadar19-Jan-06 17:57 
General[Message Deleted] Pin
kakan19-Jan-06 19:44
professionalkakan19-Jan-06 19:44 
GeneralRe: NT Services Pin
ThatsAlok19-Jan-06 21:05
ThatsAlok19-Jan-06 21:05 
GeneralRe: NT Services Pin
ThatsAlok19-Jan-06 21:11
ThatsAlok19-Jan-06 21:11 
GeneralRe: NT Services Pin
udaybhaskar_nori20-Jan-06 0:26
udaybhaskar_nori20-Jan-06 0:26 
GeneralRe: NT Services Pin
ThatsAlok20-Jan-06 0:41
ThatsAlok20-Jan-06 0:41 
QuestionQuestion about MFC ActiveX Control Function Pin
godspeed12319-Jan-06 17:11
godspeed12319-Jan-06 17:11 
Questionbuild project with chosen icon Pin
leenmie19-Jan-06 15:54
leenmie19-Jan-06 15:54 
AnswerRe: build project with chosen icon Pin
Ryan Binns19-Jan-06 17:23
Ryan Binns19-Jan-06 17:23 
AnswerRe: build project with chosen icon Pin
Rajesh R Subramanian19-Jan-06 17:50
professionalRajesh R Subramanian19-Jan-06 17:50 
GeneralRe: build project with chosen icon Pin
leenmie19-Jan-06 22:10
leenmie19-Jan-06 22:10 
GeneralRe: build project with chosen icon Pin
Shraddhan22-Jan-06 17:49
Shraddhan22-Jan-06 17:49 
Questiondefine macro Pin
ILoveCS19-Jan-06 14:19
ILoveCS19-Jan-06 14:19 
AnswerRe: define macro Pin
Ryan Binns19-Jan-06 17:24
Ryan Binns19-Jan-06 17:24 

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.