Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Microsoft form 2.0 Label Pin
Nitron1-Oct-02 3:11
Nitron1-Oct-02 3:11 
GeneralRe: Microsoft form 2.0 Label Pin
mzakarni1-Oct-02 21:16
mzakarni1-Oct-02 21:16 
GeneralAttaching multiple controls to the system image list Pin
Woody Green30-Sep-02 22:44
Woody Green30-Sep-02 22:44 
General'open with' using shell Pin
steffo230-Sep-02 22:27
steffo230-Sep-02 22:27 
GeneralRe: 'open with' using shell Pin
Stephane Rodriguez.30-Sep-02 22:43
Stephane Rodriguez.30-Sep-02 22:43 
GeneralArray of CArray Pin
ooosawaddee330-Sep-02 21:55
ooosawaddee330-Sep-02 21:55 
GeneralRe: Array of CArray Pin
jmkhael30-Sep-02 22:02
jmkhael30-Sep-02 22:02 
GeneralRe: Array of CArray Pin
30-Sep-02 22:52
suss30-Sep-02 22:52 
Thank you for your answer Papa. But it has some problem while compiling. I write this below program.

------------------------------------------------------------------------
typedef CArray<unsigned char,="" unsigned="" char&=""> CCharArray;
CArray<cchararray,cchararray&> m_Array;
CArray<unsigned char,="" unsigned="" char&=""> NewElement;

unsigned char a='a';
unsigned char b='b';

NewElement.Add(a);
NewElement.Add(b);
m_Array.Add(NewElement);
------------------------------------------------------------------------

While compiling there are this error message happen at this line

m_Array.Add(NewElement);


c:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(443) : error C2582: 'CArray<unsigned char,unsigned="" char="" &="">' : 'operator =' function is unavailable
c:\program files\microsoft visual studio\vc98\mfc\include\afxtempl.h(1566) : while compiling class-template member function 'void __thiscall CArray<class carray<unsigned="" char,unsigned="" char="" &="">,class CArray<unsigned char,unsigned="" char="" &=""> &>::SetAtGrow(int,class CArray<unsigned char,unsigned="" char="" &=""> &)'
Error executing cl.exe.

BallotExtractandPrint.exe - 1 error(s), 7 warning(s)


Do you know how to solve my problem?
GeneralRe: Array of CArray Pin
jmkhael30-Sep-02 23:02
jmkhael30-Sep-02 23:02 
GeneralRe: Array of CArray Pin
Alexandru Savescu30-Sep-02 23:24
Alexandru Savescu30-Sep-02 23:24 
GeneralSetCooperativeLevel Pin
Ta_Tee47330-Sep-02 21:50
Ta_Tee47330-Sep-02 21:50 
GeneralRe: SetCooperativeLevel Pin
jmkhael30-Sep-02 22:00
jmkhael30-Sep-02 22:00 
GeneralRe: SetCooperativeLevel Pin
Ta_Tee47330-Sep-02 22:08
Ta_Tee47330-Sep-02 22:08 
GeneralRe: SetCooperativeLevel Pin
Stephane Rodriguez.30-Sep-02 22:13
Stephane Rodriguez.30-Sep-02 22:13 
GeneralRe: SetCooperativeLevel Pin
Ta_Tee47330-Sep-02 22:14
Ta_Tee47330-Sep-02 22:14 
GeneralRe: SetCooperativeLevel Pin
Stephane Rodriguez.30-Sep-02 22:30
Stephane Rodriguez.30-Sep-02 22:30 
GeneralRe: SetCooperativeLevel Pin
jmkhael30-Sep-02 22:28
jmkhael30-Sep-02 22:28 
GeneralRenaming the source code file names Pin
JekYu30-Sep-02 21:15
JekYu30-Sep-02 21:15 
GeneralRe: Renaming the source code file names Pin
DarrollWalsh30-Sep-02 22:02
DarrollWalsh30-Sep-02 22:02 
GeneralRe: Renaming the source code file names Pin
jmkhael30-Sep-02 22:05
jmkhael30-Sep-02 22:05 
GeneralRe: Renaming the source code file names Pin
jmkhael30-Sep-02 22:08
jmkhael30-Sep-02 22:08 
Generalvisual studio 6 & .net with tooltips Pin
RobertC30-Sep-02 20:40
RobertC30-Sep-02 20:40 
GeneralRe: visual studio 6 & .net with tooltips Pin
Michael P Butler30-Sep-02 22:03
Michael P Butler30-Sep-02 22:03 
GeneralRe: visual studio 6 & .net with tooltips Pin
RobertC30-Sep-02 22:34
RobertC30-Sep-02 22:34 
QuestionGetDocument() in a dialog? Pin
Daniel Strigl30-Sep-02 20:33
Daniel Strigl30-Sep-02 20:33 

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.