Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Entry Point
Message
De
05/05/1999 23:09:27
 
 
À
03/05/1999 18:26:25
Information générale
Forum:
Visual C++
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00212410
Message ID:
00215605
Vues:
18
Exporting your functions from code (not using a def file) also allows other languages to access the dll functions.

In fact, there's no differences from the outside. The difference is that if you do it in code, you can see "in place" if a function is exported or not, while a def file has the advantage of grouping all functions in a single place. Persoanlly, I prefer exporting them from code because I can use other tools to see at a glance what functions are exported. The def file also has the disadvantage of having one more place to modify when changing functions and this can be a one more source of problems during development.

Vlad

>Another way to do this is to create an *.def file which specifies the exportable functions. This method also alows the dll to be used by "alian" platforms such as VB and VFP. I'm not sure about the internal #ifdef.
>
>Regards,
>
>Jason
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform