Click here to Skip to main content
15,921,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multidimensional CArray? Pin
Christian Graus26-Nov-02 14:45
protectorChristian Graus26-Nov-02 14:45 
GeneralRe: Multidimensional CArray? (innocent question) Pin
Gary R. Wheeler26-Nov-02 14:52
Gary R. Wheeler26-Nov-02 14:52 
GeneralRe: Multidimensional CArray? (innocent question) Pin
Christian Graus26-Nov-02 15:35
protectorChristian Graus26-Nov-02 15:35 
GeneralRe: Multidimensional CArray? (innocent question) Pin
Gary R. Wheeler29-Nov-02 2:39
Gary R. Wheeler29-Nov-02 2:39 
GeneralConvert CIPAddressCtrl to Cstring/DWord Pin
ydasari26-Nov-02 12:52
ydasari26-Nov-02 12:52 
GeneralLoading .LIB file and .DLL into MFC App. Pin
E326-Nov-02 10:51
E326-Nov-02 10:51 
GeneralRe: Loading .LIB file and .DLL into MFC App. Pin
perlmunger26-Nov-02 12:16
perlmunger26-Nov-02 12:16 
GeneralRe: Loading .LIB file and .DLL into MFC App. Pin
E326-Nov-02 14:10
E326-Nov-02 14:10 
What i mean i create the wrapper for the DLL file I do have the code for that DLL file and the code is writin in C/Win32. Now i want to use this code in the MFC app with the MDI style so where CView it would display that object.

Now i think think this is how i load the dll at run time

HINSTANCE m_hInstDLL;
if ((m_hInstDLL = LoadLibrary("name.dll")) == NULL)
{
return FALSE; // Failed to load the localized resources.
}
else
{
AfxSetResourceHandle(m_hInstDLL);
// Get resources from the DLL.
}

Now after loading the DLL how do i use these function for the DLL? what else to i have to declare that where the wrapper come in. I want to have a class that controls all this functions. where abouts do i start. I hope you known what i'm trying to say.

Then main think is that i want to display the control in CView window or is it called CDocument window...but you known what i'm taking about here.

Thanks for the help Matt
GeneralRe: Loading .LIB file and .DLL into MFC App. Pin
Roman Fadeyev26-Nov-02 19:33
Roman Fadeyev26-Nov-02 19:33 
GeneralHelp! determine if ADO Field is PK or FK Pin
devvvy26-Nov-02 10:34
devvvy26-Nov-02 10:34 
GeneralConverting C++ files to Visual C++ files Pin
Jennic26-Nov-02 8:26
Jennic26-Nov-02 8:26 
GeneralRe: Converting C++ files to Visual C++ files Pin
Paul M Watt26-Nov-02 9:12
mentorPaul M Watt26-Nov-02 9:12 
GeneralRe: Converting C++ files to Visual C++ files Pin
perlmunger26-Nov-02 12:08
perlmunger26-Nov-02 12:08 
GeneralRe: Converting C++ files to Visual C++ files Pin
valikac26-Nov-02 15:37
valikac26-Nov-02 15:37 
QuestionProgramable State Machine, XML? Pin
Jawache26-Nov-02 6:35
Jawache26-Nov-02 6:35 
AnswerRe: Programable State Machine, XML? Pin
RedZenBird26-Nov-02 6:46
RedZenBird26-Nov-02 6:46 
Generala little lost with MainFrame Pin
NickOne26-Nov-02 6:32
NickOne26-Nov-02 6:32 
GeneralDrawing line conneting two dialogs Pin
Crercio O. Silva26-Nov-02 6:25
Crercio O. Silva26-Nov-02 6:25 
GeneralRe: Drawing line conneting two dialogs Pin
Nick Parker26-Nov-02 6:33
protectorNick Parker26-Nov-02 6:33 
GeneralRe: Drawing line conneting two dialogs Pin
Crercio O. Silva26-Nov-02 13:08
Crercio O. Silva26-Nov-02 13:08 
GeneralRe: Drawing line conneting two dialogs Pin
Nick Parker26-Nov-02 17:06
protectorNick Parker26-Nov-02 17:06 
GeneralRe: Drawing line conneting two dialogs Pin
Scott H. Settlemier26-Nov-02 7:03
Scott H. Settlemier26-Nov-02 7:03 
GeneralRe: Drawing line conneting two dialogs Pin
Crercio O. Silva26-Nov-02 13:05
Crercio O. Silva26-Nov-02 13:05 
GeneralRe: Drawing line conneting two dialogs Pin
Maximilien26-Nov-02 7:46
Maximilien26-Nov-02 7:46 
GeneralRe: Drawing line conneting two dialogs Pin
Crercio O. Silva26-Nov-02 13:03
Crercio O. Silva26-Nov-02 13:03 

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.