Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalafxwin.h Pin
specialhaha23-Mar-08 22:22
specialhaha23-Mar-08 22:22 
QuestionRe: afxwin.h Pin
CPallini23-Mar-08 22:44
mveCPallini23-Mar-08 22:44 
GeneralRe: afxwin.h Pin
specialhaha23-Mar-08 22:46
specialhaha23-Mar-08 22:46 
GeneralRe: afxwin.h Pin
David Crow24-Mar-08 4:11
David Crow24-Mar-08 4:11 
AnswerRe: afxwin.h Pin
Paresh Chitte23-Mar-08 23:22
Paresh Chitte23-Mar-08 23:22 
Question"Spin Control" and disable left and right arrows separately Pin
Dmytro Skrypnyk23-Mar-08 21:48
Dmytro Skrypnyk23-Mar-08 21:48 
GeneralRe: "Spin Control" and disable left and right arrows separately Pin
rp_suman24-Mar-08 1:04
rp_suman24-Mar-08 1:04 
GeneralUsing DLL file in own code Pin
r0wdy23-Mar-08 20:20
r0wdy23-Mar-08 20:20 
Hi
I am new to windows and vs programming.

A supplier has provided 3 files written using vc++ 2008. Files include a c++ header file, a library file and a DLL file for use with an API the suppliers system.

I want to experiment with this API but cannot work out how to use the functions that are part of the DLL. The functions are explaned in the header(.h) file.

I placed all 3 files in my new projects solutions directory and added the .h file as part of my c++ solutions header files along with Form1.h, resource.h and stdfx.h files.

I'm not sure what to do with the library(.lib) file or where to put any of the files really. I assume some how I have to attach or link the DLL file to my solution so that the header definintions mean something.

The header file also contains the following define.
// DLL Export/Import define
//
// This define makes it possible to use the SystemAPI.h file in both the DLL
// and Main Application solutions.
// The SYSTEMDLL_EXPORTS is defined in the DLL source code and should NOT be
// defined in the Main Application!

#ifdef SYSTEMDLL_EXPORTS
#define SYSTEMDLL_API extern "C" __declspec(dllexport)
#else
#define SYSTEMDLL_API extern "C" __declspec(dllimport)
#endif

Can anyone help out with this?

Thanks in advance for any help. Big Grin | :-D
GeneralRe: Using DLL file in own code Pin
CPallini23-Mar-08 22:40
mveCPallini23-Mar-08 22:40 
GeneralCall constructor Pin
George_George23-Mar-08 20:09
George_George23-Mar-08 20:09 
GeneralRe: Call constructor Pin
fefe.wyx23-Mar-08 20:16
fefe.wyx23-Mar-08 20:16 
GeneralRe: Call constructor Pin
George_George23-Mar-08 20:27
George_George23-Mar-08 20:27 
GeneralRe: Call constructor Pin
Nemanja Trifunovic24-Mar-08 4:53
Nemanja Trifunovic24-Mar-08 4:53 
GeneralRe: Call constructor Pin
George_George24-Mar-08 19:02
George_George24-Mar-08 19:02 
GeneralRe: Call constructor Pin
Nemanja Trifunovic25-Mar-08 4:56
Nemanja Trifunovic25-Mar-08 4:56 
GeneralRe: Call constructor Pin
George_George25-Mar-08 5:02
George_George25-Mar-08 5:02 
GeneralVC++, in Wizard mode property sheet in WindowsNT Pin
Ratheesh Chandran C S 23-Mar-08 19:21
Ratheesh Chandran C S 23-Mar-08 19:21 
GeneralRe: VC++, in Wizard mode property sheet in WindowsNT Pin
rp_suman24-Mar-08 1:12
rp_suman24-Mar-08 1:12 
Questionwhat's wrong with my code(CComboBoxEx control) Pin
fantasy121523-Mar-08 17:14
fantasy121523-Mar-08 17:14 
GeneralRe: what's wrong with my code(CComboBoxEx control) Pin
Steve Echols23-Mar-08 17:32
Steve Echols23-Mar-08 17:32 
QuestionRe: what's wrong with my code(CComboBoxEx control) [modified] Pin
fantasy121523-Mar-08 19:44
fantasy121523-Mar-08 19:44 
GeneralRe: what's wrong with my code(CComboBoxEx control) Pin
David Crow24-Mar-08 4:36
David Crow24-Mar-08 4:36 
Questionhow to resolve soch problem about xor? Pin
kcynic23-Mar-08 16:10
kcynic23-Mar-08 16:10 
AnswerRe: how to resolve soch problem about xor? Pin
Steve Echols23-Mar-08 17:24
Steve Echols23-Mar-08 17:24 
GeneralRe: how to resolve soch problem about xor? Pin
kcynic23-Mar-08 17:27
kcynic23-Mar-08 17:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.