Click here to Skip to main content
15,917,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to detect which object called the message Pin
Naveen3-Jul-07 23:31
Naveen3-Jul-07 23:31 
AnswerRe: How to detect which object called the message Pin
Rajkumar R3-Jul-07 23:40
Rajkumar R3-Jul-07 23:40 
GeneralRe: How to detect which object called the message Pin
chaitannya_m4-Jul-07 9:11
chaitannya_m4-Jul-07 9:11 
AnswerRe: How to detect which object called the message Pin
Rajkumar R4-Jul-07 19:01
Rajkumar R4-Jul-07 19:01 
QuestionCheck if app exists and open from internet Pin
Dimkov3-Jul-07 22:53
Dimkov3-Jul-07 22:53 
AnswerRe: Check if app exists and open from internet Pin
Pete O'Hanlon3-Jul-07 23:59
mvePete O'Hanlon3-Jul-07 23:59 
GeneralRe: Check if app exists and open from internet Pin
Dimkov4-Jul-07 0:11
Dimkov4-Jul-07 0:11 
Questionlink error while load dll explicitly Pin
Sivakumar R3-Jul-07 22:30
Sivakumar R3-Jul-07 22:30 
hi all
iam facing link error "unresolved externall symboll" while loading my dll explicitly, but it work i load implicitly, here i given the sample by which i tryed, and i defined all the virtual function in the derived class, which in the base class

#include "stdafx.h"
#include "windows.h"
int main(int argc, char* argv[])
{
typedef UINT (CALLBACK* LPFNDLLFUNC1)(DWORD,UINT);

HINSTANCE hDLL; // Handle to DLL
LPFNDLLFUNC1 lpfnDllFunc1; // Function pointer
UINT uParam2, uReturnVal;
DWORD dwParam1;

//HMODULE dll_module = LoadLibrary("./../TestDll/Debug/TestDll.dll");
hDLL = LoadLibrary("./../TestDll/Debug/TestDll.dll");

if (hDLL != NULL)
{
lpfnDllFunc1 = (LPFNDLLFUNC1)GetProcAddress(hDLL,
"MyAbsFunc1");
if (!lpfnDllFunc1)
{
// handle the error
FreeLibrary(hDLL);
return 0;
}
else
{
// call the function
uReturnVal = lpfnDllFunc1(dwParam1, uParam2);
}
}

return 0;
}

can any one help to solve this link error
AnswerRe: link error while load dll explicitly [modified] Pin
Naveen3-Jul-07 22:49
Naveen3-Jul-07 22:49 
AnswerRe: link error while load dll explicitly Pin
Mark Salsbery4-Jul-07 7:49
Mark Salsbery4-Jul-07 7:49 
QuestionHow to impliment Mutex Pin
VC_RYK3-Jul-07 22:20
VC_RYK3-Jul-07 22:20 
AnswerRe: How to impliment Mutex Pin
avo23-Jul-07 23:20
avo23-Jul-07 23:20 
AnswerCode Pin
avo23-Jul-07 23:53
avo23-Jul-07 23:53 
GeneralRe: Code Pin
VC_RYK4-Jul-07 0:01
VC_RYK4-Jul-07 0:01 
Questionvc++ in vista Pin
saisp3-Jul-07 20:54
saisp3-Jul-07 20:54 
AnswerRe: vc++ in vista Pin
KarstenK3-Jul-07 21:02
mveKarstenK3-Jul-07 21:02 
AnswerRe: vc++ in vista Pin
Stephen Hewitt3-Jul-07 21:04
Stephen Hewitt3-Jul-07 21:04 
GeneralRe: vc++ in vista Pin
KarstenK4-Jul-07 0:32
mveKarstenK4-Jul-07 0:32 
Questiondelete [] buffer Issue Pin
Programm3r3-Jul-07 20:52
Programm3r3-Jul-07 20:52 
AnswerRe: delete [] buffer Issue Pin
baerten3-Jul-07 20:59
baerten3-Jul-07 20:59 
GeneralRe: delete [] buffer Issue Pin
Programm3r3-Jul-07 21:04
Programm3r3-Jul-07 21:04 
QuestionFree a block of memory Pin
Programm3r3-Jul-07 21:52
Programm3r3-Jul-07 21:52 
AnswerRe: Free a block of memory Pin
Rajkumar R3-Jul-07 23:57
Rajkumar R3-Jul-07 23:57 
GeneralRe: Free a block of memory Pin
Programm3r4-Jul-07 0:59
Programm3r4-Jul-07 0:59 
AnswerRe: Free a block of memory Pin
KarstenK4-Jul-07 0:36
mveKarstenK4-Jul-07 0:36 

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.