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

C / C++ / MFC

 
GeneralRe: Steps in including lib file and dll built in unicode Pin
waxie19-Jan-06 18:16
waxie19-Jan-06 18:16 
GeneralRe: Steps in including lib file and dll built in unicode Pin
Owner drawn19-Jan-06 18:18
Owner drawn19-Jan-06 18:18 
AnswerRe: Steps in including lib file and dll built in unicode Pin
Aamir Butt19-Jan-06 23:36
Aamir Butt19-Jan-06 23:36 
QuestionHow to Create CSV file from MS Office files and vis-a-versa? Pin
Amarelia19-Jan-06 17:55
Amarelia19-Jan-06 17:55 
AnswerRe: How to Create CSV file from MS Office files and vis-a-versa? Pin
S Douglas19-Jan-06 21:23
professionalS Douglas19-Jan-06 21:23 
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 
Hello,

I have an unmanaged C++ dll that I would like to load in a managed C++ application. I can call methods in the dll from an *unmanaged* program with no issues.

I set up the import using:

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


The project is correctly set to find the libary files.

When I run the compiled program, it throws an execption at the line:

function();

The exception is:

An unhandled exception of type 'System.EntryPointNotFoundException' occurred in testManaged.exe<br />
<br />
Additional information: Unable to find an entry point named function in DLL lib.dll.


This error indicates that it cannot find the function in my libarary, but I know the function is there and accessible because I can access it from unmanged code. Is there something wrong with my import statement? Anything else?

Thanks,

--Jordan

-- modified at 23:40 Thursday 19th January, 2006
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 
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 

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.