Click here to Skip to main content
15,909,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Shrinking DIB StretchDIBits ? Pin
22-May-02 0:38
suss22-May-02 0:38 
AnswerRe: Shrinking DIB StretchDIBits ? Pin
Shog921-May-02 15:32
sitebuilderShog921-May-02 15:32 
GeneralRe: Shrinking DIB StretchDIBits ? Pin
22-May-02 0:29
suss22-May-02 0:29 
GeneralRe: Shrinking DIB StretchDIBits ? Pin
22-May-02 0:35
suss22-May-02 0:35 
GeneralSet View Position in CEditView :: MFC Pin
valikac21-May-02 14:33
valikac21-May-02 14:33 
GeneralRe: Set View Position in CEditView :: MFC Pin
Prem Kumar21-May-02 21:05
Prem Kumar21-May-02 21:05 
GeneralRe: Set View Position in CEditView :: MFC Pin
valikac22-May-02 4:47
valikac22-May-02 4:47 
GeneralCStringArray Pin
21-May-02 14:11
suss21-May-02 14:11 
Hi,

CStringArray& MyArrayFunction()
{

   CStringArray aArray;
   aArray.SetSize(...
   aArray.SetAt(...
   ...

   return aArray;
}


Question1: is the return line OK?
Question2: how can I fill another array in my code with the returned stringarray?

I tried
CStringArray aMyArray = MyArrayFunction();

but
error C2440: 'initializing' : cannot convert from 'class CStringArray' to 'class CStringArray'
is the answer.

Could you please help me?

Thanks a lot

Ricardo
GeneralRe: CStringArray Pin
soptest21-May-02 14:27
soptest21-May-02 14:27 
General10x Pin
21-May-02 14:32
suss21-May-02 14:32 
General#include error Pin
Coremn21-May-02 14:08
Coremn21-May-02 14:08 
GeneralRe: #include error Pin
Coremn21-May-02 14:16
Coremn21-May-02 14:16 
GeneralRe: #include error Pin
soptest21-May-02 14:22
soptest21-May-02 14:22 
GeneralRe: #include error Pin
Coremn21-May-02 14:32
Coremn21-May-02 14:32 
GeneralRe: #include error Pin
Paul M Watt21-May-02 17:55
mentorPaul M Watt21-May-02 17:55 
GeneralRe: #include error Pin
Alexandru Savescu21-May-02 20:44
Alexandru Savescu21-May-02 20:44 
GeneralDCOM exe name in taskmanager Pin
21-May-02 12:50
suss21-May-02 12:50 
GeneralRe: DCOM exe name in taskmanager Pin
Jason Henderson21-May-02 17:14
Jason Henderson21-May-02 17:14 
GeneralVisual C++ Linking Error Pin
afronaut21-May-02 12:29
afronaut21-May-02 12:29 
GeneralRe: Visual C++ Linking Error Pin
Rama Krishna Vavilala21-May-02 12:46
Rama Krishna Vavilala21-May-02 12:46 
GeneralRe: Visual C++ Linking Error Pin
Christian Graus21-May-02 12:51
protectorChristian Graus21-May-02 12:51 
GeneralRe: Visual C++ Linking Error Pin
Tim Smith21-May-02 14:01
Tim Smith21-May-02 14:01 
GeneralRe: Visual C++ Linking Error Pin
Christian Graus21-May-02 12:50
protectorChristian Graus21-May-02 12:50 
GeneralRe: Visual C++ Linking Error Pin
SevereHammer21-May-02 20:41
SevereHammer21-May-02 20:41 
GeneralReference material on Memory Management Pin
Anton A. Loukine21-May-02 12:05
Anton A. Loukine21-May-02 12:05 

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.