Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Alex
For a developer porting to this newer version of OS has marginal gain at
best from sales point of view. Porting to PPC could double the revenue. Just
from a developer's perspective. We can do nothing (or very little) and stay
in the 68k mode. Or going through the aerobics with Palm for ???

It's not clear why the changes could not be more evolutionary. It's even
less clear the advantages of the overhaul. It is clear that the Palm is
waffling about their own OS(s). Not a good message to developers who put up
a lot over the years and just find the original processor choice was a
mistake in OS 5 and not the choice of API is a mirage too in OS 6.

--
Alex

Brad Figler [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Alex wrote:

  Just reading the overview of Cobalt makes me wonder whether it is a good
  time to port to PPC. If one needs to change that much, might as well
picking
  up a new platform. And I thought OS 4 to OS 5 was painful. The only
thing
  would make this worse is that if I paid for attending DevCon  to find
this
  out.
 

 PPC is still a more complicated Operating System than PalmOS. The guys
 at PalmSource have done a good job in keeping it simple. Jumping to the
 PPC platform is probably ten fold the work than porting to the NEW OS.

 Brad




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: New Palm OS developer tools available for download

2004-03-02 Thread Eron Hennessey
Simon Dick wrote:

He has sims except Cobalt running, but we still couldn't work out why
none of them ran on my wine installation, slightly annoying for
me. Anyone know if cygwin and PODS runs under wine? ;)
 

Running cygwin under wine... now there's an image I'm going to have to 
try hard to keep from my mind... lol.   ;)

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: time optimization

2004-03-02 Thread Flex
Concentrate your efforts on MemHandleLock - it's hell slow operation. If 
you can avoid some of the locks (by pre-locking for example) you'll be 
happy.
Also if you can share one single buffer for all your... hm... records? I 
mean allocate the maximum length and save a couple of new/lock/unlock/free.

kshaff03 wrote:
My app is a little slower than I want it to be. There are some things that I
think I can do a little better to speed it up.  I was wondering what common
operations on the palm take the most amount of time.  These are some of the
operations that I am using in my function, but feel free to mention others.
MemHandleNew/Lock/Unlock/Free

StrAToI(...)

if (char[index] != NULL)//I assume this usually takes only one
comparison
setText(Field, string)



Also, is the function TimGetTicks() an effective way to measure
performance
of a single or small number of operations, or is this an imprecise
measurement?
Thanks

Kevin



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


code warrior 9.3 runtime library bug?

2004-03-02 Thread koreapalm
I was updated my codewarrior 9.2 to 9.3 and 
Build All project rebuild.

My project source used mod function like below 

long i = 0;
long x = I % 3;- Error 

When I used runtime library PalmOSRuntime_4i_A4A5 that was fatal error.
But, any other runtime library didnt error.

Please help..


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Konstantin Klyatskin
Alex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 For a developer porting to this newer version of OS has marginal gain at
 best from sales point of view. Porting to PPC could double the revenue.
Just
 from a developer's perspective. We can do nothing (or very little) and
stay
 in the 68k mode. Or going through the aerobics with Palm for ???

Exactly. We are seriously thinking about quick patch our application for
OS6.x  just to disable DIA recognition as well as other non vital features
causing the problem. Let's go down to 3.5. Who knows what we'll meet next
if even the samples from 5.x SDK do not work.
--




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


using PODS-could not find getreent in dynamic dll

2004-03-02 Thread vitor paixao
hello i'm a newbie and i'm trying to get a basic palmOS project to work on
the new developer suite.

i'm getting this error when i build make target:
could not find entrance point __getreent in dynamic library cygwin1.dll
(i'm translating this from portuguese so there might be some slight changes
on the form of the message)

I had cygwin installed before but i uninstalled it before PODS installation.
maybe someone could point me to the right direction or to some docs where i
can find more info.

thankx in advance
vbpaixao


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: code warrior 9.3 runtime library bug?

2004-03-02 Thread Ben Combee
At 05:09 AM 3/2/2004, you wrote:
I was updated my codewarrior 9.2 to 9.3 and
Build All project rebuild.
My project source used mod function like below

long i = 0;
long x = I % 3’;- Error
When I used runtime library “PalmOSRuntime_4i_A4A5” that was fatal error.
But, any other runtime library didn’t error.
The 4i_A4A5 version is just for expanded mode applications that use 
4-byte integers.  Does your app fit this model?

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Ben Combee
At 02:21 AM 3/2/2004, you wrote:
It's not clear why the changes could not be more evolutionary. It's even
less clear the advantages of the overhaul. It is clear that the Palm is
waffling about their own OS(s). Not a good message to developers who put up
a lot over the years and just find the original processor choice was a
mistake in OS 5 and not the choice of API is a mirage too in OS 6.
The changes are evolutionary.  OS 5 introduced ARM support in the 
back-end of the OS, only letting you use ARM by jumping through a big 
hoop called PACE Native Objects.  OS 6 finally lets you write ARM native 
applications.  Since they needed a new API and set of tools for this, 
PalmSource finally had the chance to clean up a lot of API decisions that 
had constrained the platform and confused developers.  They also moved to a 
more modern windowing model that's needed to support multitasking.

Remember, change is a constant.  The original choice of the 68K for the 
original Pilot 1000/500 was a good choice when it was made in the 
mid-1990's.  The processor was cheaper, used less power, and had good tools 
to support it.  It enabled a whole class of devices; remember the big price 
difference between a Pilot 5000 and a Newton Messagepad -- that was in part 
due to CPU and memory costs.

Moore's law means that you have to revisit some decisions, and it was clear 
by 2000 that ARM-based CPUs made sense going forward, both because of their 
improving performance and power profiles, and because they were becoming 
available from a lot of different suppliers.  It's taken about five years 
for Palm OS to move from being a tiny, 68K-based OS designed to run four 
PIM applications to become a reasonably sized embedded OS with a variety of 
services.

Think of this change as being similar to Microsoft going from Win16 
(Windows 1.0 through 3.1) to Win32 (Windows 95, NT, onward).  The new 
versions continued to run old 16-bit apps, but you needed to move to the 
new Win32 API and rebuild in order to use the new features and to make your 
apps more stable.

The API is mostly the same between OS versions.  Some minor things change 
-- you don't have card numbers anymore, you use different typedefs.  Some 
major things change -- you need to support update-based windows, you can't 
hack into system internals.  However, I'd urge you to read just the first 
few chapters of the Porting Apps to Cobalt PDF that's in the Cobalt 
docs.  It will give you a better feel for just how much effort went into 
making this transition work and why PalmSource made the changes it did.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Laurens

Alex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 For a developer porting to this newer version of OS has marginal gain at
 best from sales point of view. Porting to PPC could double the revenue.
Just
 from a developer's perspective. We can do nothing (or very little) and
stay
 in the 68k mode. Or going through the aerobics with Palm for ???

This is going to be a chicken-and-egg-like situation for the forseeable
future. Until Cobalt devices start selling in significant numbers, there
won't be much incentive for developers to port and maintain OS6-specific
branches of their apps. That said, I believe that there is room for
network-enabled apps that take advantage of multithreading.

At any rate, OS5 and the 68K application model will stay with us for some
time. No matter which way you cut it: Cobalt is a radical departure and the
transition to the new architecture is not going to be graceful. I don't
think it's fair to bash PalmSource for this, though.


Regards
-Laurens



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


How to make a Shared Library using C++?

2004-03-02 Thread Alexandre Luz Barreto
i´m using the wizard in CW 9 to create a sahred library

if i check Force C++ compilation.. just after finishing the wizard i get 
link error
without forcing C++ it compiles

what is the right way to make a C++ shared library?

thnx

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: How to make a Shared Library using C++?

2004-03-02 Thread Ben Combee
At 06:58 AM 3/2/2004, you wrote:
i´m using the wizard in CW 9 to create a sahred library

if i check Force C++ compilation.. just after finishing the wizard i get 
link error
without forcing C++ it compiles

what is the right way to make a C++ shared library?
There is no right way.  The 68K shared library model just doesn't support 
C++ very well.  You don't have standard global variables, and all entry 
points to the shared library have to go through system traps with a leading 
libRef parameter.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


IR Print

2004-03-02 Thread Davi Carvalho
Hi everybody,


I am new in this list... I am a Palm Developer since June/2003, so I don't
have to much skills yet.

I am trying to do a program that prints in an infrared printer. Any of you
knows a simple program that uses the infrared comunication and so I can take
some clues?

I would like also to know if every printer has a diferent protocol? Or if I
do a program for one printer it would work for all brands.

Ah... Do you know if has any Satellite Forms Extension that I can use for IR
Print?

Thanks,

Davi Carvalho


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: IR Print

2004-03-02 Thread Regis St-Gelais

Davi Carvalho [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]

snip

 I am trying to do a program that prints in an infrared printer. Any of you
 knows a simple program that uses the infrared comunication and so I can
take
 some clues?

snip

You should look at this:

XPrint System Library

on: http://www.palmside.com/

Maybe you wont have to start from scratch.

-- 
Regis St-Gelais
www.laubrass.com
--



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Roger Stringer

Subject: Re: Cobalt porting: No longer single prc for all OS versions
From: John Marshall [EMAIL PROTECTED]
Date: Mon, 01 Mar 2004 19:28:44 +0100
Linke, Andreas [EMAIL PROTECTED] wrote:
 I've been programming Palm OS for 7 years now, but I can't remember
 such a radical change. There seems to be no attempt at compatibility,
 neither binary nor in source.
It seems to me that one summary of the things you've noted is this is a
new operating system.
I think the bigger issue is the lack of an attempt to facilitate one set of 
source code.  Having different programs is less of an issue, though 
PalmSource have provided a way to have a bloated program that has 68K and 
ARM native versions within it.

Roger Stringer
Marietta Systems, Inc.  (www.mariettasystems.com)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Link Error : StartupCode.c: Illegal object data

2004-03-02 Thread Colin MacKenzie
I am trying to write an extension for Satellite Forms using the demo version
of codewarrior and when I tried to make my project I get the following
error: 

Link Error : StartupCode.c: Illegal object data in 'StartupCode.c'. 
Link Error : _RuntimeModule_: '_Startup_' referenced from '_DummyStartup_'
is undefined. 

I have also tried to make the sample extensions supplied with Satellite
Forms, and I get the same error - so I don't think it's my code. 

Any ideas what is going wrong? - could it be a limitation of the Demo
version? I want to build an extension successfully before I buy the full
version. 

Colin

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


send database via Bluetooth, but not to use exchange manager

2004-03-02 Thread John Lai
I re-post this from bluetooth-forum to see whether anyone can help.

In my app, master and a slave form a piconet. I can send data (char array) 
between them, using
BtLibSocketSend(), RFCOMM socket.

What I want now is to send a database or a record. Before creating a
piconet, I can use exchange manager to send a database through BT or IrDA.
After taking part in the piconet, send via IrDA still works, but can't do
with BT.
My 1st question is, we can't use use exchange manager (using BT) while
involved in a piconet, am I right?
If so, do I have to use BtLibSocketSend() to send database? That's what I 
think... I get the content of a database, send it by calling 
BtLibSocketSend(). On the receiver side, get the data, create a database.

Please advise.

_
Linguaphone :  Learning English? Get Japanese lessons for FREE 
http://go.msnserver.com/HK/30476.asp

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: IR Print

2004-03-02 Thread Pierre Demeure
Bonjour,

I suggest also that you use SDK provided by editors who have
developped drivers for printers. That'll spare your time and you can
dedicate your time for your program...
Personally, I use Palmprint (Stevenscreek software) or Printboy
(Bachmann Software). Both offer a sdk for developers.

-- 
Bien Cordialement,
Pierre Demeure 
mailto:[EMAIL PROTECTED]

Le mardi 2 mars 2004 à 15:38:01, vous écriviez :

DC Hi everybody,


DC I am new in this list... I am a Palm Developer since June/2003, so I don't
DC have to much skills yet.

DC I am trying to do a program that prints in an infrared printer. Any of you
DC knows a simple program that uses the infrared comunication and so I can take
DC some clues?

DC I would like also to know if every printer has a diferent protocol? Or if I
DC do a program for one printer it would work for all brands.

DC Ah... Do you know if has any Satellite Forms Extension that I can use for IR
DC Print?

DC Thanks,

DC Davi Carvalho






Pacific - Mobifleet


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Mike McCollister
When I try to debug an application with the Palm OS Simulator using PODS, I get
the message:

Error installing files: Error establishing connection to debug target:
Connection refused: connect

Any idea what the problem is?

I've setup the launch target and it opens up the Palm OS Simulator but there is
no communication between the eclipse and the simulator.

Thanks,

Mike McCollister

__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Jamie Macleod
Jamie,

Brad Figler [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Jamie Macleod wrote:
  It depends.  If your targeting the CF .Net it is pretty easy, especially
if
  you use VS .Net already.  If you want to target PPC natively it is a
little
  more difficult.
 

 Yes, Microsoft did a good job with the Compact Framework which makes it
 much easier to get things done. However, programming using the framework
 hides a lot of the operating system details. Just like MFC. I can't
 count on my fingers and toes how many people I have met that claim to be
 expert windows programmers and don't even know what RegisterClass() or
 RegisterClassEx() is used for. But they certainly know to put their
 initialization code in CMyApp::OnInitInstance().

 Brad

But in my line of work, who cares if meet some ideal of  expert?  I need
to develop solutions, not impress my users with my OS knowledge.  I can get
down and dirty with the best of them, but I prefer to have the development
tool/environment do it for me.  Anyways the .Net Framework is basically just
another OS you program for, the same way you program for the JVM.  You need
to understand it to develop quality applications for it.

Jamie



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Ben Combee
At 10:48 AM 3/2/2004, you wrote:
When I try to debug an application with the Palm OS Simulator using PODS, 
I get
the message:

Error installing files: Error establishing connection to debug target:
Connection refused: connect
Any idea what the problem is?

I've setup the launch target and it opens up the Palm OS Simulator but 
there is
no communication between the eclipse and the simulator.
Are you running the version of the Cobalt Simulator bundled in the Palm OS 
Developer Suite download?  If not, you need to get the DevNub.prc file from 
the PODS download and run it to enable the 68K debugger connection.

See http://www.escribe.com/computing/pcpqa/m85669.html for more details.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Link Error : StartupCode.c: Illegal object data

2004-03-02 Thread Ben Combee
At 09:20 AM 3/2/2004, you wrote:
I am trying to write an extension for Satellite Forms using the demo version
of codewarrior and when I tried to make my project I get the following
error:
Link Error : StartupCode.c: Illegal object data in 'StartupCode.c'.
Link Error : _RuntimeModule_: '_Startup_' referenced from '_DummyStartup_'
is undefined.
I have also tried to make the sample extensions supplied with Satellite
Forms, and I get the same error - so I don't think it's my code.
Any ideas what is going wrong? - could it be a limitation of the Demo
version? I want to build an extension successfully before I buy the full
version.
Yes, it is a demo restriction.  The CW V8 demo can only produce very small 
PRC files and can only build applications.  It also won't link with any 
runtime libraries other than the one that ships with the demo.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Brad Figler

But in my line of work, who cares if meet some ideal of  expert?  I need
to develop solutions, not impress my users with my OS knowledge.  I can get
down and dirty with the best of them, but I prefer to have the development
tool/environment do it for me.  Anyways the .Net Framework is basically just
another OS you program for, the same way you program for the JVM.  You need
to understand it to develop quality applications for it.
Jamie

I agree that using a tool to make your life easier and your time to 
market faster is a good idea. However, I don't think you can compare a 
framework that wraps an operating system to an operating system (i.e CF 
.NET to PalmOS 6).

It has been my experience, and I imagine yours too, that when a 
developer gets stumped on a problem (in any framework) and they don't 
understand the inner workings of the OS (or whatever is being wrapped), 
they struggle to come up with an acceptable solution. Situations like 
this lead to hacks and bugs and usually a break down in design.

My original point is this. PalmOS, at an operating system level, is 
easier to understand than Windows (whether it be PPC or XP). Palm did a 
good job of keeping simple. Kudos to MS for their .NET framework. It 
makes things easier, but, it is not an excuse to not understand how the 
OS works. Trust me, I love the fact that I can bang out two million 
lines of code by writing 6 function calls in VB.NET!

Brad



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Keith Rollin
At 7:02 PM -0800 3/1/04, Alex wrote:
Just reading the overview of Cobalt makes me wonder whether it is a good
time to port to PPC. If one needs to change that much, might as well picking
up a new platform.
Alex,

What, to you, seems to be that much?  Why would updating to the 
Protein API (which is even optional for running on Cobalt devices) 
seem so overwhelming?  As Ben pointed out, there's really not that 
much:

At 6:44 AM -0600 3/2/04, Ben Combee wrote:
Some minor things change -- you don't have card numbers anymore, you 
use different typedefs.  Some major things change -- you need to 
support update-based windows, you can't hack into system internals.
Is removing unused card number parameters and doing a search/replace 
for UInt32 - uint32_t so onerous that you think porting to PPC is 
easier?

Again, as Ben says:

At 6:44 AM -0600 3/2/04, Ben Combee wrote:
I'd urge you to read just the first few chapters of the Porting 
Apps to Cobalt PDF that's in the Cobalt docs.
After that, I for one would be interested in hearing what 
difficulties you see facing, and why you feel they're so 
insurmountable.

-- Keith Rollin
-- Development Tools engineer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: New Palm OS developer tools available for download

2004-03-02 Thread Keith Rollin
At 9:57 PM -0800 3/1/04, Eron Hennessey wrote:
Tom Frauenhofer wrote:
(Now Linux support - that's something that would be nice to see for 
the Cobalt toolset.)
Anyone know how that project is coming along... the FAQ implies 
they're still looking for dev help on that... given that both 
PRC-tools and Eclipse are already linux-native, I'm wondering how 
much more there is to do on that front... anyone?
We don't yet have a schedule that we can present to you.  However, 
understand that there's a lot of work involved.  If you have PODS 
installed, just take a look in the PalmOSTools directory, or the 
Tools directory in the SDKs.  The tools in there are C/C++ based 
tools, which would need to be ported to other platforms.  Porting 
some of them are obviously trivial, but others are less so.

So, it will take time.  Since we're now focusing on depth (that is, 
getting PODS 1.0 completed) and not breadth, we don't yet have a 
schedule for other platforms.

But, as the PODS FAQ[1] says, contact us if you want to help out on 
those other platforms. :-)

-- Keith Rollin
-- Development Tools engineer
[1] http://www.palmos.com/dev/tools/dev_suite_faq.html

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Mike McCollister
Ben,

I am running the one with PODS and DevNub is indeed running.

Mike

--- Ben Combee [EMAIL PROTECTED] wrote:
 At 10:48 AM 3/2/2004, you wrote:
 When I try to debug an application with the Palm OS Simulator using PODS, 
 I get
 the message:
 
 Error installing files: Error establishing connection to debug target:
 Connection refused: connect
 
 Any idea what the problem is?
 
 I've setup the launch target and it opens up the Palm OS Simulator but 
 there is
 no communication between the eclipse and the simulator.
 
 Are you running the version of the Cobalt Simulator bundled in the Palm OS 
 Developer Suite download?  If not, you need to get the DevNub.prc file from 
 the PODS download and run it to enable the 68K debugger connection.
 
 See http://www.escribe.com/computing/pcpqa/m85669.html for more details.
 
 -- Ben Combee, senior DTS engineer, PalmSource, Inc.
 Read Combee on Palm OS at http://palmos.combee.net/
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Aaron Ardiri
 Is removing unused card number parameters and doing a search/replace 
 for UInt32 - uint32_t so onerous that you think porting to PPC is 
 easier?

removing unused parameters + 
search and replace - BAH!

#define UInt32 uint32_t

i actually use uint32 in all my code, and for old palmos headers i
had the following:

#define uint32 UInt32

:) you dont need to modify your code that much. you can use the
pre-processor to fix all these issues.

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Keith Rollin
At 9:42 AM -0500 3/2/04, Roger Stringer wrote:
Subject: Re: Cobalt porting: No longer single prc for all OS versions
From: John Marshall [EMAIL PROTECTED]
Date: Mon, 01 Mar 2004 19:28:44 +0100
Linke, Andreas [EMAIL PROTECTED] wrote:
 I've been programming Palm OS for 7 years now, but I can't remember
 such a radical change. There seems to be no attempt at compatibility,
 neither binary nor in source.
It seems to me that one summary of the things you've noted is this is a
new operating system.
I think the bigger issue is the lack of an attempt to facilitate one 
set of source code.  Having different programs is less of an issue, 
though PalmSource have provided a way to have a bloated program that 
has 68K and ARM native versions within it.
I think that stating it as lack of an attempt to facilitate one set 
of source code is a bit of an exaggeration.  There was actually a 
very extreme and massive attempt to facilitate just that.  However, 
providing 100% source code compatibility was at odds with other 
goals, such as providing oft-asked features such as multi-threading 
and security.

What you are seeing is trade-offs being made between conflicting 
goals, not a lack of effort on anyone's part.

-- Keith Rollin
-- Development Tools engineer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PalmSourceDeveloperSuite migration

2004-03-02 Thread Keith Rollin
Ben posted in another thread that he'll be addressing this in the 
form of articles and samples.  I'm not sure what his timeline is for 
providing these, but considering that this is his second day of work 
here, I wouldn't expect that it would be before, say, this afternoon. 
:-)

-- Keith Rollin
-- Development Tools engineer
At 11:54 PM -0500 3/1/04, Ryan Bruner wrote:
I downloaded the PalmSource Developer Suite.  It looks nice and all...but I
don't understand at all how you are supposed to migrate from a current
application developed in another environment into this environment.
For example, I have a project with several .c and .h files plus a PilRC
resource file that is generated by a shareware IDE.
I can't figure out how you would import these .c and .h files, and integrate
this PilRC resource file in for further editing...and then, it appears that
you have to write your makefile yourself.  That seems odd, since I thought
the whole point to an IDE was to avoid having to do that yourself.  My
current IDE handles all of this.
I've used Microsoft Visual Studio a lot, as well as cygwin with PilotMag
(shareware IDE for PalmOS development).  But, Eclipse seems a lot different.
Any advice on migration...or a document that covers this type of detail?
All of the documentation I could find with the developer suite is geared
towards starting a whole new project (which, even that isn't clear to me).
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RUN TIME ERROR

2004-03-02 Thread RAHUL CHOUBE
dear friends,
   i am facing a runtime error while creating
socket between two simulators running on desktop.
the error is : 
Odd aligned read from 33007465

this error is occuring at the client side.

Any help on this topic will be thankfully appriciated.

regards 
rahul



Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Backing up Cygwin installation?

2004-03-02 Thread Ralf Zimmermann
On Monday 01 March 2004 20:48, you wrote:
 At 10:18 AM + 2/28/04, Ralf Zimmermann wrote:
 2) The installation of PODS has changed the path of /PalmDev inside
 the cygwin console from (in my case)
   D:\PalmDev\
 to
   C:\Program Files\PalmSource\Palm OS Developer Suite\
 You might want to change this.

 It appears that you have previously existing SDKs in D:\PalmDev\, and
 you've installed new SDKs at C:\Program Files\PalmSource\Palm OS
 Developer Suite\.  The installer had to point to one of them, and it
 chose the SDKs you just installed.

 What would you prefer to see happening?  Should the installer detect
 that /PalmDev exists and install the new SDKs there?

I was not complaining at all. In fact I was astonished, that the installation of PODS 
was this easy with cygwin already on my Windows machine
The only thing to improve might be to provide some more documentation for the 
developers who already have a cygwin installation and do not want to remove that prior 
to installing PODS. All these warnings about destroing an existing cygwin should not 
be necessary.
On my Windows machine PODS is just working fine.

But of course, I am still working on my PODS installation on Linux. But this is a 
totally different story...

Ralf


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread David Fedor
This is going to be a chicken-and-egg-like situation for the forseeable
future. Until Cobalt devices start selling in significant numbers, there
won't be much incentive for developers to port and maintain OS6-specific
branches of their apps.
It is interesting to read this comment in light of the other comments 
saying give us prerelease OS drops way earlier so we can start 
working on it!

Remind me which way we should do things? :-)

Seriously, we have been quite open with information; I gave a sneak 
peek of Palm OS Cobalt multiple times, literally around the globe, 
describing the new infrastructure and what it'd mean for 
applications.  And we have seeded the simulator and tools to hundreds 
of developers under NDA.  It isn't appropriate for us to do 
everything in public, nor does it make sense to have every developer 
working with alpha releases simply because it'd be a waste of most 
people's time.

What we do is a balance: we work with a smallish set of people far in 
advance under NDA, and we publicly release the information and 
simulator months in advance of the first device on shelves.  And we 
simultaneously cater to more conservative sets by having PACE do a 
great job with compatibility so most well-behaved apps don't need to 
change at all.

(As an aside: if an app fails on debug 5.x simulators, why be 
surprised that it fails on 6.x? We put those debug checks in for good 
reasons!)

People who want earlier access have fairly obvious ways to do so: 
work closely with us, learn at our conferences about what's coming up 
(since we generally say it fairly clearly), contribute great bug 
reports and suggestions, write compelling and popular software, etc. 
Those are people we love to seed early.

In other words, I'm very committed to getting developers what they 
need, when they need it, and I think we've been doing pretty well 
balancing the sometimes conflicting constraints.  And I'm very open 
to your feedback.

-David Fedor
PalmSource, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread David Fedor
Konstantin Klyatskin wrote:
We are seriously thinking about quick patch our application for
OS6.x  just to disable DIA recognition as well as other non vital features
causing the problem. Let's go down to 3.5.
In the short term, if you don't want to take advantage of any new 
features, that's precisely what you should do.  Not everyone is ready 
to be on the cutting edge, and there's nothing wrong with being more 
conservative if that's what your market needs.


Who knows what we'll meet next
if even the samples from 5.x SDK do not work.
I'd be interested in any facts behind this somewhat slanderous allegation :-)

-David Fedor
PalmSource, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Keith Rollin
What version of PalmSim are you running, what kind of application are 
you building and trying to debug, and how did you configure your 
Launch Configuration?

-- Keith Rollin
-- Development Tools engineer
At 10:34 AM -0800 3/2/04, Mike McCollister wrote:
Ben,

I am running the one with PODS and DevNub is indeed running.

Mike

--- Ben Combee [EMAIL PROTECTED] wrote:
 At 10:48 AM 3/2/2004, you wrote:
 When I try to debug an application with the Palm OS Simulator using PODS,
 I get
 the message:
 
 Error installing files: Error establishing connection to debug target:
 Connection refused: connect
 
 Any idea what the problem is?
 
 I've setup the launch target and it opens up the Palm OS Simulator but
 there is
 no communication between the eclipse and the simulator.
 Are you running the version of the Cobalt Simulator bundled in the Palm OS
 Developer Suite download?  If not, you need to get the DevNub.prc file from
 the PODS download and run it to enable the 68K debugger connection.
  See http://www.escribe.com/computing/pcpqa/m85669.html for more details.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


icon depth density poll

2004-03-02 Thread Matt Graham
hello, I have kind of a poll question about icons.

We currently support 6 combinations of bit depth and density for our 
icons. All possible combinations of bit depths 1, 2 and 8 and densities 
72 and 144.  This seems kind of overkill to me, so I'm wondering which 
combos are most common and which are relatively uncommon and probably ok 
to drop.  We definitely want 1 bit color  72 and 8 bit double density. 
Other than that I'm not sure.

Thanks,
matt
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Jamie Macleod
Okay I can agree with that. And your right, the Palm is much easier to
program then the PPC using eVC (or whatever it is called).  Palm has done a
great job of maintaining consistent API's across the different devices.

I would consider Frameworks like .Net or JVM an OS from the developers point
of view.  It is basically a different set of API's that you need to program
for, different from the underlying OS.  Thanks for the feed back.

Jamie

Brad Figler [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 
  But in my line of work, who cares if meet some ideal of  expert?  I
need
  to develop solutions, not impress my users with my OS knowledge.  I can
get
  down and dirty with the best of them, but I prefer to have the
development
  tool/environment do it for me.  Anyways the .Net Framework is basically
just
  another OS you program for, the same way you program for the JVM.  You
need
  to understand it to develop quality applications for it.
 
  Jamie
 

 I agree that using a tool to make your life easier and your time to
 market faster is a good idea. However, I don't think you can compare a
 framework that wraps an operating system to an operating system (i.e CF
 .NET to PalmOS 6).

 It has been my experience, and I imagine yours too, that when a
 developer gets stumped on a problem (in any framework) and they don't
 understand the inner workings of the OS (or whatever is being wrapped),
 they struggle to come up with an acceptable solution. Situations like
 this lead to hacks and bugs and usually a break down in design.

 My original point is this. PalmOS, at an operating system level, is
 easier to understand than Windows (whether it be PPC or XP). Palm did a
 good job of keeping simple. Kudos to MS for their .NET framework. It
 makes things easier, but, it is not an excuse to not understand how the
 OS works. Trust me, I love the fact that I can bang out two million
 lines of code by writing 6 function calls in VB.NET!

 Brad

 
 




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: icon depth density poll

2004-03-02 Thread Ben Combee
At 03:05 PM 3/2/2004, you wrote:
hello, I have kind of a poll question about icons.

We currently support 6 combinations of bit depth and density for our 
icons. All possible combinations of bit depths 1, 2 and 8 and densities 72 
and 144.  This seems kind of overkill to me, so I'm wondering which combos 
are most common and which are relatively uncommon and probably ok to 
drop.  We definitely want 1 bit color  72 and 8 bit double density. Other 
than that I'm not sure.
I'd focus on:

72dpi: 1-bit, 8-bit
108dpi: 8-bit
144dpi: 8-bit
Very few monochrome devices run their displays in 2-bit or 4-bit gray by 
default, and there have been no double-density supporting monochrome 
devices released (I'm not counting the Sony T415 here, since it was a 
before density device).

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Mike McCollister
Keith,

I am running with PalmSim verion 6.0.0.0.  I am compiling a simple 68K
application.  

Launch code is sysAppLaunchCmdNormalLaunch
Target is Palm OS Simulator (path pointed to once included in PODS)
Arguments is -preferredLocale:enUS

Mike

--- Keith Rollin [EMAIL PROTECTED] wrote:
 What version of PalmSim are you running, what kind of application are 
 you building and trying to debug, and how did you configure your 
 Launch Configuration?
 
 -- Keith Rollin
 -- Development Tools engineer
 
 
 At 10:34 AM -0800 3/2/04, Mike McCollister wrote:
 Ben,
 
 I am running the one with PODS and DevNub is indeed running.
 
 Mike
 
 --- Ben Combee [EMAIL PROTECTED] wrote:
   At 10:48 AM 3/2/2004, you wrote:
   When I try to debug an application with the Palm OS Simulator using
 PODS,
   I get
   the message:
   
   Error installing files: Error establishing connection to debug target:
   Connection refused: connect
   
   Any idea what the problem is?
   
   I've setup the launch target and it opens up the Palm OS Simulator but
   there is
   no communication between the eclipse and the simulator.
 
   Are you running the version of the Cobalt Simulator bundled in the Palm
 OS
   Developer Suite download?  If not, you need to get the DevNub.prc file
 from
   the PODS download and run it to enable the 68K debugger connection.
 
See http://www.escribe.com/computing/pcpqa/m85669.html for more details.
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/support/forums/


__
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: PODS Can't Connect to Palm OS Simulator

2004-03-02 Thread Keith Rollin
Mike,

See the section in the release notes labelled Debugging 68K Applications with pmgdb 
and Palm OS Cobalt Simulator.  This section is there because of a problem in Palm 
OS(R) Cobalt Simulator that prevents it from being used within Eclipse for 68K 
debugging.  I thought that we said that in the Release Notes, but skimming it just 
now, I don't see that explicitly stated.

This problem will be fixed in the final version of PODS.

-- Keith


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Mike
 McCollister
 Sent: Tuesday, March 02, 2004 1:30 PM
 To: Palm Developer Forum
 Subject: Re: PODS Can't Connect to Palm OS Simulator
 
 
 Keith,
 
 I am running with PalmSim verion 6.0.0.0.  I am compiling a simple 68K
 application.  
 
 Launch code is sysAppLaunchCmdNormalLaunch
 Target is Palm OS Simulator (path pointed to once included in PODS)
 Arguments is -preferredLocale:enUS
 
 Mike
 
 --- Keith Rollin [EMAIL PROTECTED] wrote:
  What version of PalmSim are you running, what kind of 
 application are 
  you building and trying to debug, and how did you configure your 
  Launch Configuration?
  
  -- Keith Rollin
  -- Development Tools engineer
  
  
  At 10:34 AM -0800 3/2/04, Mike McCollister wrote:
  Ben,
  
  I am running the one with PODS and DevNub is indeed running.
  
  Mike
  
  --- Ben Combee [EMAIL PROTECTED] wrote:
At 10:48 AM 3/2/2004, you wrote:
When I try to debug an application with the Palm OS 
 Simulator using
  PODS,
I get
the message:

Error installing files: Error establishing connection 
 to debug target:
Connection refused: connect

Any idea what the problem is?

I've setup the launch target and it opens up the Palm 
 OS Simulator but
there is
no communication between the eclipse and the simulator.
  
Are you running the version of the Cobalt Simulator 
 bundled in the Palm
  OS
Developer Suite download?  If not, you need to get the 
 DevNub.prc file
  from
the PODS download and run it to enable the 68K debugger 
 connection.
  
 See http://www.escribe.com/computing/pcpqa/m85669.html 
 for more details.
  
  -- 
  For information on using the Palm Developer Forums, or to 
 unsubscribe, please
  see http://www.palmos.com/dev/support/forums/
 
 
 __
 Do you Yahoo!?
 Yahoo! Search - Find what you're looking for faster
 http://search.yahoo.com
 
 -- 
 For information on using the Palm Developer Forums, or to 
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: icon depth density poll

2004-03-02 Thread Blake Winton
 which combos are most common and which are relatively uncommon
 I'd focus on:
 
 72dpi: 1-bit, 8-bit
 108dpi: 8-bit
 144dpi: 8-bit
 
 Very few monochrome devices run their displays in 2-bit or 
 4-bit gray by default,

And even if they do (or if you switch them to), PalmOS 3.5 and
up will convert the 8-bit image to 2- or 4-bits for you.  (Maybe
even 3.3 and up.  I forget, since my company has targetted 3.5
for other reasons.)

Later,
Blake.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Link error trying to use Mathlib

2004-03-02 Thread RVRoadie
I get a link error saying pow and sqrt are undefined.

I have a sample app from Garmin that uses Mathlib, and I can add these
functions with no link error.

I have mathlib.h included, mathlib.c in the project tree. Open and
registration functions work fine. What am I missing?

Thanks



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


USB documentation???

2004-03-02 Thread Luke Pasek
Hi,
is there any documentation available for USB driver (Serial Manager) in
palmos 5?
I need to comunicate over default pipe but I konow only how to open,
bulk pipes...

Please help!!!

best regardz
Luke Pasek



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


PODS and 'Simple' project for Cobalt

2004-03-02 Thread Ralf Zimmermann
Sorry to disturb, but I have a problem.
I tried to make my first Cobalt application.

Environment: PODS on Windows Professional2000  (What is professional about 
Windows...???)
Compiling old projects under PODS/Eclipse (with PRC-tools) works fine.

This is what I do:
- New Palm OS Cobalt Application project
- Use template Simple
- Finish
- Build project

Then I get some errors:
-
gcc: installation problem, cannot exec `cc1': No such file or directory
make: *** [SimDebug/AppMain.o] Error 1
make: Target `all' not remade because of errors.
-

What is going wrong?
Any idea?

Ralf


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


MySQL from Palm ?

2004-03-02 Thread Stephane Pinel
I saw that there is a client API for PalmOS to connect to PostgreSQL 
RDBMS. Is there something similar to access MySQL ?

Thanks.

Stéphane

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Ron Nicholson
On Date: Tue, 2 Mar 2004 10:42:09,  Keith Rollin  writes:
However, 
providing 100% source code compatibility was at odds with other 
goals, such as providing oft-asked features such as multi-threading 
and security.

It's not at odds as long as Feature Manager and error returns are
provided on OS versions which don't provide these oft-asked for
features, and the app guidelines recommend informing the user
appropriately (I'm sorry, the only encryption type available on
Palm Pilot OS 1.0 is double ROT13; do you wish to proceed?  :-)


IMHO, YMMV.

Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm   

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: PODS and 'Simple' project for Cobalt

2004-03-02 Thread Keith Rollin
At 11:04 PM + 3/2/04, Ralf Zimmermann wrote:
Sorry to disturb, but I have a problem.
I tried to make my first Cobalt application.
I think that we're trying to encourage people to post problems with 
PODS and other tools to the tools-forum.

Environment: PODS on Windows Professional2000  (What is professional 
about Windows...???)
The price? :-)

Compiling old projects under PODS/Eclipse (with PRC-tools) works fine.

This is what I do:
- New Palm OS Cobalt Application project
- Use template Simple
- Finish
- Build project
Then I get some errors:
-
gcc: installation problem, cannot exec `cc1': No such file or directory
make: *** [SimDebug/AppMain.o] Error 1
make: Target `all' not remade because of errors.
-
What is going wrong?
Dealing with all these threads and questions, I don't recall off the 
top of my head if you've described how you installed PODS.  Is it 
possible that your cygwin\bin directory is not in your $PATH 
variable?  Bring up your System control panel, click on the Advanced 
Tab, click on the Environment Variables button, and check the $PATH 
variables, both for the user and the system.

-- Keith Rollin
-- Development Tools engineer
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread David Fedor
On Date: Tue, 2 Mar 2004 10:42:09,  Keith Rollin  writes:
providing 100% source code compatibility was at odds with other
goals, such as providing oft-asked features such as multi-threading
and security.
It's not at odds as long as Feature Manager and error returns are
provided on OS versions which don't provide these oft-asked for
features...
For simple things, you're right.  And I bet a surprisingly large 
amount of code can in fact be shared, given judicious #includes of 
compatibility headers.  (Much of this discussion is centered around 
it looks like it'll be hard impressions which can only be disproved 
by actually trying.)

But for example, the reason we had to add the DmRef parameter to 
FrmGotoForm, DmGetResource, etc. goes way beyond that.  If the 
programming model assumes a single threaded system (as it did on 5.x 
and prior) then you can have, in effect, a global variable which is 
the linked list of open databases.  But as soon as you support 
threading, where one thread can suddenly open another resource 
database and thus change the result of another thread's DmGetResource 
call... well, that's not something that checking features can get 
around.

Let's stop talking about 100% solutions, since that's basically 
trolling :-)  We did a heck of a lot of work to keep things unchanged 
when possible, and the changes we made were done for specific reasons 
which were judged to outweigh the inconveniences.

-David Fedor
PalmSource, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Ron Nicholson
On Tue, 2 Mar 2004 16:15:49, David Fedor writes:
... And I bet a surprisingly large 
amount of code can in fact be shared, given judicious #includes of 
compatibility headers. 

But for example, the reason we had to add the DmRef parameter to 
FrmGotoForm, DmGetResource, etc. goes way beyond that.

Are there compatibility headers and/or glue code for Cobalt API's
which will compile under existing the OS 4/5 tool chains for building
OS 4/5 compatible applications?  (e.g. a Garnet API FrmGotoForm()
or FrmGotoFormV6() which takes a DmRef parameter?)
This is not a troll.  This is a suggestion about a possibly desirable
direction for OS 4/5/Garnet  support which will allow developers
to adopt the Cobalt API's sooner.

I would like to port my apps once, but still have my code run on
the millions of OS 4/5 devices in the field.


IMHO, YMMV.

Ron Nicholson
HotPaw Productions
 http://www.hotpaw.com/rhn/palm   

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Identifying a notification/event

2004-03-02 Thread Joe Bloggs
Hello Forum,

I am working with the Kyocera 7135 Smart phone and am trying to identify the
event/notification that is generated when the phone is closed (it is a clam
shell style phone).  I have looked through Kyocera's API docs but was unable
to find this information.  Originally, I believed it to be a
sysNotifySleepRequestEvent or similar but this proved not to be the case.

Does anyone know of the event generated when a Kyocera Phone is closed or of
a technique for identifying the event/notification that is being generated?

Many thanks in advance,
Joe



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Chinese / Constructor

2004-03-02 Thread Edward P. Ross
Is there a version of Constructor that will allow me to create resources using Chinese 
text?  It works with Japanese I know and messages in the archives say that there isn't 
a Chinese - enabled one, but they were older posts.

Thanks,
Edward

--
Acrocat Software, L.L.C. 
Do you workout?  Get Results.  Get PDAbs. 
http://www.Acrocat.com/PDAbs 


Study Abroad in the South of France
Summer 2004
http://www.alariviera.com/
--

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Gotchas with Notifications?

2004-03-02 Thread Walt Bilofsky
Are there any special precautions my app needs to take once it's
registered for notifications?  It's running on OS 5.2.

I found that updating the app with a HotSync will move its address, so
then the next notification goes to the wrong place and gives a message
like

Emul68KMain.c, Line:456, 
line  exception at
address 015526D8

So it turns its notifications off before the HotSync and back on again
after.

But I have a few users still reporting this error.  Are there any
other situations that might move the app, for which I need to take
precautions?

Thanks for any help.

- Walt Bilofsky

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Chinese / Constructor

2004-03-02 Thread Ben Combee
At 07:40 PM 3/2/2004, you wrote:
Is there a version of Constructor that will allow me to create resources 
using Chinese text?  It works with Japanese I know and messages in the 
archives say that there isn't a Chinese - enabled one, but they were older 
posts.
The English version of Constructor 1.9.1 supports Chinese text... look at 
the examples in the 5.0 R3 SDK that have zhCh locale resource files.  You 
need to be running on a Win2K/XP machine with Chinese language support to 
use it, IIRC.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read Combee on Palm OS at http://palmos.combee.net/


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Gotchas with Notifications?

2004-03-02 Thread Chris Faherty
On Tuesday 02 March 2004 08:53 pm, Walt Bilofsky wrote:

 I found that updating the app with a HotSync will move its address, so
 then the next notification goes to the wrong place and gives a message
 like
(snip)
 So it turns its notifications off before the HotSync and back on again
 after.

You should also be aware of procedure alarms.  I believe anything which is 
registered as a callback will give you problems when your function moves.  
But, the thing is, you must use the original function address in order to 
unregister/cancel the pending operation.  With procedure alarms, you will 
need to store the original function address within a feature so that you can 
cancel/reschedule a pending alarm in your hotsync code.

-- 
/* Chris Faherty [EMAIL PROTECTED] */

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: IR Print

2004-03-02 Thread Alan Ingleby
Davi Carvalho [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I am trying to do a program that prints in an infrared printer. Any of you
 knows a simple program that uses the infrared comunication and so I can
take
 some clues?

If you *must* roll-your-own, look for ir-ping.  It's a sample app with
full source code, which should get you started.

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Purchasing Palms

2004-03-02 Thread Cliff
Once, long ago, when our company first became a Palm Developer, we were able
to purchase Palms at reduced prices for use in developing.  Is that program
still in existence and if so, how does one go about accessing it if one is
still a Palm Developer?

Thank you.

Cliff

-- 


-
Eliminate annoying spam!
My mailbox is protected by iHateSpam, the #1-rated spam buster.

http://www.ihatespam.net




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Purchasing Palms

2004-03-02 Thread Colin Mitchell
Unless someone knows something I don't, there's not much of a program here
for you.  However, Palm does sell 'open box' units at tantalizingly low
prices...



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On 
 Behalf Of Cliff
 Sent: Tuesday, March 02, 2004 10:16 PM
 To: Palm Developer Forum
 Subject: Purchasing Palms
 
 Once, long ago, when our company first became a Palm 
 Developer, we were able to purchase Palms at reduced prices 
 for use in developing.  Is that program still in existence 
 and if so, how does one go about accessing it if one is still 
 a Palm Developer?
 
 Thank you.
 
 Cliff
 
 -- 
 
 
 -
 Eliminate annoying spam!
 My mailbox is protected by iHateSpam, the #1-rated spam buster.
 
 http://www.ihatespam.net
 
 
 
 
 --
 For information on using the Palm Developer Forums, or to 
 unsubscribe, please see http://www.palmos.com/dev/support/forums/
 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Purchasing Palms

2004-03-02 Thread Cliff
So Palm no longer offers reduced pricing to developers?

-- 


-
Eliminate annoying spam!
My mailbox is protected by iHateSpam, the #1-rated spam buster.

http://www.ihatespam.net


Colin Mitchell [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Unless someone knows something I don't, there's not much of a program here
 for you.  However, Palm does sell 'open box' units at tantalizingly low
 prices...



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On
  Behalf Of Cliff
  Sent: Tuesday, March 02, 2004 10:16 PM
  To: Palm Developer Forum
  Subject: Purchasing Palms
 
  Once, long ago, when our company first became a Palm
  Developer, we were able to purchase Palms at reduced prices
  for use in developing.  Is that program still in existence
  and if so, how does one go about accessing it if one is still
  a Palm Developer?
 
  Thank you.
 
  Cliff
 
  -- 
 
 
  -
  Eliminate annoying spam!
  My mailbox is protected by iHateSpam, the #1-rated spam buster.
 
  http://www.ihatespam.net
 
 
 
 
  --
  For information on using the Palm Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
 






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re[2]: Base PRC and Overlay localization

2004-03-02 Thread Ken Krugler
Thanks for this info.
Could you tell me where in constructor I can check the PRC's DB
header?
In constructor, in the project settings, there is a button Auto
Generate Header file if I click on it, I can provide a header file
name. Do I have to use that ?
As the original program is not one of mines, I can't change anything
in the code.
It's not a Constructor setting. How the DB header name gets set 
depends on what tool chain you're using to generate the final PRC. If 
you were using CodeWarrior and PalmRez, for example, then you'd need 
to change the PalmRez prefs setting for your project.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
http://www.transpac.com
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Japanese

2004-03-02 Thread Ken Krugler
  I'm guessing that the strings you're referring to are being displayed
 in a dialog by POSE -
No, the text was drawn to the screen using WinPaintChars.
Then it should work, if you're using a Japanese ROM, as there's no 
desktop OS support involved.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
http://www.transpac.com
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Re: code warrior 9.3 runtime library bug?

2004-03-02 Thread koreapalm
Sure I'm fit 4 integer model in my project.

And I was no error in codewarrior 9.2 version.
It's occur in 9.3 version.

Please help..


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Purchasing Palms

2004-03-02 Thread SLO Revo News
Once, long ago, when our company first became a Palm Developer, we were able
to purchase Palms at reduced prices for use in developing.  Is that program
still in existence and if so, how does one go about accessing it if one is
You can get modest discounts thru the Palmone PluggedIn developer program.

Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Identifying a notification/event

2004-03-02 Thread SLO Revo News
Does anyone know of the event generated when a Kyocera Phone is closed or of
a technique for identifying the event/notification that is being generated?
You might want to try using PDQSigRegister to register for _all_ PDQ 
events, then log them to see what happens (if anything) when you 
close the lid.

Regards,
Steve Mann
--
SLO Revo, Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
---
805.784.9461, 805.784.9462 (fax)
http://www.slorevo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Cobalt porting: No longer single prc for all OS versions

2004-03-02 Thread Konstantin Klyatskin
David,

Actualy, I'm talking about specific sample rather then sampleS. It's
SampleCollapse_DR2.zip PalmSource has distributed with some revision of
SDK5. Application codeflow from this sample seems to follow SDK guides
absolutely and it works as it should for preCobalt devices (even with debug
roms). For Cobalt it doesn't work. That's the fact.

I have tried to find some updated sample at knowledge base (as you noted  it
exists there) but through 33 answersfFound  for Answer Type = Sample code
there was nothing stayed closed.

Probably you have answered it at pef-forum. Sorry for doubling the thread,
but having been subscribed in digest mode I feel delays with pef feedback.

--
Konstantin


David Fedor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Who knows what we'll meet next
 if even the samples from 5.x SDK do not work.

 I'd be interested in any facts behind this somewhat slanderous allegation
:-)

 -David Fedor
 PalmSource, Inc.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Gotchas with Notifications?

2004-03-02 Thread Scott Dreslinski
Depends on the notification and how you registered it.

If you are getting the notification as a launch code, then there should be
no issue with your app moving.  If you are registering your notification
for a direct function callback, then you need to lockdown your code resource
so it does not move while you are registered.

--
Scott Dreslinski
[EMAIL PROTECTED]
www.digitsense.com

Walt Bilofsky [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Are there any special precautions my app needs to take once it's
 registered for notifications?  It's running on OS 5.2.

 I found that updating the app with a HotSync will move its address, so
 then the next notification goes to the wrong place and gives a message
 like

 Emul68KMain.c, Line:456,
 line  exception at
 address 015526D8

 So it turns its notifications off before the HotSync and back on again
 after.

 But I have a few users still reporting this error.  Are there any
 other situations that might move the app, for which I need to take
 precautions?

 Thanks for any help.

 - Walt Bilofsky




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/