I started this application in CodeWarrior as a PalmOS
3.1 stationery. My CW is of version 4.0.1.
Now I am trying to implement these bmp functions say,
BmpCreate, WinCreateBitmapWindow, etc.
When I a trying to compile my code, its giving
errors," cant convert int to struct* " .
C
When I a trying to compile my code, its giving
errors," cant convert int to struct* " .
Can anybody tell me why is this coming up.
One very basic thing how can I make sure that
Pilot.h which I am including, handles New feature
sets...
C programming 101 :) find a cours
//
BitmapType *bmpP;
WinHandle win;
Err error;
RectangleType onScreenRect;
bmpP = BmpCreate(100, 100, 8, NULL, error);
if (bmpP)
{
win = (bmpP, error);
if (win)
{
for this given code the error is at
WinCreateBitmapWindow, Bitmap functions.
WinCreateBitmapWindow is a new function for PalmOS 3.5, and it prototype
only exists in the 3.5 and later SDKs.
The reason you're getting your strange error is because you don't have the
"Require Function