|
-
May 10th, 1999, 08:54 AM
#1
How to create a DLL
Hi,
I want to put my functions myFunc1(), myFunc2(),... into a DLL.
I wrote the code for all of them in myfunc.c file, but I don't know how to create a myfunc.dll which should contain my functions.
Can you help me?
Thanks in advance.
Antonio.
_______
-
May 10th, 1999, 09:06 AM
#2
Re: How to create a DLL
from VC
File->New
Projects Tab
enter name for project
select MFC appwizard dll
OK
add your .c file to project
add this line to each function that you want exported
extern "C" __declspec( dllexport )
compile.
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
|