Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: allocate memory Pin
Steen Krogsgaard13-Sep-01 23:00
Steen Krogsgaard13-Sep-01 23:00 
GeneralRe: allocate memory Pin
Gérald Mercet13-Sep-01 23:39
Gérald Mercet13-Sep-01 23:39 
GeneralRe: allocate memory Pin
Steen Krogsgaard13-Sep-01 23:48
Steen Krogsgaard13-Sep-01 23:48 
GeneralRe: allocate memory Pin
Gérald Mercet14-Sep-01 2:37
Gérald Mercet14-Sep-01 2:37 
GeneralRe: allocate memory Pin
Steen Krogsgaard14-Sep-01 2:53
Steen Krogsgaard14-Sep-01 2:53 
GeneralRe: allocate memory Pin
Gérald Mercet14-Sep-01 3:24
Gérald Mercet14-Sep-01 3:24 
GeneralRe: allocate memory Pin
Steen Krogsgaard14-Sep-01 3:27
Steen Krogsgaard14-Sep-01 3:27 
GeneralRe: allocate memory Pin
Gérald Mercet12-Sep-01 4:00
Gérald Mercet12-Sep-01 4:00 
Another question, if i do that:

COleDateTime *Date=new COleDateTime[2];
Date[0]=StartDate;
Date[1]=EndDate;
return Date;
delete[] Date;

in the same function, do you think that it's right, because i do that, and when i try to debug, i could see the allocation of my pointer in the debug window. But there is a pb, only the Date[0]=StartDate is considered or seem to be considered. Could you help me?

thanks

gerald
GeneralRe: allocate memory Pin
Steen Krogsgaard12-Sep-01 4:07
Steen Krogsgaard12-Sep-01 4:07 
Questionwhile statement probleam, please help? Pin
Tea CH11-Sep-01 17:31
Tea CH11-Sep-01 17:31 
AnswerRe: while statement probleam, please help? Pin
Christian Graus11-Sep-01 17:47
protectorChristian Graus11-Sep-01 17:47 
GeneralRe: while statement probleam, please help? Pin
Tea CH11-Sep-01 20:19
Tea CH11-Sep-01 20:19 
GeneralRe: while statement probleam, please help? Pin
Christian Graus11-Sep-01 21:53
protectorChristian Graus11-Sep-01 21:53 
GeneralRe: while statement probleam, please help? Pin
11-Sep-01 22:16
suss11-Sep-01 22:16 
GeneralIntresting Question Pin
The_Server11-Sep-01 17:08
The_Server11-Sep-01 17:08 
GeneralRe: Intresting Question Pin
Joaquín M López Muñoz12-Sep-01 0:19
Joaquín M López Muñoz12-Sep-01 0:19 
GeneralWTL CCommandBarCtrl troubles Pin
The Liquid Plumber11-Sep-01 15:37
The Liquid Plumber11-Sep-01 15:37 
GeneralWin32 Console Programming Question Pin
the_grip11-Sep-01 10:30
the_grip11-Sep-01 10:30 
GeneralRe: Win32 Console Programming Question Pin
Joaquín M López Muñoz11-Sep-01 12:09
Joaquín M López Muñoz11-Sep-01 12:09 
GeneralRe: Win32 Console Programming Question Pin
User 988511-Sep-01 12:14
User 988511-Sep-01 12:14 
GeneralSerialize problem Pin
José Luis Sogorb11-Sep-01 9:38
José Luis Sogorb11-Sep-01 9:38 
GeneralRe: Serialize problem Pin
Tomasz Sowinski12-Sep-01 0:48
Tomasz Sowinski12-Sep-01 0:48 
GeneralDisabling and Enabling MFC Wizard buttons Pin
11-Sep-01 6:46
suss11-Sep-01 6:46 
GeneralRe: Disabling and Enabling MFC Wizard buttons Pin
Tomasz Sowinski12-Sep-01 2:56
Tomasz Sowinski12-Sep-01 2:56 
GeneralCan't add variable to static text Pin
mattiase11-Sep-01 6:44
mattiase11-Sep-01 6:44 

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.