Information générale
Catégorie:
Produits tierce partie
Versions des environnements
Hi All,
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement