Why when I use bitmap() inthe sdk it alway give me a fatal error?
Anyway else to draw a bitmap on screen?
![Photo](/uploads/av-1238.gif?_r=1172795408)
Help
Started by
vanhoa
, Oct 10 2006 12:23 AM
4 replies to this topic
#1
Posted 10 October 2006 - 12:23 AM
#2
Posted 10 October 2006 - 03:21 PM
Could you show the code? Bitmap() works very well, I never got a fatal error with this function.
![:huh:](/dot/public/style_emoticons/default/huh.png)
#3
Posted 10 October 2006 - 03:28 PM
Oh, maybe I should try it again.
#4
Posted 23 October 2006 - 06:00 PM
I had such a problem before!
Is there a new version?
I don't have even the the source.
Is there a new version?
I don't have even the the source.
#5
Posted 24 October 2006 - 08:10 AM
Normally this code is used:
//Bitmap(PegPoint Where, PegBitmap* Getmap, BOOL bOnTop = FALSE, UCHARRop = RF_SRCCOPY); //Example (Assuming you have saved 'gcYourBitmap' in another file): extern PegBitmap gcYourBitmap; PegPoint pos; pos.x = 10; pos.y = 10; Bitmap(pos, &gcYourBitmap); //Dont't forget the ampersand (&)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users