well i've scoured the "Amiga C Tutorial" website at liquido2.com for an email link but cant find one, so i'll post it here. i got my first amiga window runnig using the source but found some "issues" with the code that needed debugging, here they are:
>45 struct IntuiText *MyText;
this fills me with dread, surely that should be:
>45 struct IntuiText *MyText = new IntuiText;
but does that mean i have to "free" it when i shutdown?
>54 PrintIText( MyWindow->RPort, MyText, 0, 0 );
changing it to this:
>54 PrintIText( MyWindow->RPort, MyText, MyWindow->BorderLeft, MyWindow->BorderTop );
offsets it into the window's window bit. i learnt that by reading intuition.h :-)
>104 CloseLibrary( (struct Library *)IntuitionBase );
This caused shell lockups and all sorts of memory trouble, it worked cleanly when i made it:
>104 CloseLibrary( IntuitionBase );
also
>106
>107 return 0;
>108
>109 }
cycloid - willing and able C++ coder who's struggling through lack of documentation!