Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ DLL help
Message
De
20/08/2008 10:58:58
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:
01340381
Vues:
12
Hi Sergey,

You are correct. That is why I am soooo lost :).

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform