IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Bruce Peaslee on December 28, 2005, 12:59:24 PM

Title: Class definitions and case sensitivity
Post by: Bruce Peaslee on December 28, 2005, 12:59:24 PM
This construction is case sensative:

class MyMapWindow : MDIChildWnd
{
  declare  MyMapWindow();    // not myMapWindow !!!
  declare _MyMapWindow();
}

It was a hard error to catch! 
Title: Re: Class definitions and case sensitivity
Post by: Parker on December 28, 2005, 05:48:55 PM
Yes, because the compiler doesn't call the name of your function, it calls ClassName@ClassName. And NASM is case sensitive, so it doesn't work right. Maybe the compiler would correct that for us... ;)