Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem getting element from CDHtmlDialog when loading the HTML from a file using Navigate() Pin
electric_one200130-Mar-09 6:40
electric_one200130-Mar-09 6:40 
AnswerRe: Problem getting element from CDHtmlDialog when loading the HTML from a file using Navigate() Pin
jerryworm14-Nov-09 22:47
jerryworm14-Nov-09 22:47 
QuestionImages in Dll Pin
kiranin29-Mar-09 21:33
kiranin29-Mar-09 21:33 
AnswerRe: Images in Dll [modified] Pin
Stuart Dootson29-Mar-09 22:12
professionalStuart Dootson29-Mar-09 22:12 
GeneralRe: Images in Dll Pin
kiranin30-Mar-09 1:51
kiranin30-Mar-09 1:51 
GeneralRe: Images in Dll Pin
Stuart Dootson30-Mar-09 1:56
professionalStuart Dootson30-Mar-09 1:56 
GeneralRe: Images in Dll Pin
kiranin30-Mar-09 1:59
kiranin30-Mar-09 1:59 
GeneralRe: Images in Dll Pin
Stuart Dootson30-Mar-09 2:03
professionalStuart Dootson30-Mar-09 2:03 
When you build the DLL, embed the jpeg files in the DLL's resources, as I described before.

In your executable, call LoadLibrary for the external DLL containing the image files. That'll return the HMODULE you need to pass into the LoadFileFromResource function I gave you the source for.

Then you can load the image files from the DLL as desired.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Images in Dll Pin
kiranin4-Apr-09 1:18
kiranin4-Apr-09 1:18 
GeneralRe: Images in Dll Pin
Stuart Dootson4-Apr-09 2:38
professionalStuart Dootson4-Apr-09 2:38 
GeneralRe: Images in Dll [modified] Pin
kiranin4-Apr-09 2:53
kiranin4-Apr-09 2:53 
GeneralRe: Images in Dll Pin
Stuart Dootson4-Apr-09 8:51
professionalStuart Dootson4-Apr-09 8:51 
QuestionProblem while setting text to a control using WM_SETTEXT with SendMessage API Pin
PankajB29-Mar-09 21:30
PankajB29-Mar-09 21:30 
AnswerRe: Problem while setting text to a control using WM_SETTEXT with SendMessage API Pin
CPallini29-Mar-09 21:38
mveCPallini29-Mar-09 21:38 
GeneralRe: Problem while setting text to a control using WM_SETTEXT with SendMessage API Pin
safeer vengasseri20-Aug-09 5:14
safeer vengasseri20-Aug-09 5:14 
Questionproblem with debug mode Pin
kir_MFC29-Mar-09 20:42
kir_MFC29-Mar-09 20:42 
QuestionCOM port number identification Pin
AnayKulkarni29-Mar-09 19:58
AnayKulkarni29-Mar-09 19:58 
AnswerRe: COM port number identification Pin
«_Superman_»29-Mar-09 20:59
professional«_Superman_»29-Mar-09 20:59 
AnswerRe: COM port number identification Pin
Jonathan Davies30-Mar-09 3:54
Jonathan Davies30-Mar-09 3:54 
Question[Message Deleted] Pin
Purish Dwivedi29-Mar-09 19:08
Purish Dwivedi29-Mar-09 19:08 
AnswerRe: how to conditionally select a DLL on detecting a language pack? Pin
CPallini29-Mar-09 21:32
mveCPallini29-Mar-09 21:32 
General[Message Deleted] Pin
Purish Dwivedi29-Mar-09 22:52
Purish Dwivedi29-Mar-09 22:52 
GeneralRe: how to conditionally select a DLL on detecting a language pack? Pin
Randor 30-Mar-09 2:34
professional Randor 30-Mar-09 2:34 
QuestionShould an application to have a central error handling model? Pin
xiaolin.lan29-Mar-09 17:06
xiaolin.lan29-Mar-09 17:06 
AnswerRe: Should an application to have a central error handling model? Pin
N a v a n e e t h29-Mar-09 17:24
N a v a n e e t h29-Mar-09 17:24 

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.