Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I give up on GDI ! Pin
Chris Richardson23-Apr-03 9:19
Chris Richardson23-Apr-03 9:19 
GeneralRe: I give up on GDI ! Pin
pankajdaga23-Apr-03 9:38
pankajdaga23-Apr-03 9:38 
GeneralRe: I give up on GDI ! Pin
Joel Lucsy23-Apr-03 13:27
Joel Lucsy23-Apr-03 13:27 
GeneralRe: I give up on GDI ! Pin
basementman24-Apr-03 7:12
basementman24-Apr-03 7:12 
QuestionHow to restore previous CTreeCtrl state after app. exit Pin
Jingmin Wei23-Apr-03 8:18
Jingmin Wei23-Apr-03 8:18 
AnswerRe: How to restore previous CTreeCtrl state after app. exit Pin
brianwelsch23-Apr-03 18:46
brianwelsch23-Apr-03 18:46 
GeneralThank you so much! Pin
Jingmin Wei24-Apr-03 7:06
Jingmin Wei24-Apr-03 7:06 
GeneralMemory Size Pin
emrosa23-Apr-03 7:42
emrosa23-Apr-03 7:42 
Hello...I'm declaring a class array of size 80,000,000...when compiling there is an error that the size exceeds the allowed one and the program may not run.

I tried but it really does not work..it says that the program is not a win32 application.

My solution is to declare the class array dynamically:

myclass1 = new myclass[size]

When I tried with this there is no memory allocated and the program aborts.

As myclass has some double data and other classes embedded, I guess I need to overload the operator new so to create the needed space.

Can anyone help me how to do this, assuming the class is defined as:

class myclass{
public:
myclass2 curr_data2;
myclass3 curr_data3;
myclass2 new_data4;
myclass3 new_data5;
}

and the other classes
class myclass2{
public:
double x;
double y;
double z;
}

class myclass3{
public{
double motionX;
double motionY;
double motionZ;
}

Thanks,

Eric Manuel Rosales Pena Alfaro
PhD student
Unversity of Essex
Wivenhoe Park
Colchester, CO4 3SQ
Essex, Uk
email: emrosa@essex.ac.uk
tel: +44-01206-87311
GeneralRe: Memory Size Pin
Chris Meech23-Apr-03 8:34
Chris Meech23-Apr-03 8:34 
GeneralRe: Memory Size Pin
David Crow23-Apr-03 10:28
David Crow23-Apr-03 10:28 
GeneralRe: Memory Size Pin
Nitron23-Apr-03 14:07
Nitron23-Apr-03 14:07 
GeneralMFC support for applications Pin
Antti Keskinen23-Apr-03 7:25
Antti Keskinen23-Apr-03 7:25 
GeneralRe: MFC support for applications Pin
Nitron23-Apr-03 14:08
Nitron23-Apr-03 14:08 
GeneralLimiting the number of instances Pin
CDRom23-Apr-03 7:02
CDRom23-Apr-03 7:02 
GeneralRe: Limiting the number of instances Pin
David Crow23-Apr-03 7:40
David Crow23-Apr-03 7:40 
GeneralBasic printing Pin
act_x23-Apr-03 6:28
act_x23-Apr-03 6:28 
GeneralRe: Basic printing Pin
Rickard Andersson2023-Apr-03 6:43
Rickard Andersson2023-Apr-03 6:43 
GeneralCListCtrl Pin
schoni23-Apr-03 6:20
schoni23-Apr-03 6:20 
GeneralRe: CListCtrl Pin
Rickard Andersson2023-Apr-03 6:39
Rickard Andersson2023-Apr-03 6:39 
GeneralRe: CListCtrl Pin
David Crow23-Apr-03 8:04
David Crow23-Apr-03 8:04 
GeneralRe: CListCtrl Pin
Nitron23-Apr-03 14:16
Nitron23-Apr-03 14:16 
GeneralRe: CListCtrl Pin
Joan M23-Apr-03 21:47
professionalJoan M23-Apr-03 21:47 
QuestionHow to hide or delete scrollbars in formview Pin
gmlnd23-Apr-03 5:55
gmlnd23-Apr-03 5:55 
GeneralModify a record content into an AdoRecordset Pin
Anonymous23-Apr-03 5:00
Anonymous23-Apr-03 5:00 
GeneralRe: Modify a record content into an AdoRecordset Pin
Toni7823-Apr-03 9:51
Toni7823-Apr-03 9:51 

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.