Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Array without constant Pin
Anonymous28-Mar-04 8:37
Anonymous28-Mar-04 8:37 
GeneralRe: Array without constant Pin
Christian Graus28-Mar-04 9:47
protectorChristian Graus28-Mar-04 9:47 
GeneralRe: Array without constant Pin
Gary R. Wheeler28-Mar-04 13:21
Gary R. Wheeler28-Mar-04 13:21 
GeneralRe: Array without constant Pin
Prakash Nadar28-Mar-04 14:09
Prakash Nadar28-Mar-04 14:09 
GeneralRe: Array without constant Pin
Daniel132429-Mar-04 6:48
Daniel132429-Mar-04 6:48 
GeneralRe: Array without constant Pin
Gary R. Wheeler29-Mar-04 11:39
Gary R. Wheeler29-Mar-04 11:39 
GeneralRe: Array without constant Pin
Daniel132429-Mar-04 12:44
Daniel132429-Mar-04 12:44 
GeneralRe: Array without constant Pin
Phil J Pearson29-Mar-04 2:19
Phil J Pearson29-Mar-04 2:19 
Daniel1324 wrote:
When I use CMenu *menu = new CMenu[myvariable];

You declare an array of CMenu so menu[n] is a CMenu, not a *CMenu

There are plenty of other reasons why the program would crash but until you understand this first one you're not going to get very far...



The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).
GeneralCapture console buffer to text Pin
Snillet2k28-Mar-04 1:40
Snillet2k28-Mar-04 1:40 
GeneralRe: Capture console buffer to text Pin
Prakash Nadar28-Mar-04 2:12
Prakash Nadar28-Mar-04 2:12 
GeneralHELP - from VS6 to VS.NET problem Pin
the_snow_master28-Mar-04 1:07
sussthe_snow_master28-Mar-04 1:07 
Generaluser priveldges Pin
Irish_GUI27-Mar-04 23:46
Irish_GUI27-Mar-04 23:46 
GeneralSharing object between thread Pin
packetlos27-Mar-04 23:25
packetlos27-Mar-04 23:25 
GeneralRe: Sharing object between thread Pin
packetlos28-Mar-04 6:37
packetlos28-Mar-04 6:37 
GeneralGetting a handle to some window Pin
Anonymous27-Mar-04 21:37
Anonymous27-Mar-04 21:37 
GeneralRe: Getting a handle to some window Pin
Prakash Nadar28-Mar-04 1:49
Prakash Nadar28-Mar-04 1:49 
GeneralRe: Getting a handle to some window Pin
Anonymous28-Mar-04 16:26
Anonymous28-Mar-04 16:26 
GeneralRe: Getting a handle to some window Pin
Prakash Nadar28-Mar-04 16:50
Prakash Nadar28-Mar-04 16:50 
GeneralRe: Getting a handle to some window Pin
Antony M Kancidrowski29-Mar-04 2:32
Antony M Kancidrowski29-Mar-04 2:32 
GeneralCComboBox and DDX Pin
monrobot1327-Mar-04 20:58
monrobot1327-Mar-04 20:58 
GeneralRe: CComboBox and DDX Pin
Prakash Nadar28-Mar-04 14:12
Prakash Nadar28-Mar-04 14:12 
Generalcannot convert parameter 1 from 'unsigned int' to 'const char *' Pin
ScarberryProd27-Mar-04 19:46
ScarberryProd27-Mar-04 19:46 
GeneralRe: cannot convert parameter 1 from 'unsigned int' to 'const char *' Pin
Pedro Ruiz27-Mar-04 22:20
Pedro Ruiz27-Mar-04 22:20 
GeneralRe: cannot convert parameter 1 from 'unsigned int' to 'const char *' Pin
ScarberryProd28-Mar-04 3:47
ScarberryProd28-Mar-04 3:47 
GeneralRe: cannot convert parameter 1 from 'unsigned int' to 'const char *' Pin
Pedro Ruiz28-Mar-04 4:41
Pedro Ruiz28-Mar-04 4:41 

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.