Click here to Skip to main content
15,355,133 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thanks CPallini and Covean Pin
Rozis18-Jan-10 11:32
MemberRozis18-Jan-10 11:32 
AnswerRe: Reading a file from disk in C PinPopular
Joe Woodbury18-Jan-10 7:14
professionalJoe Woodbury18-Jan-10 7:14 
QuestionUsing Zend library in vc++ Pin
Ash_VCPP18-Jan-10 3:02
MemberAsh_VCPP18-Jan-10 3:02 
AnswerRe: Using Zend library in vc++ Pin
Frank Seidler18-Jan-10 8:44
MemberFrank Seidler18-Jan-10 8:44 
GeneralRe: Using Zend library in vc++ Pin
Ash_VCPP20-Jan-10 1:59
MemberAsh_VCPP20-Jan-10 1:59 
Questionarray of differents types (possible?) Pin
George Nistor18-Jan-10 2:28
MemberGeorge Nistor18-Jan-10 2:28 
QuestionRe: array of differents types (possible?) Pin
CPallini18-Jan-10 2:44
mveCPallini18-Jan-10 2:44 
AnswerRe: array of differents types (possible?) Pin
George Nistor18-Jan-10 20:57
MemberGeorge Nistor18-Jan-10 20:57 
Hi
with a union like this doesn't work either.
I get ..cannont convert buf0 to unsigned char.

typedef union
{
   buf0   msg0;
   buf1   msg1;
}   type_Array;

type_Array   Vector[]={message0 , message1};

if i put like this, works:
unsigned char x1;
unsigned char x2;

type_Array   Vector[]={x1, x2};
//(this doesn't seem to be logic i should have here a vector of 8 unsigned chars)

so, the problem is
the compiler see message0 of type buf0, somehow cannot use union definition.
msgType0 and msgType1 are user defined types.
GeneralRe: array of differents types (possible?) Pin
CPallini18-Jan-10 21:05
mveCPallini18-Jan-10 21:05 
GeneralRe: array of differents types (possible?) Pin
George Nistor18-Jan-10 22:48
MemberGeorge Nistor18-Jan-10 22:48 
Generalthx, SOLVED Pin
George Nistor21-Jan-10 3:38
MemberGeorge Nistor21-Jan-10 3:38 
Questionarray of diffrent types - still not usefull Pin
George Nistor21-Jan-10 5:20
MemberGeorge Nistor21-Jan-10 5:20 
QuestionRe: array of diffrent types - still not usefull Pin
CPallini21-Jan-10 7:42
mveCPallini21-Jan-10 7:42 
QuestionRe: array of diffrent types - still not usefull Pin
George Nistor21-Jan-10 19:26
MemberGeorge Nistor21-Jan-10 19:26 
QuestionPeekMessage and DoEvents Pin
HakunaMatada18-Jan-10 2:17
MemberHakunaMatada18-Jan-10 2:17 
AnswerRe: PeekMessage and DoEvents Pin
Covean18-Jan-10 2:33
MemberCovean18-Jan-10 2:33 
AnswerRe: PeekMessage and DoEvents Pin
Cedric Moonen18-Jan-10 3:01
MemberCedric Moonen18-Jan-10 3:01 
AnswerRe: PeekMessage and DoEvents Pin
Rajesh R Subramanian18-Jan-10 8:49
professionalRajesh R Subramanian18-Jan-10 8:49 
GeneralRe: PeekMessage and DoEvents [modified] Pin
Rozis18-Jan-10 11:49
MemberRozis18-Jan-10 11:49 
GeneralRe: PeekMessage and DoEvents Pin
Rajesh R Subramanian18-Jan-10 19:15
professionalRajesh R Subramanian18-Jan-10 19:15 
GeneralRe: PeekMessage and DoEvents Pin
Rozis19-Jan-10 2:17
MemberRozis19-Jan-10 2:17 
GeneralRe: PeekMessage and DoEvents Pin
CPallini18-Jan-10 20:58
mveCPallini18-Jan-10 20:58 
Questionwin32 dialog Pin
john563218-Jan-10 1:58
Memberjohn563218-Jan-10 1:58 
AnswerRe: win32 dialog Pin
Abhi Lahare18-Jan-10 6:16
MemberAbhi Lahare18-Jan-10 6:16 
QuestionThreading Pin
HakunaMatada18-Jan-10 1:48
MemberHakunaMatada18-Jan-10 1:48 

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.