Click here to Skip to main content
16,007,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ShellExecute and memory footprint?! Pin
djrisc29-Aug-02 12:15
djrisc29-Aug-02 12:15 
GeneralRe: ShellExecute and memory footprint?! Pin
Joel Lucsy29-Aug-02 13:12
Joel Lucsy29-Aug-02 13:12 
QuestionHow to select items in a ListCtrl programmatically Pin
Vincent Ye29-Aug-02 11:06
Vincent Ye29-Aug-02 11:06 
AnswerRe: How to select items in a ListCtrl programmatically Pin
Tomasz Sowinski29-Aug-02 11:08
Tomasz Sowinski29-Aug-02 11:08 
GeneralRe: How to select items in a ListCtrl programmatically Pin
Vincent Ye29-Aug-02 11:12
Vincent Ye29-Aug-02 11:12 
AnswerRe: How to select items in a ListCtrl programmatically Pin
Chris Losinger29-Aug-02 11:08
professionalChris Losinger29-Aug-02 11:08 
GeneralRe: How to select items in a ListCtrl programmatically Pin
Vincent Ye29-Aug-02 11:12
Vincent Ye29-Aug-02 11:12 
Generalcstring Pin
pnpfriend29-Aug-02 10:50
pnpfriend29-Aug-02 10:50 
hi all..
I have win32 console application w/o MFC support..
then I " include <afx.h> " in my header file for CString..
and I declare " CString msg; " in my cpp file. Then I run and got following link errors even without setting any value to "msg" yet.

Compiling...<br />
test.cpp<br />
Linking...<br />
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex<br />
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex<br />
Debug/test.exe : fatal error LNK1120: 2 unresolved externals<br />
Error executing link.exe.<br />
<br />
test.exe - 3 error(s), 0 warning(s)<br />


the reason why i want to use CString my cpp file is to format long, and double variable as a string..
<br />
long letter_count,legal_count,tabloid_count,sqft_count;<br />
.<br />
.<br />
.<br />
msg.Format("\nLetter Size:%d\nLegal Size:%d\nTabloid Size:%d\nOverSize:%f\n",letter_count,legal_count,tabloid_count,sqft_count);<br />
<br />

GeneralRe: cstring Pin
Tomasz Sowinski29-Aug-02 10:54
Tomasz Sowinski29-Aug-02 10:54 
GeneralRe: cstring Pin
Joaquín M López Muñoz29-Aug-02 11:02
Joaquín M López Muñoz29-Aug-02 11:02 
GeneralRe: cstring Pin
Anonymous29-Aug-02 11:07
Anonymous29-Aug-02 11:07 
GeneralRe: cstring Pin
Chris Losinger29-Aug-02 11:07
professionalChris Losinger29-Aug-02 11:07 
GeneralRe: cstring Pin
Waleed Eissa29-Aug-02 11:18
Waleed Eissa29-Aug-02 11:18 
GeneralRe: cstring Pin
pnpfriend30-Aug-02 3:34
pnpfriend30-Aug-02 3:34 
GeneralArray of Pointers to Strings Pin
Waleed Eissa29-Aug-02 10:40
Waleed Eissa29-Aug-02 10:40 
GeneralRe: Array of Pointers to Strings Pin
Chris Losinger29-Aug-02 10:42
professionalChris Losinger29-Aug-02 10:42 
GeneralRe: Array of Pointers to Strings Pin
Waleed Eissa29-Aug-02 11:13
Waleed Eissa29-Aug-02 11:13 
GeneralRe: Array of Pointers to Strings Pin
Chris Losinger29-Aug-02 11:26
professionalChris Losinger29-Aug-02 11:26 
GeneralRe: Array of Pointers to Strings Pin
Todd Smith29-Aug-02 13:26
Todd Smith29-Aug-02 13:26 
GeneralRe: Array of Pointers to Strings Pin
Brian Delahunty29-Aug-02 10:46
Brian Delahunty29-Aug-02 10:46 
GeneralRe: Array of Pointers to Strings Pin
Waleed Eissa29-Aug-02 11:11
Waleed Eissa29-Aug-02 11:11 
GeneralRe: Array of Pointers to Strings Pin
Prashant Panigrahi.29-Aug-02 11:11
sussPrashant Panigrahi.29-Aug-02 11:11 
GeneralRe: Array of Pointers to Strings Pin
Joaquín M López Muñoz29-Aug-02 11:21
Joaquín M López Muñoz29-Aug-02 11:21 
GeneralRe: Array of Pointers to Strings Pin
Null_Vector29-Aug-02 11:20
Null_Vector29-Aug-02 11:20 
GeneralRe: Array of Pointers to Strings Pin
Michael Dunn29-Aug-02 12:01
sitebuilderMichael Dunn29-Aug-02 12:01 

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.