|
-
February 6th, 2011, 02:32 AM
#1
Load a string resource automatically when app is started?
I want to load a string resource when app is started. So I initialize a global variable like this
CString g_strMyStr((LPCSTR)IDS_MYSTR); // IDS_MYSTR is a string resource ID
But when starting debugging the codes, I will always get "Debug Assertion Failed!" error.
How to solve this problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|