Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Hell P2
Message
 
À
12/09/2000 17:14:42
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00415475
Message ID:
00415718
Vues:
14
>How would I do declared a function as exported?
>
Jim,

Mike's already told you one way, another is:
// In the header
#define DllExport __declspec( dllexport )
DllExport int SomeFunctionName(HWND hOwner, LPTSTR lpbuffer);
// The acutal function
DllExport int SomeFunctionName(HWND hOwner, LPTSTR lpbuffer)
{
  // Code here
}
Further, let me second Mike's recommendation on the book. Ivor Horton's "Beginning Visual C++..." (from Wrox Press) has gone through several version's. It's an excellent book.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform