October 30, 2025, 12:17:53 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Class definitions and case sensitivity

Started by Bruce Peaslee, December 28, 2005, 12:59:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

This construction is case sensative:

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

It was a hard error to catch! 
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Parker

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... ;)