|
-
May 11th, 2010, 10:52 AM
#1
Calling a C function
Hi! I have a static library where I have a function defined like:
EXPORT_API BOOL Function(...)
where I have:
#define EXPORT_API extern "C" __declspec( dllexport )
I'm writing a C++ class in which I would like to call this function. So, I linked the .lib file, and I defined:
extern "C" BOOL Function(...)
at the top of my source. Unfortunaly, I noticed it simply doesn't enter the function... and my method doesn't go on. No crash and the application is still working correctly. Any idea what I've done wrong?
Thanks guys!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|