|
-
August 28th, 2003, 07:41 AM
#1
problems with calling DLL
hello,
Visual C++ .NET
I have a problem with calling my dll from other file. I use static linking, I can obtain .dll and .lib file, .lib file is included to project. When I debbug my calling file, I can see that my .dll is not loaded to project.
I use command:
extern "C" __declspec(dllimport)void myfun(int& Ck)
What is wrong? For what should I pay attention ?
How can I check in Visual C++ .NET - how dll function is exported?
-
August 28th, 2003, 10:50 AM
#2
One solution is dllexport.
extern "C" __declspec(dllexport) void myfun(int& Ck);
Here is one tutorial to basic DLL.
http://www.flipcode.com/tutorials/tut_dll01.shtml
Kuphryn
-
August 28th, 2003, 12:01 PM
#3
Can you include the project.
Regards,
Ramkrishna Pawar
-
August 28th, 2003, 01:59 PM
#4
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
|