Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Api
Message
 
À
31/05/2002 14:27:08
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Re: Api
Divers
Thread ID:
00663590
Message ID:
00664030
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform