Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - Questions
Page 1 of 1

PostPosted: Tue Aug 20, 2002 12:04 pm
by Glasswalker
Hello, just a couple quick questions:

1 - I am having trouble with the drawimage function, I am calling it like this:

drawimage("filename",x,y,20,20,1,0);

the image is a 20x20 pixel bitmap in 2bp format... I am getting no errors, and I have debug code in my program and it works fine...

however the bitmap never draws...

the x and y are within screen bounds (20,40 or 40,80 and so on)

and the bitmaps do contain data (I drew them in pocket paint.

2 - The next version for winCE (v4) will it support Mips on CE 2.0? (I use a Velo 500 for development) And will it support compiling apps into a linked standalone .exe file?

3 - I am planning on migrating to the CE version, and have sent many emails requesting a key... Is there a specific email I should contact, and provide my current Palm info to to recieve a CE key?

Thanks

- Paul

PostPosted: Tue Aug 20, 2002 12:07 pm
by Glasswalker
Also if keven is looking for beta testing assistance I am an experienced beta tester, and I heavily use pocketC so I would gladly provide testing of V4.

PostPosted: Tue Aug 20, 2002 3:59 pm
by KOU
1.drawimage problem.
-That is for CE ver. right?
-I use drawimage alot but I havent got problem like you have.
-I want you to check the pass for the bitmap file.
-It have to be like "\\My Documents\(whatever).2bp"

2.winCE (v4) will it support Mips on CE 2.0
-I don't know about this.
-But I am pretty sure that will support it.

3.Palm to CE regkey.
-I have read a post some where like this.
-It might be a good idea to search the board. (make sure to search all posts and all board.)

Got back from Japan a week faster,
Kou

PostPosted: Tue Aug 20, 2002 4:08 pm
by guy
1. I suspect that you have to set the size ratio to 100 rather than 1. Don't quote me on this.

You could also check that the filename includes the full path and quotes the backslashes if you're using them as path separators.

If all else fails, install CEAPI and call GetLastError() after the drawimage() call to find out whether an error was generated. You should probabaly call SetLastError(0) before the drawimage() call to ensure that you start of with a clean slate.

2. I hope that the next version will be built for all platforms. There's no reason that it shouldn't be unless Kevin uses CE features that don't exist in earlier versions of CE. Kevin has suggested that it will be able to create a stand alone exe (of course you'll actually need to create 16 different exe files to cover all of the different target platforms (plus one for BE300 and one for Smartphone)).

3. You should contact Kevin for a key. However you'll only get a response if you contact Jeremy. Kevin is invisible.

Beta testing: You could try asking Kevin. He's usually keen to have beta testers. However, some people would argue that PocketC V3 hasn't got past the beta test stage yet. I couldn't possibly comment.



Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum

PostPosted: Tue Aug 20, 2002 4:09 pm
by guy
Curses, simultaneous post with KOU. Sorry if I repeated anything.


Guy
[url]mailto:pcform@pcform.net[/url]
http://www.pcform.net
PocketC CE API interface: http://www.networkdynamics.net/PCForm.html#library
PCForm and CE API forum: http://www.networkdynamics.net/forum


Edited by - guy on 08/20/2002 11:13:27

PostPosted: Thu Nov 07, 2002 9:33 am
by stenci
Two reasons:

1. The 1/1 ratio is 100 (not 1).

2. The ratio is the 4th parameter (not the 6th).

Try this:

drawimage("filename",x,y,100,20,20,0);

Ciao
Stefano