Click here to Skip to main content
15,904,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNewBird: How to...... Pin
tcsiong20-Apr-04 18:01
tcsiong20-Apr-04 18:01 
GeneralRe: NewBird: How to...... Pin
22491720-Apr-04 19:25
22491720-Apr-04 19:25 
QuestionHow to embed a binary file using CArchive Pin
Ted Christiansen20-Apr-04 13:53
Ted Christiansen20-Apr-04 13:53 
AnswerRe: How to embed a binary file using CArchive Pin
Mike Dimmick21-Apr-04 0:57
Mike Dimmick21-Apr-04 0:57 
GeneralRe: generate random ip addresses Pin
John M. Drescher20-Apr-04 16:24
John M. Drescher20-Apr-04 16:24 
GeneralRe: generate random ip addresses Pin
David Crow20-Apr-04 16:30
David Crow20-Apr-04 16:30 
GeneralRe: generate random ip addresses Pin
toxcct20-Apr-04 22:17
toxcct20-Apr-04 22:17 
GeneralRe: generate random ip addresses Pin
Paul Ranson21-Apr-04 9:29
Paul Ranson21-Apr-04 9:29 
Generalfetching selected text Pin
TFB20-Apr-04 12:22
TFB20-Apr-04 12:22 
QuestionWhat does this line of code really do? Pin
Redbehelit20-Apr-04 10:22
Redbehelit20-Apr-04 10:22 
AnswerRe: What does this line of code really do? Pin
David Crow20-Apr-04 10:41
David Crow20-Apr-04 10:41 
AnswerRe: What does this line of code really do? Pin
axid3j1al20-Apr-04 17:22
axid3j1al20-Apr-04 17:22 
AnswerRe: What does this line of code really do? Pin
Mike Dimmick21-Apr-04 1:02
Mike Dimmick21-Apr-04 1:02 
GeneralSorting contents of CObList array Pin
Still learning how to code20-Apr-04 10:04
Still learning how to code20-Apr-04 10:04 
GeneralRe: Sorting contents of CObList array Pin
David Crow20-Apr-04 10:23
David Crow20-Apr-04 10:23 
GeneralCast/Conversation Pin
Irish_GUI20-Apr-04 10:02
Irish_GUI20-Apr-04 10:02 
GeneralRe: Cast/Conversation Pin
David Crow20-Apr-04 10:45
David Crow20-Apr-04 10:45 
GeneralRe: Cast/Conversation Pin
Irish_GUI20-Apr-04 10:55
Irish_GUI20-Apr-04 10:55 
GeneralRe: Cast/Conversation Pin
toxcct20-Apr-04 10:59
toxcct20-Apr-04 10:59 
GeneralRe: Cast/Conversation Pin
toxcct20-Apr-04 10:58
toxcct20-Apr-04 10:58 
GeneralRe: Cast/Conversation Pin
Irish_GUI20-Apr-04 11:10
Irish_GUI20-Apr-04 11:10 
GeneralRe: Cast/Conversation Pin
toxcct21-Apr-04 5:10
toxcct21-Apr-04 5:10 
GeneralRe: Cast/Conversation Pin
Anonymous20-Apr-04 21:22
Anonymous20-Apr-04 21:22 
GeneralRe: Cast/Conversation Pin
toxcct20-Apr-04 22:14
toxcct20-Apr-04 22:14 
GeneralStructure Initialization Pin
aman200620-Apr-04 9:46
aman200620-Apr-04 9:46 
Hi I want to initialize this struct
struct CATEGORY_CODES
{
CString strCategoryCode;
int nCategoryID;
CString strCategoryName;
int nHasSubCategory;
int nActive;
};
if i do CATEGORY_CODE stCatCode = {0};

I get the Fatal error on CString members if i try to insert the values init.
Can anybody help me how to intialize the structures in MFC

thanks
shailesh

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.