Click here to Skip to main content
15,902,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Software error running a Visual C++ application Pin
Michael Dunn22-Jan-04 8:56
sitebuilderMichael Dunn22-Jan-04 8:56 
GeneralRe: Software error running a Visual C++ application Pin
satcat22-Jan-04 14:35
satcat22-Jan-04 14:35 
Generalneed some help (3d object reconstruction from 2d images) Pin
ibrahim_egy22-Jan-04 7:04
ibrahim_egy22-Jan-04 7:04 
GeneralRe: need some help (3d object reconstruction from 2d images) Pin
Andrew Walker22-Jan-04 13:30
Andrew Walker22-Jan-04 13:30 
Questionhow to use the resource file to store all strings? Pin
Binayak22-Jan-04 6:27
Binayak22-Jan-04 6:27 
AnswerRe: how to use the resource file to store all strings? Pin
David Crow22-Jan-04 6:48
David Crow22-Jan-04 6:48 
AnswerRe: how to use the resource file to store all strings? Pin
John R. Shaw22-Jan-04 6:48
John R. Shaw22-Jan-04 6:48 
AnswerRe: how to use the resource file to store all strings? Pin
J. Eric Vaughan22-Jan-04 6:53
J. Eric Vaughan22-Jan-04 6:53 
Go to Project->Add Resource menu item. Select "String Table" and Hit "New". The string editor should come up where you can add strings.

To retrieve them:
Using MFC:
CString strText((LPCTSTR)IDS_MY_TEXT);
or
CString strText;
strText.LoadString( IDS_MY_TEXT );

Non-MFC:
TCHAR pszText[MAX_TEXT];
::LoadString( GetModuleHandle(NULL), IDS_MY_TEXT, pszText, MAX_TEXT )

____________________________________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
QuestionHow to get notified, if selection of CListCtrl changes Pin
stammt22-Jan-04 5:58
stammt22-Jan-04 5:58 
AnswerRe: How to get notified, if selection of CListCtrl changes Pin
David Crow22-Jan-04 6:50
David Crow22-Jan-04 6:50 
Generalnetwork share Pin
orcun colak22-Jan-04 5:48
orcun colak22-Jan-04 5:48 
GeneralRe: network share Pin
Mukkie25-Jan-04 8:09
Mukkie25-Jan-04 8:09 
GeneralQuestion to USB Pin
BladeIII22-Jan-04 5:45
BladeIII22-Jan-04 5:45 
GeneralHelp with DeviceNumGet( ); Pin
satcat22-Jan-04 5:38
satcat22-Jan-04 5:38 
GeneralRe: Help with DeviceNumGet( ); Pin
David Crow22-Jan-04 5:56
David Crow22-Jan-04 5:56 
GeneralRe: Help with DeviceNumGet( ); Pin
satcat22-Jan-04 6:06
satcat22-Jan-04 6:06 
GeneralDown cast from 32 Bit to 16 Bit. Pin
Ralf Friedrich Hain22-Jan-04 5:15
Ralf Friedrich Hain22-Jan-04 5:15 
GeneralRe: Down cast from 32 Bit to 16 Bit. Pin
John R. Shaw22-Jan-04 6:03
John R. Shaw22-Jan-04 6:03 
QuestionHow can I have a pointer to the ToolBar ? Pin
Deroy Philippe22-Jan-04 4:06
sussDeroy Philippe22-Jan-04 4:06 
AnswerRe: How can I have a pointer to the ToolBar ? Pin
schaereran@gmx.net22-Jan-04 5:03
schaereran@gmx.net22-Jan-04 5:03 
GeneralVC++ using DCOM to communicate to C# code Pin
stevew02322-Jan-04 4:05
stevew02322-Jan-04 4:05 
GeneralRe: VC++ using DCOM to communicate to C# code Pin
Michael P Butler22-Jan-04 7:28
Michael P Butler22-Jan-04 7:28 
GeneralRead cdText from a music cd Pin
frankvdhorst22-Jan-04 3:59
frankvdhorst22-Jan-04 3:59 
GeneralRe: Read cdText from a music cd Pin
Steve S23-Jan-04 0:30
Steve S23-Jan-04 0:30 
GeneralCreateCompatibleBitmap and memory Pin
CodeBrain22-Jan-04 3:53
CodeBrain22-Jan-04 3:53 

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.