Click here to Skip to main content
16,011,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Small question about MFC\DIALOG Pin
Christian Graus19-Jan-01 23:09
protectorChristian Graus19-Jan-01 23:09 
QuestionDuplicate entries inside my std::map. Why? Pin
Alvaro Mendez19-Jan-01 10:48
Alvaro Mendez19-Jan-01 10:48 
AnswerRe: Duplicate entries inside my std::map. Why? Pin
Chris Losinger19-Jan-01 11:35
professionalChris Losinger19-Jan-01 11:35 
GeneralRe: Duplicate entries inside my std::map. Why? Pin
Alvaro Mendez22-Jan-01 5:54
Alvaro Mendez22-Jan-01 5:54 
GeneralRe: Duplicate entries inside my std::map. Why? Pin
Alvaro Mendez22-Jan-01 8:16
Alvaro Mendez22-Jan-01 8:16 
GeneralRe: Duplicate entries inside my std::map. Why? Pin
Chris Losinger22-Jan-01 7:58
professionalChris Losinger22-Jan-01 7:58 
GeneralRe: Duplicate entries inside my std::map. Why? Pin
Alvaro Mendez22-Jan-01 7:10
Alvaro Mendez22-Jan-01 7:10 
GeneralOpen up a dialog resource from a DLL Pin
kk919-Jan-01 10:34
kk919-Jan-01 10:34 
Hi
Does anyone know how to open up a dialog resource from a DLL? I am using LoadLibrary to load DllA.dll which contains IDD_DIALOGA resource. Then find the resource handle by using FindResource and LoadResource functions. However, I don't know what to do with the return value from LoadResource. Does anyone know if there is a way to open up IDD_DIALOGA resource from that handle in the client application?

VERIFY(hModule = ::LoadLibrary("DllA.dll"));
HRSRC hDialogA = ::FindResource(hModule, "#7000", RT_DIALOG);
LPVOID lpvResource = (LPVOID) ::LoadResource(hModule, hDialogA);

Thanks alot for your time!

kk9




GeneralRe: Open up a dialog resource from a DLL Pin
David Fedolfi19-Jan-01 10:48
David Fedolfi19-Jan-01 10:48 
GeneralActivate window in Win2000 Pin
Mike Melnikov19-Jan-01 3:36
Mike Melnikov19-Jan-01 3:36 
GeneralRe: Activate window in Win2000 Pin
AlexMarbus19-Jan-01 7:17
AlexMarbus19-Jan-01 7:17 
GeneralI've found another solution Pin
Mike Melnikov23-Jan-01 1:12
Mike Melnikov23-Jan-01 1:12 
GeneralRe: Activate window in Win2000 Pin
Michael Dunn19-Jan-01 14:34
sitebuilderMichael Dunn19-Jan-01 14:34 
GeneralI've found another solution Pin
Mike Melnikov23-Jan-01 1:15
Mike Melnikov23-Jan-01 1:15 
GeneralMember initialization Pin
Suha Aktan19-Jan-01 2:46
Suha Aktan19-Jan-01 2:46 
GeneralRe: Member initialization Pin
David Fedolfi19-Jan-01 3:32
David Fedolfi19-Jan-01 3:32 
GeneralRe: Member initialization Pin
David Fedolfi19-Jan-01 3:38
David Fedolfi19-Jan-01 3:38 
Generalshare folder Pin
derhackler19-Jan-01 1:51
derhackler19-Jan-01 1:51 
GeneralRe: share folder Pin
Ghazi H. Wadi19-Jan-01 4:27
Ghazi H. Wadi19-Jan-01 4:27 
GeneralRe: share folder Pin
derhackler19-Jan-01 5:15
derhackler19-Jan-01 5:15 
GeneralRe: share folder Pin
Ghazi H. Wadi19-Jan-01 7:18
Ghazi H. Wadi19-Jan-01 7:18 
GeneralRe: share folder Pin
derhackler19-Jan-01 11:19
derhackler19-Jan-01 11:19 
GeneralRe: share folder Pin
Ghazi H. Wadi23-Jan-01 9:27
Ghazi H. Wadi23-Jan-01 9:27 
GeneralRe: share folder Pin
Ghazi H. Wadi23-Jan-01 9:43
Ghazi H. Wadi23-Jan-01 9:43 
GeneralRe: share folder Pin
derhackler23-Jan-01 11:26
derhackler23-Jan-01 11:26 

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.