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 - Files for Distribution Software

Files for Distribution Software

Discuss PocketC for CE (including Desktop Edition)

Postby Hark0 on Wed Jun 04, 2003 9:13 am

Hi!

I have finished my game (topic post in Made with PocketC)...

You can view and download demo version at: http://www.klonycs.net.
Totally writted in my iPaq (more than 30 DIN A-4 pages). [:p]

Well, I distribute my game with the files:

-APP and all files necessary for the game

AND (this is the question):

-pcshell.exe
-pcshellv2.exe
-pkcnet.dll

My idea is follows:

I renamed the applet (APP) to KLNX: (klonycs.klnx)
I added to CAB file (for registry PDA) the follow lines:

HKCR,"klnx_applet","Default",0x00000000,"Klonycs App"
HKCR,"klnx_applet\DefaultIcon","Default",0x00000000,"%%InstallDir%%\pcshell.exe,-112"
HKCR,"klnx_applet\Shell\Open\Command","Default",0x00000000,"""%%InstallDir%%\pcshell.exe"" %%1"
HKCR,".klnx","Default",0x00000000,"klnx_applet"

I think this is the best method for install PocketC software's. For 3 reasons:

1.- You don't need to install PocketC runtimes.... Are in the Install.
2.- If you already have PocketC, my EXE's don't REPLACE your files.
3.- When uninstall, only delete MY files.

THE QUESTION:

What are the minimum files are necesaries for RUN applets???

1-pcshell.exe
2-pcshellv2.exe
3-pkcnet.dll

I think only pcshell.exe (200 kb)

PLEASE HELP!!!

Thanks in advance, Hark0
http://www.klonycs.net
http://www.pcdemano.com
Hark0
 
Posts: 32
Joined: Mon Sep 16, 2002 5:21 am
Location: Spain

Postby guy on Fri Jun 06, 2003 12:19 pm

To run a PocketC V3 applet you need pcshell.exe. If you are using IR then you need pcknet.dll.

Easiest is to install the runtime files with the share flag set, so they are only deleted when all applications that installed them are uninstalled:

copyfiles section for INF:

pcshell.exe,,,0x80000000
pcshellv2.exe,,,0x80000000
pkcnet.dll,,,0x80000000

addreg section:

HKCR, ".app", "Default", 0x00000000, pktc_appfile
HKCR, "pktc_appfile", "Default", 0x00000000, pcapp
HKCR, "pktc_appfile\DefaultIcon", "Default", 0x00000000, "%CE2%\pcshell.exe,-112"
HKCR, "pktc_appfile\Shell\Open\Command", "Default", 0x00000000, """%CE2%\pcshell.exe"" %%1"



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
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
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby guy on Fri Jun 06, 2003 12:25 pm

You also have to be aware that the compiler installation puts the runtime in the compiler directory whereas the runtime installation puts the runtime in the windows directory.

If you want to support multiple platforms then I recommend you download the CEAPI kit builder distribution (link below) which has all of the runtimes for all platforms and versions of CE and has an INF file ready set up to plug an application in.

The version on the web has a problem with the ceplatform section in that it doesn't correctly distinguish between PocketPC and PocketPC2002, but this is easy to fix.


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
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
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom

Postby Hark0 on Tue Jun 10, 2003 6:39 pm

Ok Guy, thanks for you info....

But... Only PCSHELL.EXE???

PCSHELLV2.EXE its no necessary?

Thanks in advance for you help.

Hark0
http://www.klonycs.net
http://www.pcdemano.com
Hark0
 
Posts: 32
Joined: Mon Sep 16, 2002 5:21 am
Location: Spain

Postby shandar on Fri Jun 13, 2003 8:06 pm

just wondering.. where did you get the pkcnet dll?
shandar
 
Posts: 2
Joined: Fri Jun 13, 2003 11:13 am

Postby guy on Mon Jun 23, 2003 7:12 am

It's in only one of the compiler or runtime download. I can't remember which.


You only need pcshellv2.exe to support applications compiled with the PocketC V2 compiler.


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
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
guy
 
Posts: 879
Joined: Thu Dec 07, 2000 8:58 am
Location: United Kingdom


Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 1 guest

cron