Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Api
Message
 
To
31/05/2002 14:27:08
General information
Forum:
Visual C++
Category:
Other
Title:
Re: Api
Miscellaneous
Thread ID:
00663590
Message ID:
00664030
Views:
23
This message has been marked as the solution to the initial question of the thread.
>How can I build a DLL with Visual C++ 6.0 ?
>
>Where do I declare my functions when I use the Dynamic Linked Library Project ?

You can declare function with __declspec( dllexport ) modifier:
__declspec( dllexport ) void func();

Another way is to include function name into EXPORTS section of a module-definition (.DEF) file:
;MyDll.def : Declares the module parameters for the DLL.

LIBRARY      MYDLL
DESCRIPTION  'Some description'

EXPORTS
    MyFunction1 private
    MyFunction2 private
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform