Click here to Skip to main content
15,881,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Empty array problem?! how to know if array empty or not? Pin
Jonathan [Darka]25-Oct-07 10:15
professionalJonathan [Darka]25-Oct-07 10:15 
AnswerRe: Empty array problem?! how to know if array empty or not? Pin
Mark Salsbery25-Oct-07 10:05
Mark Salsbery25-Oct-07 10:05 
GeneralRe: Empty array problem?! how to know if array empty or not? Pin
Gofur Halmurat25-Oct-07 10:09
Gofur Halmurat25-Oct-07 10:09 
AnswerRe: Empty array problem?! how to know if array empty or not? Pin
S_Murali25-Oct-07 20:12
S_Murali25-Oct-07 20:12 
QuestionLoad a resource script Pin
Demian Panello25-Oct-07 7:50
Demian Panello25-Oct-07 7:50 
AnswerRe: Load a resource script Pin
Mattias G25-Oct-07 8:39
Mattias G25-Oct-07 8:39 
GeneralRe: Load a resource script Pin
Demian Panello25-Oct-07 9:13
Demian Panello25-Oct-07 9:13 
GeneralRe: Load a resource script Pin
Mattias G25-Oct-07 10:12
Mattias G25-Oct-07 10:12 
Ok, sounds reasonable. Compile the script.rc using rc (which is, I believe, in reality a preprocessor that converts stuff like BEGIN to { and END to }, DIALOG to a c struct and after that calling a C-compiler). The resource compiler produces a .res file, that you can link into a .dll with /DLL. Another option is to create a DLL project in MSVC and use the Project/Export makefile command in MSVC - you'll have a real fun experience trying to dechiper the output Smile | :) But it works

And then to load the dialog is a breeze; LoadLibrary and then LoadResource on the HMODULE returned, and then CreateDialog with the template loaded. Translate to the framework you're using.
GeneralRe: Load a resource script Pin
Demian Panello25-Oct-07 10:27
Demian Panello25-Oct-07 10:27 
Questionin order read using ifstream, i have to add ofstream after than do not know why??? Pin
kreena25-Oct-07 6:58
kreena25-Oct-07 6:58 
QuestionUsing XML in MFC Pin
LCI25-Oct-07 6:54
LCI25-Oct-07 6:54 
AnswerRe: Using XML in MFC Pin
led mike25-Oct-07 7:06
led mike25-Oct-07 7:06 
GeneralRe: Using XML in MFC Pin
LCI25-Oct-07 7:12
LCI25-Oct-07 7:12 
GeneralRe: Using XML in MFC Pin
LCI25-Oct-07 7:13
LCI25-Oct-07 7:13 
GeneralRe: Using XML in MFC Pin
led mike25-Oct-07 7:38
led mike25-Oct-07 7:38 
AnswerRe: Using XML in MFC Pin
Chris Losinger25-Oct-07 7:21
professionalChris Losinger25-Oct-07 7:21 
QuestionRe: Using XML in MFC Pin
David Crow25-Oct-07 8:45
David Crow25-Oct-07 8:45 
AnswerRe: Using XML in MFC Pin
bob1697225-Oct-07 17:13
bob1697225-Oct-07 17:13 
GeneralRe: Using XML in MFC Pin
kanduripavan25-Oct-07 18:36
kanduripavan25-Oct-07 18:36 
GeneralRe: Using XML in MFC Pin
bob1697226-Oct-07 3:08
bob1697226-Oct-07 3:08 
GeneralRe: Using XML in MFC Pin
kanduripavan26-Oct-07 6:15
kanduripavan26-Oct-07 6:15 
QuestionCToolTipCtrl on key press? Pin
dsclee25-Oct-07 6:19
dsclee25-Oct-07 6:19 
AnswerRe: CToolTipCtrl on key press? Pin
led mike25-Oct-07 6:34
led mike25-Oct-07 6:34 
GeneralRe: CToolTipCtrl on key press? Pin
dsclee26-Oct-07 0:49
dsclee26-Oct-07 0:49 
GeneralRe: CToolTipCtrl on key press? Pin
led mike29-Oct-07 6:22
led mike29-Oct-07 6:22 

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.