Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Entry Point
Message
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00212410
Message ID:
00213299
Vues:
27
The function has to be declared:

__declspec(dllexport)

If the function should be usable from a language that knows only C linkage (not C++) as VFP requires, it also should be declared:

extern "C"

Vlad

>I have just started working on creating a simple DLL. The problem is that I work away and my books are at home!! Quite simply, what do I need to do to place an entry point for my function in a cpp to make it visible. I have used __declspec(external) but still can't get the entry point visible.
>
>I have a lot of C experience so just need a couple of lines. TIA,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform