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

C / C++ / MFC

 
Questionnon dependent names in template base class Pin
f_jo21-Jan-09 2:45
f_jo21-Jan-09 2:45 
AnswerRe: non dependent names in template base class Pin
Sarath C21-Jan-09 3:18
Sarath C21-Jan-09 3:18 
AnswerRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 3:45
professionalStuart Dootson21-Jan-09 3:45 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 5:40
f_jo21-Jan-09 5:40 
GeneralRe: non dependent names in template base class Pin
f_jo21-Jan-09 6:43
f_jo21-Jan-09 6:43 
GeneralRe: non dependent names in template base class Pin
Stuart Dootson21-Jan-09 7:48
professionalStuart Dootson21-Jan-09 7:48 
QuestionHow to _properly_ pass a string from a DLL to the App? Pin
OwenBurnett21-Jan-09 2:43
OwenBurnett21-Jan-09 2:43 
AnswerRe: How to _properly_ pass a string from a DLL to the App? Pin
Stuart Dootson21-Jan-09 4:18
professionalStuart Dootson21-Jan-09 4:18 
There's not really one 'proper' way to do it - Microsoft use both techniques at different places in Windows (the Win32 API generally requires you to allocate strings in user code, while OLE has a custom allocator[^].

I'd probably go with the user pre-allocating buffers and telling me how large they were, like Win32.

Alternatively, you could probably design a string class (yet another string class!) that ensured that memory allocation and deallocation was performed inside your DLL (via constructor and destructor) without the DLL's client having to do too much work.
QuestionConvert a text file into image (tiff file) Pin
Kiran Pinjala21-Jan-09 2:33
Kiran Pinjala21-Jan-09 2:33 
JokeRe: Convert a text file into image (tiff file) Pin
Sarath C21-Jan-09 2:50
Sarath C21-Jan-09 2:50 
JokeRe: Convert a text file into image (tiff file) Pin
Nishad S21-Jan-09 2:52
Nishad S21-Jan-09 2:52 
GeneralRe: Convert a text file into image (tiff file) Pin
Kiran Pinjala21-Jan-09 3:37
Kiran Pinjala21-Jan-09 3:37 
AnswerRe: Convert a text file into image (tiff file) Pin
Nishad S21-Jan-09 2:50
Nishad S21-Jan-09 2:50 
AnswerRe: Convert a text file into image (tiff file) Pin
Hamid_RT21-Jan-09 4:44
Hamid_RT21-Jan-09 4:44 
QuestionHow to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Naveen_Kummar21-Jan-09 2:26
Naveen_Kummar21-Jan-09 2:26 
AnswerRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Nishad S21-Jan-09 2:57
Nishad S21-Jan-09 2:57 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Naveen_Kummar21-Jan-09 17:25
Naveen_Kummar21-Jan-09 17:25 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Nishad S21-Jan-09 20:13
Nishad S21-Jan-09 20:13 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Naveen_Kummar21-Jan-09 21:47
Naveen_Kummar21-Jan-09 21:47 
GeneralRe: How to draw black colored outline for white colored font drawn on a TIF image file for font size of 8? Pin
Nishad S21-Jan-09 22:51
Nishad S21-Jan-09 22:51 
QuestionMFC SetActivePage function causing windows to lose focus - Help Pin
IAmRami21-Jan-09 2:15
IAmRami21-Jan-09 2:15 
AnswerRe: MFC SetActivePage function causing windows to lose focus - Help Pin
Code-o-mat21-Jan-09 2:38
Code-o-mat21-Jan-09 2:38 
GeneralRe: MFC SetActivePage function causing windows to lose focus - Help Pin
IAmRami21-Jan-09 4:45
IAmRami21-Jan-09 4:45 
GeneralRe: MFC SetActivePage function causing windows to lose focus - Help Pin
Code-o-mat21-Jan-09 4:49
Code-o-mat21-Jan-09 4:49 
Questionporting 32 bit dll in 64 bit Pin
subramanyeswari21-Jan-09 2:11
subramanyeswari21-Jan-09 2:11 

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.