Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Problem showing MFC dialog from extern DLL Pin
David Crow7-Sep-06 3:05
David Crow7-Sep-06 3:05 
AnswerRe: Problem showing MFC dialog from extern DLL Pin
StjepanVukadin7-Sep-06 3:45
StjepanVukadin7-Sep-06 3:45 
GeneralRe: Problem showing MFC dialog from extern DLL Pin
David Crow7-Sep-06 5:32
David Crow7-Sep-06 5:32 
AnswerRe: Problem showing MFC dialog from extern DLL Pin
Renjith Ramachandran7-Sep-06 3:51
Renjith Ramachandran7-Sep-06 3:51 
AnswerRe: Problem showing MFC dialog from extern DLL Pin
StjepanVukadin7-Sep-06 3:55
StjepanVukadin7-Sep-06 3:55 
QuestionRe: Problem showing MFC dialog from extern DLL Pin
prasad_som7-Sep-06 19:16
prasad_som7-Sep-06 19:16 
AnswerRe: Problem showing MFC dialog from extern DLL Pin
StjepanVukadin7-Sep-06 21:21
StjepanVukadin7-Sep-06 21:21 
GeneralRe: Problem showing MFC dialog from extern DLL Pin
prasad_som7-Sep-06 22:44
prasad_som7-Sep-06 22:44 
I'm not sure, but problem may be resource handle.
Can you try this,
Use this code before invoking ImportFile function.
HINSTANCE hResInstCurrApp=AfxGetResourceHandle(); 
HINSTANCE m_hInstResDLL = LoadLibrary("dllHavingDialog.dll"));
if (hInstResDLL )
{
  //set resource handle to this dll
  AfxSetResourceHandle( hInstResDLL ); 
  //call you function
   AfxSetResourceHandle( hResInstCurrApp); 

//call freelibaray

}
else
{
  //failed to load dll.
}



GeneralRe: Problem showing MFC dialog from extern DLL Pin
StjepanVukadin8-Sep-06 23:25
StjepanVukadin8-Sep-06 23:25 
QuestionProblem with MemDC on W2K Pin
AnTri7-Sep-06 1:55
AnTri7-Sep-06 1:55 
AnswerRe: Problem with MemDC on W2K Pin
JWood7-Sep-06 3:50
JWood7-Sep-06 3:50 
Questionhow to add networking? Pin
Noor Akhter7-Sep-06 1:54
Noor Akhter7-Sep-06 1:54 
AnswerRe: how to add networking? Pin
Programm3r7-Sep-06 1:57
Programm3r7-Sep-06 1:57 
QuestionHow can v increase the speed of game having textures? Pin
Noor Akhter7-Sep-06 1:50
Noor Akhter7-Sep-06 1:50 
AnswerRe: How can v increase the speed of game having textures? Pin
toxcct7-Sep-06 2:20
toxcct7-Sep-06 2:20 
QuestionGrab sound/audio Pin
torbjornweiland7-Sep-06 1:44
torbjornweiland7-Sep-06 1:44 
Questionwriting data to a file on the FTP server. Pin
vijay_aroli7-Sep-06 1:41
vijay_aroli7-Sep-06 1:41 
AnswerRe: writing data to a file on the FTP server. Pin
Programm3r7-Sep-06 1:55
Programm3r7-Sep-06 1:55 
QuestionRe: writing data to a file on the FTP server. Pin
David Crow7-Sep-06 3:11
David Crow7-Sep-06 3:11 
Questionstrtok() argument Pin
Max++7-Sep-06 1:29
Max++7-Sep-06 1:29 
AnswerRe: strtok() argument Pin
Rinu_Raj7-Sep-06 1:32
Rinu_Raj7-Sep-06 1:32 
AnswerRe: strtok() argument Pin
Programm3r7-Sep-06 1:35
Programm3r7-Sep-06 1:35 
AnswerRe: strtok() argument Pin
toxcct7-Sep-06 2:19
toxcct7-Sep-06 2:19 
GeneralRe: strtok() argument Pin
Max++7-Sep-06 2:25
Max++7-Sep-06 2:25 
GeneralRe: strtok() argument Pin
toxcct7-Sep-06 2:32
toxcct7-Sep-06 2:32 

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.