Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ DLL help
Message
 
 
À
19/08/2008 15:07:15
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01340071
Message ID:
01340275
Vues:
13
Hi Jim,

Those instractions are for C++ not VFP.

>
>I have been given a C++ DLL to interface with and I am totally lost. The DLL is a MFC extension DLL using MFC as shared. The documentation first says that I need to do some setup as follows:
>In stdafx.h, place the following two lines of code:
> #include “mk4.h”
> #include “mk4str.h”
> These go right before the line:
> #endif // _AFX_NO_AFXCMN_SUPPORT
>Additionally, the header file for the Sample Select DLL needs to be included in
>stdafx.h as follows:
> #include “SampleSelect.h”
> These header files can also be placed in the project directory.
> Under Projects—Settings—Link, include the DLL library under “Objects/Library Modules” as SampleSelectDLL.lib.
>
>This setup has something to do with a third-party program called MetaKit Version 2.4.0. I have VS .net C++ so I have no idea what or if I can make this work.
>
>Last, here is the directions on calling the DLL:
>
>To create an object of the DLL class, use the following line of code:
>class __declspec(dllimport) CSampleSelect oSampleSelect;
>
>Not sure how to do this?
>
>Thanks for the help
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform