IP Routing Table

2005-12-07 Thread Lance Gregory








Hi all,



I need to get some info from the IP Routing table on a
Treo600 or Treo650. Where is this located? Are there any APIs to get to
it, and if not, is there another way to look at the info there?



Lance






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





Files and Databases on the Palm.

2004-09-27 Thread Lance Gregory
Hi,

Is it possible to open a Palm Database with the FileOpen Palm API call?
I understand how Databases work and how files work. Are they
cross-compatible? If it is possible is there an example somewhere I can
see?

Thanks,
Lance

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


SD Card slot

2004-08-23 Thread Lance Gregory
Hi all,

Does anybody know how to disable the SD Card slot? I have created my own
launcher, but if an SD Card is inserted the system launcher comes up. I
get the notification that a card was inserted, but no matter what I do
in my notification handler, it doesn't stop the device from going to the
system launcher. I have actually been able to get something to work if
the card is already formatted, but if the card is unformatted and the
user selects the option to format, it formats the card and goes to the
system launcher. Is there a way to get it to either not launch the app
to format the card or return to the preference set launcher?

Thanks,
Lance

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


Procedure alarm routine

2003-12-12 Thread Lance Gregory
Hi,

I have read through the archives, and I have read the palm documentation
on procedure alarms. I have implemented a shared library so my call back
function will still be valid when the alarm goes off. I have several
questions.

1. when I create my shared library, do I need to call SysLibInstall, or
is SysLibLoad good enough?

2. To use my shared library I need to include the header file from my
shared library to use the library calls right?

3. I am getting a compile error illegal use of inline function when I
call AlmSetProcAlarm(). I am calling this from the sysNotifySleepNotify
notification event. The illegal inline error is claiming that the
AlarmSetAlarm is the illegal inline function not the AlmSetProcAlarm.

Thanks for any help
Lance

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


CodeWarrior Crashes

2003-11-25 Thread Lance Gregory
Hi,

I am using CodeWarrior 9 right now. I am debugging on an OS4.1 emulator.
Every time I stop debugging CodeWarrior crashes. This just started
happening out of the blue. Is there a setting somewhere that I
accidentally set?

Thanks

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


Exchange Library

2003-11-06 Thread Lance Gregory
Hi,

Is it possible to use the exchange library to communicate with the
desktop from the palm over USB?

Lance

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


Hot Sync Manager

2003-11-06 Thread Lance Gregory
Hi,

Does anybody know of a 3rd party hot sync manager on the palm device? I
know linux has a desktop verion of the hot sync manager. But does
anybody know of that sort of thing on the palm side?

Lance

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


Using the Serial manager for USB

2003-11-05 Thread Lance Gregory
The palm documentation for using the serial manager for USB is very
sparse. I can open a serial port, but every time I try to send data
through that port I get a time out error. In the SrmExtOpen call there
is a SrmOpenConfigType struct that has a drvrDataP for specific data
about the driver. I suspect my calls might not be working due to the
fact that I am opening the port with this value as NULL. What should go
here?

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


Setting up a RAS server on Windows XP

2003-10-30 Thread Lance Gregory
Hi,

I have read in the palm-dev-forum archives several discussions about
this, but I didn't understand some of the answers. It appeared that the
only way to get a connection from a non-wireless device to your desktop
is through a RAS server. Is that correct? Also, this can't seem to be
done through USB. Since most Palm devices being sold now only come with
a USB cradle this is a problem. Is there a way to get a connection from
the palm handheld to the desktop through the USB?

Thanks,
Lance Gregory

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


DmResizeRecord on T3 device

2003-10-28 Thread Lance Gregory
Hi,

I looked through the archives to see if there was already a thread on
this subject and there was. But, it seemed to end with the writer
solving the problem without using DmResizeRecord.

What happens is: I resize a record. I lock the return from the resize. I
do a writecheck and it returns just fine. I do a DmWrite with no errors.
I then unlock the record data. I Release the record. I close the
database. When I close it, it give me a DmWriteCheck error and freezes.
This code works just fine on the Simulator, the emulator and a T2
device. But, not on the T3. Is there a known issue here and a
workaround?

Thanks
Lance

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


resource types

2003-09-10 Thread Lance Gregory
Is there a list of resource types defined somewhere? I can't seem to
find a list in any of the palm documentation. I am talking about the 4
letter identifiers that are associated with resources in a resource
database.

Thanks,
Lance

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


RE: Developing a launcher

2003-09-09 Thread Lance Gregory
Hi,

I am not familiar with what HB++ is. I appreciate your answer.

Thanks,
Lance

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2003 12:51 PM
To: Palm Developer Forum
Subject: Re: Developing a launcher

Hi Gregory,
I manage to do my own Launcher by using a simple sample provided with
HB++;
See the MiniLauncher sample.
Bye
Colmerauer

Lance Gregory [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

Hi.

I have seen a lot of PalmOS launchers out there. Is there a place I
could go to learn how to do this myself?

Thanks,
Lance




-- 
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: Developing a launcher

2003-09-09 Thread Lance Gregory
Is there a way to make my launcher run instead of the default palm
launcher? This MiniLauncher does not do this that I could see. I can't
overwrite the existing Palm launcher by just naming mine Launcher
because it won't let me install a newer version.

Thanks,
Lance

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 08, 2003 12:51 PM
To: Palm Developer Forum
Subject: Re: Developing a launcher

Hi Gregory,
I manage to do my own Launcher by using a simple sample provided with
HB++;
See the MiniLauncher sample.
Bye
Colmerauer

Lance Gregory [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

Hi.

I have seen a lot of PalmOS launchers out there. Is there a place I
could go to learn how to do this myself?

Thanks,
Lance




-- 
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/


Developing a launcher

2003-09-08 Thread Lance Gregory
Hi.

I have seen a lot of PalmOS launchers out there. Is there a place I
could go to learn how to do this myself?

Thanks,
Lance

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


notification manager

2003-09-08 Thread Lance Gregory
Where is the best place to put your notification register functions? I
have read the documentation and it doesn't say.

Lance

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


How to make links

2003-03-27 Thread Lance Gregory
Hi all,

I am working on a project and the company wants me to do links. From 
looking at examples in other applications it seems like a link is simply a 
button that brings up another form. But I can't seem to be able to 
underline the text on my button. Anybody know how to do this?

Thanks,
Lance Gregory 

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


fonts

2002-04-02 Thread Lance Gregory

Is it possible to create a font resource and not have it connected to a
certain project? Can I have an independant resource on the palm device that
can be accessed from several different apps? If this is possible, how could
it be accomplished?

Lance Gregory

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



.r in pilrc and and question about loading libraries

2002-03-29 Thread Lance Gregory

I thank you all for your responses on the .r in pilrc. I used Heather's
suggestion and it worked great. BTW I have CodeWarrior 6. When I started
programming PalmOS we were using CodeWarrior 4. We moved to 5 and then to
6, but there always seemed to be some issues with these environments. So my
company doesn't want to upgrade any further until we get more info on how
stable the environment is. Anyway...

I have noticed that in my code(inherited from somebody) that there is a
syslibopen call that uses a name.lib (noting the .), but the actual DB on
the terminal is namelib(without the .). Does this API simply ignore any .'s
in names? This call does work correctly in the form it is at the moment. I
was just curious about the discrepancy. It is the first argument for
syslibopen.

Lance Gregory

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



.r file from pilrc in CodeWarrior

2002-03-28 Thread Lance Gregory

I have used the Code Warrior plugin to create .r font resource file. It
creates the file just fine, but it won't let me add the file to the
project. Any ideas why that is? I can add other .c and even the .rpc file
to my project without any problems.

Lance Gregory

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



Re: Font Resource Format

2002-03-27 Thread Lance Gregory

I have now gotten all setup with pilrc. I am trying to use pilfont. it
takes a binary file, and in the readme.txt it says to extract a binary font
file from the ROM. How do I do this? I have looked at the files in the ROM
and can't see any font files in there. Are they embedded in some other PRC?

Lance Gregory

At 07:08 PM 3/25/02 +0100, you wrote:
On Mon, 25 Mar 2002, Lance Gregory wrote:
 Can anybody point me to where I might find the format for the font
 resources. I would like to use the FntDefineFont() API call, but can't seem
 to find the format for a font file anywhere.

  pilrc has to what i know the best reverse engineered work for the
  font formats :) it is covered with warnings, and, i am not too sure
  if someone at palm has actually gone over it to verify it :)

// az
[EMAIL PROTECTED]
http://www.ardiri.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: Query - Emulating Multithreaded Environment in Palm

2002-03-26 Thread Lance Gregory

I have actually done this already(move from Windows CE with multiple
threads, to the Palm OS). How I did it was: capture the nilEvent and have
it run the code to check to see if anything has arrived at the recv port.
It seems to emulate a multithread very well. Basically just put everything
you want for the 2nd thread in the nilEvent.

Lance Gregory
[EMAIL PROTECTED]

At 11:23 AM 3/26/02 -0500, you wrote:
If you want to port to the palm, and your app is in C/C++, then the answer 
is not easily.  The best thing you could do is to do a NetLibSelect() on 
your socket with a very sort wait time (say 0) and have the event loop wait 
for a short time as well.  If you get a timeout from the select then you 
read the data from the socket and do what you have to do.

For Java it's a different story - most of the VM's for the Palm support 
some form of multithreading (they have to given Java's communications 
framework, although it's supposed to be fixed in the 1.4 spec).  There is 
the overhead of the VM, however, and you really can't run that many threads 
on the device.

I've written several apps for the Palm that do the NetLibSelect(), it works 
very well. The key is to make sure your processing of the data doesn't take 
a long time (or long enough that users are bothered by the hesitation).  In 
all honesty, there are very few apps for any handheld platform that should 
be doing long processing on incoming data which also require near-constant 
user interaction (I said few, not none).  Multithreading can help alleviate 
some of these problems, but it's not a panacea (it's not too hard to bog 
down a processor with some bad code, be it a Dragonball or a Pentium IV at 
2+ GHz...).

At 12:00 AM 3/26/2002 -0800, Vivek Desai [EMAIL PROTECTED] wrote:
I am supposed to port my Windows CE application to PalmOS. My WinCE
application uses Windows Sockets wherein a thread is dedicated to recv()
incoming messages. Palm is a single threaded platform. So is there any
workaround to emulate a Multithreaded environment in Palm, or atleast a dual
threaded environment.

I know there will be developers who feel this is something that defies the
very basics of Palm computing but I am afraid its difficult to convince my
Project Managers.

comments/suggestions welcome.

regards,
Vivek


Tom Frauenhofer, [EMAIL PROTECTED]
http://www.beret.com
Playing harp takes lots of luck, a love of music, and a pick-up truck. - 
Valentine Frauenhofer


-- 
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/



Font Resource Format

2002-03-25 Thread Lance Gregory

Can anybody point me to where I might find the format for the font
resources. I would like to use the FntDefineFont() API call, but can't seem
to find the format for a font file anywhere.

Thanks
Lance Gregory

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



Double Byte API

2001-04-05 Thread Lance Gregory

I need to know the API for displaying a double byte Asian character.
WinDrawChar(..) displays a single byte character. Is there a seperate API
for double byte characters, or do I use WinDrawChar with cerain parameters?
I already have a terminal with the Japanes Palm OS on it.

Lance Gregory 

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