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 - COM/CEAPI newby

COM/CEAPI newby

Discuss PocketC for CE (including Desktop Edition)

Postby MaxS on Tue Feb 11, 2003 10:23 am

I'm going mad..
I've a Philips Nino PsPC (winCE 2.01, b&w) and pocketC v3.
I'd like to use CEAPIs libraries on my device but there are
a lot of things that I ignore.
I've downloaded the correct CAB file and I've installed it in my Nino.
When I try to run one of example files that comes with libraries I get an error at runtime (pocketC compiles regularly) "library must be present in the same directory"...
Following dlls are in my windows directory:

coredll.dll
commctrl.dll
inkx.dll
mfcce20.dll
mscefile.dll

and obviously
pcktceapi.dll

Guy thinks that I'm missing

commdlg.dll

not supplied with wince2.01 sdk...:(

I'm thinking that I'm doing something wrong.. does someone
can send a reply indicating all steps in installing and using
CEAPIs libraries? must I register dlls in OS with regsvrce?

There's another way to manage all OS features with ONLY pocketC V3?
A direct call to dlls?
:?I really don't know what I'm talkin about...:?:

Any help, suggestion, link to a download site for missing dlls will be
very apreciated..

max
MaxS
 
Posts: 10
Joined: Thu Jan 30, 2003 10:39 am

Postby guy on Tue Feb 11, 2003 11:06 am

I've rebuilt CEAPI to not include the common dialogues on PPC 2.01. They're already excluded for PPC 2.11 since the .lib doesn't exist. For 2.01 the .lib exists, but there's no DLL to match it.

I'll post the updated CEAPI once I've done some more testing.

Unfortunately there is no other alternative for directly calling a DLL from PocketC unless you write one yourself.

CEAPI does have the CEAPI_stdcall() function which allows you to call any function in any DLL (in fact any function that you have a real address for), not just the ones that CEAPI provides directly callable entry points for.




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 MaxS on Tue Feb 11, 2003 12:06 pm

Guy
Thanks a lot.
some questions now:
1) Does PCForm support CEAPIs?
2) I've read in this forums that you are working on a ansiC compiler..
any news?
3) I'd like to learn COM access...do you have some tutorial link
to suggest me?

thanks a lot one more time
max
MaxS
 
Posts: 10
Joined: Thu Jan 30, 2003 10:39 am

Postby guy on Tue Feb 11, 2003 12:30 pm

1. PCForm doesn't generate any code that requires CEAPI. You can use CEAPI in your own code in a PCForm program. The current internal next version of PCForm uses CEAPI itself, but again doesn't require it for generated code.
2. No news. Trying to nail down CEAPI before continuing with compiler. Some of the CEAPI stuff will go into the compiler (principally the work I did on _stdcall and _cdecl).
3. Look in the knowledge base section of this site. Kevin posted a COM tutorial many months (or years) ago.


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 3 guests

cron