Hlep! GCC Link Error!

2002-02-15 Thread Hong Yu

My application now grow a little bit larger than before.

Now every time when I compile it, it return error message like this:

PRC-TOOLS/H-I586-CYGWIN32/M68K-PALMOS/LIB/LIBCRT.A(hooks.o)
(.text+0xa6):hooks.c: relocation truncated to fit: DISP16 start

How to fix this?

Thanks a lot in advance.

--
Hong Yu



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



Re: Hlep! GCC Link Error!

2002-02-15 Thread Wojciech Godynski

Hong Yu wrote:

My application now grow a little bit larger than before.

Now every time when I compile it, it return error message like this:

PRC-TOOLS/H-I586-CYGWIN32/M68K-PALMOS/LIB/LIBCRT.A(hooks.o)
(.text+0xa6):hooks.c: relocation truncated to fit: DISP16 start

How to fix this?

Thanks a lot in advance.

--
Hong Yu



Your code is too big. You have to create multi-segment appl.

Wojtek





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



Re: OS 5 == High Development Cost?

2002-02-15 Thread Juan de Dios Santander Vela

From: Regis Nicolas [EMAIL PROTECTED]
Sent: Friday, February 08, 2002 7:09 PM

quote
It also works on 9x. PalmOS 5.0 has an abstraction layer which allows the
same code to run native on several different HW, including WinTel platforms.
Note that unlike POSEr the code runs native, thus very fast and easily
debuggable with a native debugger (pick yours).
As Jim mentioned there is no Mac version of the simulator yet mostly because
of the endianess issue. There is no technical issue with making such a
version except that the OS must be made endian-agnostic. When we ported
PalmOS to ARM we tried to be careful when removing Big-endian dependency not
to introduce Little-endian dependency but this is not a straight thing and I
am pretty sure that it would not work directly on a big-endian processor.

Your best way to ensure the widest compatibility is to test your app on both
POSEr and PalmSim.
Furthermore, PalmSim is a bringing some new features from POSEr making your
debugger life easier. This includes a heap dump, event log, database dump,
MUCH faster Gremlins and several other features. Check them out.

/quote

The PowerPC had, from the beginning, means to switch data endianness, and
from the G3, Motorola removed the severe penalty the little-endian mode
imposed on processing speed ---that's why Virtual PC 4 and 5 only run on G3
or better processors--. If you set Mac OS X as 'the Mac development
platform', you have the guarantee of a PowerPC G3 or better. Anyway, you can
impose a G3 as the minimum for the Mac version of the PalmSimulator, just as
you removed 68k support from POSE, and have it run also on top of Mac OS 9,
using maybe even the same libraries you're using...


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



Re: datamgr.c, Line:8624, Records left busy in closed unprotected DB

2002-02-15 Thread Max Bian

Does unprotected DB mean anything special?

Max
--- Steve Mann [EMAIL PROTECTED] wrote:
 datamgr.c, Line:8624, Records left busy in closed unprotected DB
 
 You did a DmGetRecord with doing a matching DmReleaseRecord.
 
 Regards,
 Steve Mann


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



Re: Hlep! GCC Link Error!

2002-02-15 Thread Max Bian

Try to relocate the functions in the file or the link order first. If this
doesn't help, try to cut some text strings in the source code.

If all these fail, go to multi-segment.

Max
--- Wojciech Godynski [EMAIL PROTECTED] wrote:
 Hong Yu wrote:
 
 My application now grow a little bit larger than before.
 
 Now every time when I compile it, it return error message like this:
 
 PRC-TOOLS/H-I586-CYGWIN32/M68K-PALMOS/LIB/LIBCRT.A(hooks.o)
 (.text+0xa6):hooks.c: relocation truncated to fit: DISP16 start
 
 How to fix this?
 
 Thanks a lot in advance.
 
 --
 Hong Yu
 
 
 
 Your code is too big. You have to create multi-segment appl.
 
 Wojtek
 
 
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/tech/support/forums/


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



Re: Hlep! GCC Link Error!

2002-02-15 Thread Hong Yu

Anybody please tell me how to make a multi_segment appl?
Since my appl will keep growing.

Thanks!

Hong Yu
--
Eusoftware Co., Ltd.
www.eusoftware.com
Max Bian [EMAIL PROTECTED] wrote in message news:76762@palm-dev-forum...

 Try to relocate the functions in the file or the link order first. If this
 doesn't help, try to cut some text strings in the source code.

 If all these fail, go to multi-segment.

 Max
 --- Wojciech Godynski [EMAIL PROTECTED] wrote:
  Hong Yu wrote:
 
  My application now grow a little bit larger than before.
  
  Now every time when I compile it, it return error message like this:
  
  PRC-TOOLS/H-I586-CYGWIN32/M68K-PALMOS/LIB/LIBCRT.A(hooks.o)
  (.text+0xa6):hooks.c: relocation truncated to fit: DISP16 start
  
  How to fix this?
  
  Thanks a lot in advance.
  
  --
  Hong Yu
  
  
  
  Your code is too big. You have to create multi-segment appl.
 
  Wojtek
 
 
 
 
 
  --
  For information on using the Palm Developer Forums, or to unsubscribe,
please
  see http://www.palmos.com/dev/tech/support/forums/


 =
 http://www.weirdwww.com/

 __
 Do You Yahoo!?
 Got something to say? Say it better with Yahoo! Video Mail
 http://mail.yahoo.com





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



Need help with input type=image tag

2002-02-15 Thread WBIR Webmaster

I'm trying to use a small form that has images for buttons utilizing:

'input type=image name=q3 src=pda_3.jpg'

tag.  I found in the Web Clipping Guide that the type my be  TEXT, PASSWORD,
CHECKBOX, RADIO, SUBMIT, RESET, HIDDEN, TIMEPICKER, DATEPICKER.

I need a way to allow the palm to select x,y coordinates on a small image.
I also noticed in the web clipping guide that image mapping is not
supported.  Is there anyway that I can have my web clipping application
select an area on an image.  The form with the input type image with a get
method passes the x and y coordinate selected on the image.  This is what
I'm trying to find a way to do.

Can anyone  make any suggestions on how to do this?

Jennifer Madden
[EMAIL PROTECTED]
WBIR-TV
1513 Hutchinson Avenue
Knoxville, TN  37917
865-541-5362 (direct line) or 865-637-1010 (main)





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



Tap causes reset

2002-02-15 Thread Stephen Bentley

Hello.  I've had a Palm app that's been running fine from OS v3.1
until 4.0.  On one form of my app, I allow the user to exit the form
by tapping the Graffitti area (instead of cluttering the form with a
button).  It has worked fine up until OS 4.0.  Now tapping the
graffitti area causes a crash on an m505.  When running on the emulator I
get
this error in the event loop:

... called a function in a shared library using a reference number of
25974. This reference number does not correspond to any currently
installed library and is invalid.

Any ideas would be appreciated very much

Stephen Bentley




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



Re: Hlep! GCC Link Error!

2002-02-15 Thread Brian Smith

On Fri, 15 Feb 2002, Hong Yu wrote:

 Anybody please tell me how to make a multi_segment appl?
 Since my appl will keep growing.

http://prc-tools.sourceforge.net/doc/prc-tools_3.html

---
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Echelon Teasers: NSA CIA FBI Mossad MI5 Cocaine Cuba Revolution Espionage


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



Re: substring

2002-02-15 Thread Dave Lippincott

Parse the string yourself.

Here's a simple algorithm that could do it:

i=0
j=0
loop until strSource[i] = NULL
{
if strSource[i] = ','
{
j++
}
else
{
strStr[j][i] = strSource[i]
strStr[j][i+1] = NULL
}
i++
}
Make sure your target strings have adequate memory allocated to them,
otherwise the whole routine could blow up.
I'd also suggest getting a book that has some entry level C/C++ algorithms
in it.  I don't have one in mind at the moment but there are several decent
ones out there I've used over the years.

- Original Message -
From: prasad [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 12:56 PM
Subject: substring


 actually this is the function save the list items in one record with ,
seperator.
 forexample : the list items are 3.and save as str1,str2,str3 as a one
record.
 now i want to retrive these record and set to list items.
 like str1
  str2
  str3.
 i retriev these record(str1,str2,str3) from database but i unable to
seperate these strings and set to list items.
 i use StrStr (CharPtr str,,) function for sbstring. but this is not
usefull.
 any one have idea please tell me.

 thanks.
 laxma.




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



POSE 3.4

2002-02-15 Thread Russell K Bulmer

For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
posted on the PalmOS dev site (http://www.palmos.com/dev).

There're a hole bunch of updates, mostly bugfixes from my quick scan of the
docs.  However there is one big addition - memory leak detection.  I've just
run this on our app that I know to be full of them - and it's great -
details the chunk address, where it was allocated (including a stack trace)
and the actual contents of the chunk!  This is just fantastic - well done to
Keith and co who do the emulator - this is really useful!


Cheers
Russell



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



Closing open databases

2002-02-15 Thread Ralph Krausse

Is there a way I can close a database that has been opened by a
different application, I.E. one I don' t have an active handle to?

Thanks
Ralph Krausse

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



Re: Fonts

2002-02-15 Thread Curt Allen

I am a total newbee to Palm development so please forgive my cluelessness.
I do not know what the Digest is - I'm guessing something like Google?  How
do I access it?

I took your advice and downloaded the xFont application.  I think it's going
to work perfectly.  Thank you.  Now, my last question (hopefully).  Now that
I've created a larger font, how do I get it into my application?  From what
I've read, I gather that I have to import it into my source as a resource.
How do I do this?  I understand that this process may require a lengthy
explanation and if you don't want to get into it here, that's cool.  I'm
planning on making a trip to my local Barnes and Noble this weekend anyway
to pick up a book or two on Palm development.

TIA for everything!
Curt Allen

Laurence Mee [EMAIL PROTECTED] wrote in message
news:76713@palm-dev-forum...

 I believe that this has been asked before (29th Nov 01 - 30th Nov 01
 Subject: Large Custom Fonts) so should be on the Digest.

 Essentially you can use XFont to create large fonts
 (http://www.members.tripod.com/pericak/font_description.htm) and pilRC
 (http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=manual) to
 include it in the resources.

 Laurence Mee.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Curt
 Allen
 Sent: 14 February 2002 22:43
 To: Palm Developer Forum
 Subject: Fonts


 I'm using a Palm m100 to develop a demonstrational user interface for an
 embedded handheld project and I need larger font sizes than what are
 available using the text() call in graphics mode.  I'll need about 5
 different sizes ranging from 6x8 to 48x56 pixels.  What can I do?  Is
there
 anything available that I can get my hands on?  Am I stuck bit-mapping
each
 letter?

 Thank you
 Curt Allen




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






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



Re: POSE 3.4

2002-02-15 Thread Aaron Ardiri

On Fri, 15 Feb 2002, Russell K Bulmer wrote:
 There're a hole bunch of updates, mostly bugfixes from my quick scan of the
 docs.  However there is one big addition - memory leak detection.  I've just
 run this on our app that I know to be full of them - and it's great -
 details the chunk address, where it was allocated (including a stack trace)
 and the actual contents of the chunk!  This is just fantastic - well done to
 Keith and co who do the emulator - this is really useful!

  yes, very useful :)

// 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/tech/support/forums/



Digest location. Was - RE: Fonts

2002-02-15 Thread Avilla, Dane

Try http://www.escribe.com/computing/pcpqa

That has a searchable archive that is most helpful.

Cheers,

-DGA

 -Original Message-
 From: Curt Allen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 15, 2002 10:09 AM
 To: Palm Developer Forum
 Subject: Re: Fonts
 
 
 I am a total newbee to Palm development so please forgive my 
 cluelessness.
 I do not know what the Digest is - I'm guessing something 
 like Google?  How
 do I access it?
 
 I took your advice and downloaded the xFont application.  I 
 think it's going
 to work perfectly.  Thank you.  Now, my last question 
 (hopefully).  Now that
 I've created a larger font, how do I get it into my 
 application?  From what
 I've read, I gather that I have to import it into my source 
 as a resource.
 How do I do this?  I understand that this process may require 
 a lengthy
 explanation and if you don't want to get into it here, that's 
 cool.  I'm
 planning on making a trip to my local Barnes and Noble this 
 weekend anyway
 to pick up a book or two on Palm development.
 
 TIA for everything!
 Curt Allen
 
 Laurence Mee [EMAIL PROTECTED] wrote in message
 news:76713@palm-dev-forum...
 
  I believe that this has been asked before (29th Nov 01 - 30th Nov 01
  Subject: Large Custom Fonts) so should be on the Digest.
 
  Essentially you can use XFont to create large fonts
  
 (http://www.members.tripod.com/pericak/font_description.htm) and pilRC
  
 (http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=m
anual) to
 include it in the resources.

 Laurence Mee.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Curt
 Allen
 Sent: 14 February 2002 22:43
 To: Palm Developer Forum
 Subject: Fonts


 I'm using a Palm m100 to develop a demonstrational user interface for an
 embedded handheld project and I need larger font sizes than what are
 available using the text() call in graphics mode.  I'll need about 5
 different sizes ranging from 6x8 to 48x56 pixels.  What can I do?  Is
there
 anything available that I can get my hands on?  Am I stuck bit-mapping
each
 letter?

 Thank you
 Curt Allen




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






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




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



Re: Pose and netlib

2002-02-15 Thread SebNob

Hi bill

Maybe it's a problem related to the DNS. I think that POSE doesn't get
the DNS from the host computer. If you have a web server on your LAN, try
accessing it by it's IP. Personnally i connect my POSE with a win RAS and it
work fine.

bill [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]

 I am just redirecting netlib to the TCP/IP stack of the host computer like
I
 am supposed to.  I have no prroblem with the program on the palm it is
only
 when trying to use my cable connection, or even a modem connection, I
always
 get a time out error, it never works.  Pose does not seem to know how to
get
 to the internet.
 thanx
 bill

 - Original Message -
 From: Palm Dev Forum [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Thursday, February 14, 2002 7:19 PM
 Subject: Re: Pose and netlib


  I'm sure someone, even me, might be able to give you some help, but you
 just
  haven't told us enough about your problem.  Yes, I've had Connection
Time
  Outs with POSEr and Network connection to Internet.  And it's worked
too.
  We use CDPD modems, and when you are out of a service area or in a steel
  building, you get them, too.  Sometimes your ISP goes down, servers even
 go
  down.  You have to program for them.  But I assume that you have some
 other
  problem.  Can you give us some details please.
  
  Gary Gorsline
  Easy Business Software
  == End of Message ==
 
  - Original Message -
  From: bill [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Thursday, February 14, 2002 5:31 PM
  Subject: Pose and netlib
 
 
   Has anyone go the error Connection timed out when trying to test an
   aplication on pose that uses to tcp/ip of the host computer to get to
 the
   internet... And if you have, did you fix it and if so...how???
   thanx, I am desperate.
   bill
  
  
  
   --
   For information on using the Palm Developer Forums, or to unsubscribe,
  please see http://www.palmos.com/dev/tech/support/forums/
  
 
 
  --
  For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/tech/support/forums/






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



Linker error Near data segment is bigger than 64k

2002-02-15 Thread Lubomyr Humetsky

Hi,

I am developing Palm Application using latest version of POL. On some stage
of development
process I received Near data segment is bigger than 64k linker error. I
know about
segment structure of the Palm Applications and also I know that data segment
should  be
less than 64k. Code of my Application is divided between 7 segments and I
think that data
segment does not have more than 64k information. This error occurs after I
added a new pies
of code to the Application. When I comment (remove) this new code (or some
piece of old
code) I do not receive above linker error. Also, I can define global
variable with size
~20k and my Application is successfully linked. More over the full release
version (all
commented code is included) is successfully linked.
I do not understand where the problem is. How can I resolve it?

P.S. I have read all messages in this conference with the same subject but I
have not found answer for my problem.

Thanks,
Lubomyr Humetsky.
[EMAIL PROTECTED]



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



Re: POSE 3.4

2002-02-15 Thread Max Bian

Very useful indeed.  I immediately tried it and it detected two memory leaks. 
However I don't understand what they mean.  The full log file is here:

How do I make sense of stuff like Unknown @ 0x00051E52?

Thanks.

Max

0.000:  WARNING: 
0.000:  WARNING: Memory Leaks
0.000:  WARNING: 
0.000:  WARNING: Begin Memory Leak Dump
0.000:  WARNING: 
0.000:  Non-relocatable chunk leaked at 0x0003B83C, size = 32
0.000:  Chunk allocated by:
0.000:  Unknown @ 0x00051E52
0.000:  Unknown @ 0x00050D7C
0.000:  Unknown @ 0x000507C0
0.000:  PrvSendEventToForm
0.000:  FrmDispatchEvent
0.000:  Unknown @ 0x000540BE
0.000:  Unknown @ 0x00054198
0.000:  Unknown @ 0x0004E092
0.000:  Chunk contents:
0.000:  00 00 00 BF 60 01 00 00  00 00 00 03 B8 4C 01 00
...¿`L..
0.000:  00 01 00 BF 60 02 00 00  00 00 00 00 00 00 01 00
...¿`...
0.000:  
0.000:  Non-relocatable chunk leaked at 0x0003B864, size = 2
0.000:  Chunk allocated by:
0.000:  Unknown @ 0x00051E3E
0.000:  Unknown @ 0x00050D7C
0.000:  Unknown @ 0x000507C0
0.000:  PrvSendEventToForm
0.000:  FrmDispatchEvent
0.000:  Unknown @ 0x000540BE
0.000:  Unknown @ 0x00054198
0.000:  Unknown @ 0x0004E092
0.000:  Chunk contents:
0.000:  01 01   ..
0.000:  WARNING: 
0.000:  WARNING: End Memory Leak Dump
0.000:  WARNING: 


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



RE: POSE 3.4

2002-02-15 Thread Scott Johnson

 From: Max Bian [mailto:[EMAIL PROTECTED]]
 it detected two memory leaks.  However I don't understand
 what they mean.  The full log file is here:
 How do I make sense of stuff like Unknown @ 0x00051E52?

It means you should rebuild your app with debug symbols on, so POSE can show
the actual function names in the call stack.

-slj-


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



Attn: PalmOS.com/dev webmaster (was Re: POSE 3.4)

2002-02-15 Thread Richard M. Hartman

The posted notice says  The latest version of the Palm OS Emulator (POSE)
is not available. 

I assume that not is intended to be now ;-)



--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!

Russell K Bulmer [EMAIL PROTECTED] wrote in message
news:76783@palm-dev-forum...

 For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
 posted on the PalmOS dev site (http://www.palmos.com/dev).

 There're a hole bunch of updates, mostly bugfixes from my quick scan of
the
 docs.  However there is one big addition - memory leak detection.  I've
just
 run this on our app that I know to be full of them - and it's great -
 details the chunk address, where it was allocated (including a stack
trace)
 and the actual contents of the chunk!  This is just fantastic - well done
to
 Keith and co who do the emulator - this is really useful!


 Cheers
 Russell







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



RE: Please - don't kick me out of the group if I say - Satellite Forms

2002-02-15 Thread Fergal Moran

The main problem that I would see with satellite forms is the requirement for a big 
fat runtime on the device.

 -Original Message-
 From: Geoff Thompson [mailto:[EMAIL PROTECTED]] 
 Sent: 15 February 2002 16:34
 To: Palm Developer Forum
 Subject: Please - don't kick me out of the group if I say - 
 Satellite Forms
 
 
 At the risk of blasphemy, I wanted to pose the question to 
 hardcore Palm developers about Satellite Forms...
 
 I have developed a prototype application, and as I test it 
 with POSE, I get many memory leaks (POSE 3.4 thankfully logs 
 them to a file rather than pop them up one at a time)...
 
 The prototype ended up being 90% of what I want in the 
 commercial app - the question is, do I dare release it as a 
 Satellite Forms app, or should I rewrite in Native C/C++?
 
 Any comments from this group would be appreciated - I find it 
 difficult to get accurate perspective (go figure) from the 
 Sat Forms forums...
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to 
 unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
 

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



RE: Please - don't kick me out of the group if I say - Satellite Forms

2002-02-15 Thread Avilla, Dane

I've got a couple concerns with Sat Forms:

1. All the POSE errors it generates :)
2. I'm not convinced that it's that scalable.

This really depends on your app.  I've been involved with enterprise-scale
projects where an initial mockup was developed in SatForms, and then of
course the customer says can't we just have that?  The problem is, the
demo version never was populated with as much data as the actual production
app would hold.  When a large number of records are present on the device,
performance degrades severely.

So again, it really depends on the app--whether it's a commercial end-user
app, or a custom enterprise app.  Make sure you've tested your SatForms code
with data that's representative of the actual production data.  Remember
that you can't do anything about bugs/problems in SatForms discovered by
POSE, but you can do something about bugs in your C code.  POSE may be
telling you your app won't work on future versions of PalmOS, another thing
to consider . . .

My $.02

-DGA

 -Original Message-
 From: Geoff Thompson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 15, 2002 11:34 AM
 To: Palm Developer Forum
 Subject: Please - don't kick me out of the group if I say - Satellite
 Forms
 
 
 At the risk of blasphemy, I wanted to pose the question to 
 hardcore Palm
 developers about Satellite Forms...
 
 I have developed a prototype application, and as I test it 
 with POSE, I get
 many memory leaks (POSE 3.4 thankfully logs them to a file 
 rather than pop
 them up one at a time)...
 
 The prototype ended up being 90% of what I want in the 
 commercial app - the
 question is, do I dare release it as a Satellite Forms app, 
 or should I
 rewrite in Native C/C++?
 
 Any comments from this group would be appreciated - I find it 
 difficult to
 get accurate perspective (go figure) from the Sat Forms forums...
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to 
 unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
 




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



RE: Linker error Near data segment is bigger than 64k

2002-02-15 Thread Heather Tufts

 I am developing Palm Application using latest version of POL. 
 On some stage
 of development
 process I received Near data segment is bigger than 64k 
 linker error. I
 know about
 segment structure of the Palm Applications and also I know 
 that data segment
 should  be
 less than 64k. Code of my Application is divided between 7 
 segments and I
 think that data
 segment does not have more than 64k information. 

The 64K data issue is completely unrelated to multi-segmenting. You are only allowed 
to have 32K of global/static data referenced from either side of the A4 register. 
Assuming your're using CodeWarrior, you can see how much space you're using by 
generating a link map from your last successful link (set this in the 68K Linker 
panel). Then look at your .tmp.MAP file and after all the code segment information, 
there is a line that tells you how much space you are takikng up above and below A5. 
Then, you can look at ways to decrease this. In the 68K Processor panel, check the box 
for PC-Relative Constant Data to move some of your constant data into the code 
segment. You might also benefit from using the new Expanded Mode in CW for Palm V8 
(see http://www.metrowerks.com/pdf/Expanded_Mode.pdf for more details) since you're 
using C++.

-hkmlt

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



RE: My own table troubles

2002-02-15 Thread Schettino, John

Alan, can you post or email me the example code? The pilrc file and the bit
that is dealting with the table will do. It should really not be this hard
:0


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 6:07 PM
To: Palm Developer Forum
Subject: RE: My own table troubles



If I make the table larger or move it, it obscures the buttons and/or
title.  As this implies, the buttons and title of the form get drawn. 
The buttons even work.

I use the number of rows call to figure out how many rows I need to set
the style and make usable, so when it comes back 0, these functions
don't get called.

Sorry that I have come up with another weird problem.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Thu, 14 Feb 2002 16:30:15 -0800
Subject: RE: My own table troubles

Is the table visible and enabled (USABLE in rcp-ese)? Can you see it? Is
the
form actually drawn? 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 14, 2002 3:15 PM
 To: Palm Developer Forum
 Subject: RE: My own table troubles
 
 
 
 The exact same thing happened when I specified the number of 
 rows in the
 rcp file.
 

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



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

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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

Well, boo hiss ...

After submitting a bug report (twice!) via standard Palm methods
(http://www.palmos.com/dev/support/bugs/)  about 3.3 POSE in combination
with the 4.1 SDK Beta, and not receiving a response either time, I see that
the new 3.4 POSE contains the same bug.

That being 

MyAppName (x.x) just read from Memory Location (whatever...) which is in
the itemsText field of the frmListObj starting at ... (etc.)

This is AFTER I changed my source code to use LstGlueGetItemsText which
was provided (thank you!) in the 4.1 SDK to provide a way to legally
access the address I legally stored in frmP-itemsText with
LstSetListChoices.  Don't know why the LstGlueGetItemsText wasn't called
LstGlueGetListChoices to be consistent with the function that stored the
address, but that's a different issue.

So, now I have another gripe to add to my list ... along with my outstanding
gripes about no way to dynamically allocate scrollbars, and no way to
dynamically add a frameless button. or to change the frame type to
frameless after I dynamically add a framed ButtonCtl.

This just keeps getting better and better.

Sigh ...



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



RE: My own table troubles

2002-02-15 Thread alanp


I am about to leave for the weekend.  I'll make up an example that
reproduces the problem and send it when I get back.

Thanks for your assistance.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Fri, 15 Feb 2002 08:45:42 -0800
Subject: RE: My own table troubles

Alan, can you post or email me the example code? The pilrc file and the
bit
that is dealting with the table will do. It should really not be this
hard
:0


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 6:07 PM
To: Palm Developer Forum
Subject: RE: My own table troubles



If I make the table larger or move it, it obscures the buttons and/or
title.  As this implies, the buttons and title of the form get drawn. 
The buttons even work.

I use the number of rows call to figure out how many rows I need to set
the style and make usable, so when it comes back 0, these functions
don't get called.

Sorry that I have come up with another weird problem.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Thu, 14 Feb 2002 16:30:15 -0800
Subject: RE: My own table troubles

Is the table visible and enabled (USABLE in rcp-ese)? Can you see it? Is
the
form actually drawn? 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 14, 2002 3:15 PM
 To: Palm Developer Forum
 Subject: RE: My own table troubles
 
 
 
 The exact same thing happened when I specified the number of 
 rows in the
 rcp file.
 

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



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

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



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



Re: Pose and netlib

2002-02-15 Thread bill

One thing I noticed about the new pose is that you can actually change the
localhost to a IP address:port, I was wonder, probably a stupid question,
but what would the port number be??  I used my host computer IP address and
the 6416 that they had in there, but it still won't work.
thanx
bill

SebNob [EMAIL PROTECTED] wrote in message
news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
lmos.com...
 Hi bill

 Maybe it's a problem related to the DNS. I think that POSE doesn't get
 the DNS from the host computer. If you have a web server on your LAN, try
 accessing it by it's IP. Personnally i connect my POSE with a win RAS and
it
 work fine.

 bill [EMAIL PROTECTED] a écrit dans le message news:
 [EMAIL PROTECTED]
 
  I am just redirecting netlib to the TCP/IP stack of the host computer
like
 I
  am supposed to.  I have no prroblem with the program on the palm it is
 only
  when trying to use my cable connection, or even a modem connection, I
 always
  get a time out error, it never works.  Pose does not seem to know how to
 get
  to the internet.
  thanx
  bill
 
  - Original Message -
  From: Palm Dev Forum [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Thursday, February 14, 2002 7:19 PM
  Subject: Re: Pose and netlib
 
 
   I'm sure someone, even me, might be able to give you some help, but
you
  just
   haven't told us enough about your problem.  Yes, I've had Connection
 Time
   Outs with POSEr and Network connection to Internet.  And it's worked
 too.
   We use CDPD modems, and when you are out of a service area or in a
steel
   building, you get them, too.  Sometimes your ISP goes down, servers
even
  go
   down.  You have to program for them.  But I assume that you have some
  other
   problem.  Can you give us some details please.
   
   Gary Gorsline
   Easy Business Software
   == End of Message ==
  
   - Original Message -
   From: bill [EMAIL PROTECTED]
   To: Palm Developer Forum [EMAIL PROTECTED]
   Sent: Thursday, February 14, 2002 5:31 PM
   Subject: Pose and netlib
  
  
Has anyone go the error Connection timed out when trying to test an
aplication on pose that uses to tcp/ip of the host computer to get
to
  the
internet... And if you have, did you fix it and if so...how???
thanx, I am desperate.
bill
   
   
   
--
For information on using the Palm Developer Forums, or to
unsubscribe,
   please see http://www.palmos.com/dev/tech/support/forums/
   
  
  
   --
   For information on using the Palm Developer Forums, or to unsubscribe,
  please see http://www.palmos.com/dev/tech/support/forums/
 
 
 



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


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



Re: datamgr.c, Line:8624, Records left busy in closed unprotected DB

2002-02-15 Thread Steve Mann

Does unprotected DB mean anything special?

My _guess_ is that it's referring to the mode you opened it in: 
read/write as opposed to read only.

Regards,
Steve Mann

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



RE: My own table troubles

2002-02-15 Thread alanp


Sorry for sending this to the entire list.  My mailer lied to me when it
said where it was going.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Fri, 15 Feb 2002 08:59:23 -0800
Subject: RE: My own table troubles


I am about to leave for the weekend.  I'll make up an example that
reproduces the problem and send it when I get back.

Thanks for your assistance.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Fri, 15 Feb 2002 08:45:42 -0800
Subject: RE: My own table troubles

Alan, can you post or email me the example code? The pilrc file and the
bit
that is dealting with the table will do. It should really not be this
hard
:0


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 6:07 PM
To: Palm Developer Forum
Subject: RE: My own table troubles



If I make the table larger or move it, it obscures the buttons and/or
title.  As this implies, the buttons and title of the form get drawn. 
The buttons even work.

I use the number of rows call to figure out how many rows I need to set
the style and make usable, so when it comes back 0, these functions
don't get called.

Sorry that I have come up with another weird problem.

alan

---Original Message---
From: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Thu, 14 Feb 2002 16:30:15 -0800
Subject: RE: My own table troubles

Is the table visible and enabled (USABLE in rcp-ese)? Can you see it? Is
the
form actually drawn? 


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 14, 2002 3:15 PM
 To: Palm Developer Forum
 Subject: RE: My own table troubles
 
 
 
 The exact same thing happened when I specified the number of 
 rows in the
 rcp file.
 

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



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

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



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



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



Re: Pose and netlib

2002-02-15 Thread Palm Dev Forum

Hey Bill,

I think SebNob is right.  Since you don't seem to have a local web server
you can access by IP, why not try this:

on your desktop system which is on the same internet connection as POSE, go
to a dos prompt and type

PING YAHOO.COM

It will respond with 216.115.109.6 as the IP address of YAHOO.COM.  (But do
this yourself anyway to make sure your connection is working right now and
YAHOO.COM is working right now.)

Surf on POSE to that IP instead of typing in the www.yahoo.com and see what
happens.

---
Gary Gorsline
Easy Business Software
== End of Message ==

- Original Message -
From: bill [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 12:02 PM
Subject: Re: Pose and netlib


 One thing I noticed about the new pose is that you can actually change the
 localhost to a IP address:port, I was wonder, probably a stupid
question,
 but what would the port number be??  I used my host computer IP address
and
 the 6416 that they had in there, but it still won't work.
 thanx
 bill

 SebNob [EMAIL PROTECTED] wrote in message

news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
 lmos.com...
  Hi bill
 
  Maybe it's a problem related to the DNS. I think that POSE doesn't
get
  the DNS from the host computer. If you have a web server on your LAN,
try
  accessing it by it's IP. Personnally i connect my POSE with a win RAS
and
 it
  work fine.
 
  bill [EMAIL PROTECTED] a écrit dans le message news:
  [EMAIL PROTECTED]
  
   I am just redirecting netlib to the TCP/IP stack of the host computer
 like
  I
   am supposed to.  I have no prroblem with the program on the palm it is
  only
   when trying to use my cable connection, or even a modem connection, I
  always
   get a time out error, it never works.  Pose does not seem to know how
to
  get
   to the internet.
   thanx
   bill
  
   - Original Message -
   From: Palm Dev Forum [EMAIL PROTECTED]
   To: Palm Developer Forum [EMAIL PROTECTED]
   Sent: Thursday, February 14, 2002 7:19 PM
   Subject: Re: Pose and netlib
  
  
I'm sure someone, even me, might be able to give you some help, but
 you
   just
haven't told us enough about your problem.  Yes, I've had Connection
  Time
Outs with POSEr and Network connection to Internet.  And it's worked
  too.
We use CDPD modems, and when you are out of a service area or in a
 steel
building, you get them, too.  Sometimes your ISP goes down, servers
 even
   go
down.  You have to program for them.  But I assume that you have
some
   other
problem.  Can you give us some details please.

Gary Gorsline
Easy Business Software
== End of Message ==
   
- Original Message -
From: bill [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 5:31 PM
Subject: Pose and netlib
   
   
 Has anyone go the error Connection timed out when trying to test
an
 aplication on pose that uses to tcp/ip of the host computer to get
 to
   the
 internet... And if you have, did you fix it and if so...how???
 thanx, I am desperate.
 bill



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

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


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



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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

re: This blurb from the _news.txt file ...

* Allow read access to attr fields of Control, List, Bitmap, Label,
 and Scrollbar objects if the accessor function is not available --
 FrmGlueGetObjectUsable accesses those fields. FrmGlueGetObjectUsable
 also accesses Gadget and Table objects, but Poser already allows
 read access to attr for those objects. [Catherine White]

Does this mean that we WILL sooner or later be provided accessor routines
for the attr fields?  Or, does it mean that it's now safe (legal?) to
access those attribute fields directly?  If not, then this change might be
dangerous in that it will mask the illegal accesses to internal areas.




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



Re: Pose and netlib

2002-02-15 Thread bill


I'm not using DNS, I am using the IP addresses.  I can surf the web, but
when I try to use my own program, one that I wrote to connect to a telnet
session it doesn't work.  I found this error:
(GDB) set confirm off(GDB) target pilot localhost:21localhost:21: Invalid
argument.

I don't know where it go localhost:21, I strictly use IP addresses, maybe
this will give more clues, I hope.
I am new to this, and as usual, I probably bit off more than I can chew
right now, but usually I learn better that way, so bear with me and thanx
for the help.
thanx
bill

- Original Message -
From: Palm Dev Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 9:37 AM
Subject: Re: Pose and netlib


 Hey Bill,

 I think SebNob is right.  Since you don't seem to have a local web server
 you can access by IP, why not try this:

 on your desktop system which is on the same internet connection as POSE,
go
 to a dos prompt and type

 PING YAHOO.COM

 It will respond with 216.115.109.6 as the IP address of YAHOO.COM.  (But
do
 this yourself anyway to make sure your connection is working right now and
 YAHOO.COM is working right now.)

 Surf on POSE to that IP instead of typing in the www.yahoo.com and see
what
 happens.

 ---
 Gary Gorsline
 Easy Business Software
 == End of Message ==

 - Original Message -
 From: bill [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Friday, February 15, 2002 12:02 PM
 Subject: Re: Pose and netlib


  One thing I noticed about the new pose is that you can actually change
the
  localhost to a IP address:port, I was wonder, probably a stupid
 question,
  but what would the port number be??  I used my host computer IP address
 and
  the 6416 that they had in there, but it still won't work.
  thanx
  bill
 
  SebNob [EMAIL PROTECTED] wrote in message
 

news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
  lmos.com...
   Hi bill
  
   Maybe it's a problem related to the DNS. I think that POSE doesn't
 get
   the DNS from the host computer. If you have a web server on your LAN,
 try
   accessing it by it's IP. Personnally i connect my POSE with a win RAS
 and
  it
   work fine.
  
   bill [EMAIL PROTECTED] a écrit dans le message news:
   [EMAIL PROTECTED]
   
I am just redirecting netlib to the TCP/IP stack of the host
computer
  like
   I
am supposed to.  I have no prroblem with the program on the palm it
is
   only
when trying to use my cable connection, or even a modem connection,
I
   always
get a time out error, it never works.  Pose does not seem to know
how
 to
   get
to the internet.
thanx
bill
   
- Original Message -
From: Palm Dev Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 7:19 PM
Subject: Re: Pose and netlib
   
   
 I'm sure someone, even me, might be able to give you some help,
but
  you
just
 haven't told us enough about your problem.  Yes, I've had
Connection
   Time
 Outs with POSEr and Network connection to Internet.  And it's
worked
   too.
 We use CDPD modems, and when you are out of a service area or in a
  steel
 building, you get them, too.  Sometimes your ISP goes down,
servers
  even
go
 down.  You have to program for them.  But I assume that you have
 some
other
 problem.  Can you give us some details please.
   
 
 Gary Gorsline
 Easy Business Software
 == End of Message
==

 - Original Message -
 From: bill [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Thursday, February 14, 2002 5:31 PM
 Subject: Pose and netlib


  Has anyone go the error Connection timed out when trying to test
 an
  aplication on pose that uses to tcp/ip of the host computer to
get
  to
the
  internet... And if you have, did you fix it and if so...how???
  thanx, I am desperate.
  bill
 
 
 
  --
  For information on using the Palm Developer Forums, or to
  unsubscribe,
 please see http://www.palmos.com/dev/tech/support/forums/
 


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


 --
 For information on using the Palm Developer Forums, or to unsubscribe,
please see 

converging POSEs

2002-02-15 Thread Trevor Menagh

Do you think that in the future the development of POSE can be merged with all the 
hardware producers? I currently have to have 3 different POSEs to test my apps on 
Sony, Handspring, and Palm.

trv


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



Re: Please - don't kick me out of the group if I say - Satellite Forms

2002-02-15 Thread Dave Lippincott

I've never been partial to SF but as long as the pricing reflects the
quality, I say release it.  There is always version 2.0 to make it better.

- Original Message -
From: Geoff Thompson [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 11:34 AM
Subject: Please - don't kick me out of the group if I say - Satellite
Forms


 At the risk of blasphemy, I wanted to pose the question to hardcore Palm
 developers about Satellite Forms...

 I have developed a prototype application, and as I test it with POSE, I
get
 many memory leaks (POSE 3.4 thankfully logs them to a file rather than pop
 them up one at a time)...

 The prototype ended up being 90% of what I want in the commercial app -
the
 question is, do I dare release it as a Satellite Forms app, or should I
 rewrite in Native C/C++?

 Any comments from this group would be appreciated - I find it difficult to
 get accurate perspective (go figure) from the Sat Forms forums...



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



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



Re: datamgr.c, Line:8624, Records left busy in closed unprotectedDB

2002-02-15 Thread Jim Schram

At 4:09 AM -0800 2002/02/15, Max Bian wrote:
Does unprotected DB mean anything special?

It means DmDatabaseProtect was not called on the database; protected databases are 
handled a little differently by the data manager. The error however is telling you 
that a record was still busy when the database was closed -- e.g. you did a 
DmGetRecord without a corresponding DmReleaseRecord. The unprotected part of the 
error probably isn't the critical factor to look into here... but it could be related.

Regards,

Jim Schram
PalmSource Inc.
Partner Engineering

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



RE: datamgr.c, Line:8624, Records left busy in closed unprotected DB

2002-02-15 Thread Danny Epstein

 Does unprotected DB mean anything special?

To expand on Jim's answer...

Protecting a database prevents it from being deleted and allows you to close
it without unlocking or releasing all the records or resources. Shared
libraries are protected when they're loaded. Hacks should be too. Most
normal applications don't use this feature of the OS.
--
Danny @ PalmSource

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



Problems with Popup triggers

2002-02-15 Thread Michael Zapeda

Hey Everyone,

I've run into this problem while trying to implement popup triggers in where
trigger does not pop the assigned list. It just indicates a penDown
(highlights black), then nothing.

This is a simple, two form application. I have popup triggers on the first
form and they work fine. I've run into this problem before, and now am at my
wit's end. Any suggestions as to what could be causing this?

Check list of what i've verified:

1) Create two popup triggers
2) Create two lists
3) Assigned the list IDs of the lists to the popup triggers.
4) Made the lists' usable attribute false. (unchecked it)

Bada-bing, that should work right? After all, i did the same for the popup
triggers on the main form and they work perfectly.
Is there something i'm missing from my code, from constructor, etc?  Any
insight would be greatly appreciated.

Misc Info that might help:
a) To switch back forms, i'm simply calling FrmGotoForm()
b) I'm not really initializing a form on the frmOpenEvent -- i just call
FrmDrawForm().
c) I'm using the palm OS 4.0 color ROM.

-- M



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



RE: Closing open databases

2002-02-15 Thread Danny Epstein

 Is there a way I can close a database that has been opened by a
 different application, I.E. one I don' t have an active handle to?

I don't think you should be closing other apps' databases, but you can get a
list of all the open databases using DmNextOpenDatabase. Some of these will
be system databases that should never be closed.
--
Danny @ PalmSource

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



Re: POSE 3.4

2002-02-15 Thread Harry Ohlsen

On Sat, 16 Feb 2002 02:00, you wrote:
 For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
 posted on the PalmOS dev site (http://www.palmos.com/dev).

I was somewhat perturbed to find there was no Linux version.  I hope that 
it's just lagging behind and Palm haven't decided not to support Linux any 
longer.

Since I'm a Linux only shop here, that would mean I'd have to buy a new 
machine just to be able to use the emulator, which would be sad.  I'd have to 
get the Occupational Health and Safety people to erect a fence round it, so 
noone hurts themself :-).

Seriously, though, I read something about a hands-up that was held at 
PalmSource where it appeared that only a very small percentage of people 
(less than 10%, if memory servers) use Linux for their PalmOS development, so 
I would understand if Palm decided not to put as much effort into the 
emulator for that platform.  I don't think I'd be overly fussed, so long as I 
can still build the app under Linux.

Harry O.

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



Re: POSE 3.4

2002-02-15 Thread Marco Pantaleoni

On Sat, Feb 16, 2002 at 06:16:55AM +1100, Harry Ohlsen wrote:
 On Sat, 16 Feb 2002 02:00, you wrote:
  For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
  posted on the PalmOS dev site (http://www.palmos.com/dev).
 
 I was somewhat perturbed to find there was no Linux version.  I hope that 
 it's just lagging behind and Palm haven't decided not to support Linux any 
 longer.

Unix sources are available for download.

 
 Since I'm a Linux only shop here, that would mean I'd have to buy a new 
 machine just to be able to use the emulator, which would be sad.  I'd have to 
 get the Occupational Health and Safety people to erect a fence round it, so 
 noone hurts themself :-).
 
 Seriously, though, I read something about a hands-up that was held at 
 PalmSource where it appeared that only a very small percentage of people 
 (less than 10%, if memory servers) use Linux for their PalmOS development, so 
 I would understand if Palm decided not to put as much effort into the 
 emulator for that platform.  I don't think I'd be overly fussed, so long as I 
 can still build the app under Linux.

Quality and quantity don't always go hand in hand ;-)

Cheers,
Marco

-- 

Marco Pantaleoni  [EMAIL PROTECTED]
Padova, Italy  [EMAIL PROTECTED]
elastiC language developer   http://www.elasticworld.org

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



Re: POSE 3.4

2002-02-15 Thread Max Bian

Huh?  Isn't there a UNIX source code available?  I am not sure why Palm choose
not to release the pre-compiled (and maybe statically linked) binaries, but you
can compile it yourself.

It usually takes a very long time to compile.  It seems taking longer than
compiling a Linux kernel.

Max
--- Harry Ohlsen [EMAIL PROTECTED] wrote:
 On Sat, 16 Feb 2002 02:00, you wrote:
  For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
  posted on the PalmOS dev site (http://www.palmos.com/dev).
 
 I was somewhat perturbed to find there was no Linux version.  I hope that 
 it's just lagging behind and Palm haven't decided not to support Linux any 
 longer.
 
 Since I'm a Linux only shop here, that would mean I'd have to buy a new 
 machine just to be able to use the emulator, which would be sad.  I'd have to
 
 get the Occupational Health and Safety people to erect a fence round it, so 
 noone hurts themself :-).
 
 Seriously, though, I read something about a hands-up that was held at 
 PalmSource where it appeared that only a very small percentage of people 
 (less than 10%, if memory servers) use Linux for their PalmOS development, so
 
 I would understand if Palm decided not to put as much effort into the 
 emulator for that platform.  I don't think I'd be overly fussed, so long as I
 
 can still build the app under Linux.
 
 Harry O.


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



Re: Problems with Popup triggers

2002-02-15 Thread Max Bian

What are you returning for the ctlSelectEvent generated from the tap on the
trigger?

Max
--- Michael Zapeda [EMAIL PROTECTED] wrote:
 Hey Everyone,
 
 I've run into this problem while trying to implement popup triggers in where
 trigger does not pop the assigned list. It just indicates a penDown
 (highlights black), then nothing.
 
 This is a simple, two form application. I have popup triggers on the first
 form and they work fine. I've run into this problem before, and now am at my
 wit's end. Any suggestions as to what could be causing this?
 
 Check list of what i've verified:
 
 1) Create two popup triggers
 2) Create two lists
 3) Assigned the list IDs of the lists to the popup triggers.
 4) Made the lists' usable attribute false. (unchecked it)
 
 Bada-bing, that should work right? After all, i did the same for the popup
 triggers on the main form and they work perfectly.
 Is there something i'm missing from my code, from constructor, etc?  Any
 insight would be greatly appreciated.
 
 Misc Info that might help:
 a) To switch back forms, i'm simply calling FrmGotoForm()
 b) I'm not really initializing a form on the frmOpenEvent -- i just call
 FrmDrawForm().
 c) I'm using the palm OS 4.0 color ROM.
 
 -- M
=

=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



Re: POSE 3.4

2002-02-15 Thread scott

On Sat, Feb 16, 2002 at 06:16:55AM +1100, Harry Ohlsen wrote:
 On Sat, 16 Feb 2002 02:00, you wrote:
  For those who haven't noticed yet POSE 3.4 (for MAC and Windoze) has been
  posted on the PalmOS dev site (http://www.palmos.com/dev).
 
 I was somewhat perturbed to find there was no Linux version.  I hope that 
 it's just lagging behind and Palm haven't decided not to support Linux any 
 longer.

I just pulled down the 3.4 Unix sources. They are there.  The link on the
line with the two asteriks appears to point to the 3.3 sources still.
Scroll further down the page (http://www.palmos.com/dev/tools/emulator/)
and you should find a working link to the 3.4 Unix sources. I'm building
it now. According to the _News.txt file there are all sorts of juicy
things for us unix users, like a Gremlins control dialog and command line
parameters!!! Thanks Keith!

scott

-- 

scott[EMAIL PROTECTED]


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



RE: Tap causes reset

2002-02-15 Thread Danny Epstein

 ... called a function in a shared library using a reference number of
 25974. This reference number does not correspond to any currently
 installed library and is invalid.

Not much to go on here. Perhaps your penDownEvent is getting converted into
a keyDownEvent with the libEvtHookKeyMask set in the modifier field. I don't
know how this could happen, but this could produce the result you're seeing.
It'd use the keyCode field of the keyDownEvent as the library reference
number. How the keyCode would get set to such a large number is another
question...

Some ideas for debugging this:
- Show us the code you're using to catch the penDownEvent and switch forms.
- Get a stack crawl when the error occurs.
- Step through the processing of the penDownEvent in the Graffiti area to
see where it goes wrong.
--
Danny @ PalmSource

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



Sygwin SDK

2002-02-15 Thread Alexandre Kazantsev

I have to start Palm programming with the PRC-Tools, and I have downloaded
and installed: (1) Cygwin b20.1, (2) PRC-Tools 2.0 , (3) PilRC for Win32,
(4) Palm OS SDK 4.0, (5) Palm OS Emulator. Now I'm in process of application
for the Developer Program, and I have a couple of questions.

1. Is there documentation for the Cygwin, and how to use the utility? Do I
need this at all? I tried to change a link using the Sygwin as recomended
(http://www.palmos.com/dev/tools/gcc/install-win.html):
C:\PalmDev
rm sdk
ln -s sdk-3.5 sdk
All those commands failed within the Sygwin bash shell.

2. Does PRC-Tools 2.0 work with SDK 4.0? (SDK 3.5 could be the only SDK
supported with this version of PRC-Tools)

Please help.



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



Re: Pose and netlib

2002-02-15 Thread Palm Dev Forum

Bill,

That looks like a port number.  Telnet defaults to 23, not 21.  25 is email
SMTP.  21 sounds familiar, but ...

What is your app trying to do over the internet?   Can you test it as an
intranet, so you can have the server at the same location as you.  Maybe you
could trace on the server side to see what is or is not connecting.

PS - I am assuming you are familiar with TCP/IP and that it requires an
address like 192.168.0.2 and a port, like 80.  Both the sender and receiver
of a packet must have an address and port.  Senders usually pick an
arbitrary port number, receivers almost always work on a specific port, like
80 is for HTTP requests.

If you are not familiar with this concept, stop programming and do some
TCP/IP reading.  There are many tutorials posted on the web (FREE
Education).

---
Gary Gorsline
Easy Business Software
== End of Message ==

- Original Message -
From: bill [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 1:14 PM
Subject: Re: Pose and netlib



 I'm not using DNS, I am using the IP addresses.  I can surf the web, but
 when I try to use my own program, one that I wrote to connect to a telnet
 session it doesn't work.  I found this error:
 (GDB) set confirm off(GDB) target pilot localhost:21localhost:21: Invalid
 argument.

 I don't know where it go localhost:21, I strictly use IP addresses, maybe
 this will give more clues, I hope.
 I am new to this, and as usual, I probably bit off more than I can chew
 right now, but usually I learn better that way, so bear with me and thanx
 for the help.
 thanx
 bill

 - Original Message -
 From: Palm Dev Forum [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Friday, February 15, 2002 9:37 AM
 Subject: Re: Pose and netlib


  Hey Bill,
 
  I think SebNob is right.  Since you don't seem to have a local web
server
  you can access by IP, why not try this:
 
  on your desktop system which is on the same internet connection as POSE,
 go
  to a dos prompt and type
 
  PING YAHOO.COM
 
  It will respond with 216.115.109.6 as the IP address of YAHOO.COM.  (But
 do
  this yourself anyway to make sure your connection is working right now
and
  YAHOO.COM is working right now.)
 
  Surf on POSE to that IP instead of typing in the www.yahoo.com and see
 what
  happens.
 
  ---
  Gary Gorsline
  Easy Business Software
  == End of Message ==
 
  - Original Message -
  From: bill [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Friday, February 15, 2002 12:02 PM
  Subject: Re: Pose and netlib
 
 
   One thing I noticed about the new pose is that you can actually change
 the
   localhost to a IP address:port, I was wonder, probably a stupid
  question,
   but what would the port number be??  I used my host computer IP
address
  and
   the 6416 that they had in there, but it still won't work.
   thanx
   bill
  
   SebNob [EMAIL PROTECTED] wrote in message
  
 

news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
   lmos.com...
Hi bill
   
Maybe it's a problem related to the DNS. I think that POSE
doesn't
  get
the DNS from the host computer. If you have a web server on your
LAN,
  try
accessing it by it's IP. Personnally i connect my POSE with a win
RAS
  and
   it
work fine.
   
bill [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]

 I am just redirecting netlib to the TCP/IP stack of the host
 computer
   like
I
 am supposed to.  I have no prroblem with the program on the palm
it
 is
only
 when trying to use my cable connection, or even a modem
connection,
 I
always
 get a time out error, it never works.  Pose does not seem to know
 how
  to
get
 to the internet.
 thanx
 bill

 - Original Message -
 From: Palm Dev Forum [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Thursday, February 14, 2002 7:19 PM
 Subject: Re: Pose and netlib


  I'm sure someone, even me, might be able to give you some help,
 but
   you
 just
  haven't told us enough about your problem.  Yes, I've had
 Connection
Time
  Outs with POSEr and Network connection to Internet.  And it's
 worked
too.
  We use CDPD modems, and when you are out of a service area or in
a
   steel
  building, you get them, too.  Sometimes your ISP goes down,
 servers
   even
 go
  down.  You have to program for them.  But I assume that you have
  some
 other
  problem.  Can you give us some details please.

  
  Gary Gorsline
  Easy Business Software
  

Return value of DmFindResource.

2002-02-15 Thread brian


Hi,

What is the return value of DmFindResource if a given resource cannot be found?In 
the Reference guide it says:

Returns index of resource in resource database, or -1 if not found.

Well - the return type of DmFindResource is UInt16  :-)

Should I check against 0x?


Kind regards,
Brian

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



Re: Sygwin SDK

2002-02-15 Thread Alexandre Kazantsev

1. Can I use MS DOS Window  instead of Sygwin? What could be an issue?

2. What does the command ln -s sdk-3.5 sdk do? Where does it write the new
SDK name?


- Original Message -
From: scott [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 10:59 PM
Subject: Re: Sygwin  SDK


  1. Is there documentation for the Cygwin, and how to use the utility? Do
I
  need this at all? I tried to change a link using the Sygwin as
recomended
  (http://www.palmos.com/dev/tools/gcc/install-win.html):
  C:\PalmDev

 This line should probably be

 cd C:/PalmDev

 since the goal is to _c_hange _d_irectory to c:\palmdev





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



Re: Pose and netlib

2002-02-15 Thread bill

The program will log on to a telnet server and an/or ftp server when I run
it on a palm using a minstrel modem,that part is done...but when run the
program on Pose I can't get POSE to recognize a connection, it always times
out.  I run an internet server and 2 Linux cluster servers, I deal with
Telnet all the time so I am familiar (though not perfectly) with tcp/ip
stuff. The program does log in ok when I run it on the palm directly, and I
have done a tcpdump to see the comunication from the palm, but when I run it
on the emulator  it never gets to that point.
thanx
bill

- Original Message -
From: Palm Dev Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 12:10 PM
Subject: Re: Pose and netlib


 Bill,

 That looks like a port number.  Telnet defaults to 23, not 21.  25 is
email
 SMTP.  21 sounds familiar, but ...

 What is your app trying to do over the internet?   Can you test it as an
 intranet, so you can have the server at the same location as you.  Maybe
you
 could trace on the server side to see what is or is not connecting.

 PS - I am assuming you are familiar with TCP/IP and that it requires an
 address like 192.168.0.2 and a port, like 80.  Both the sender and
receiver
 of a packet must have an address and port.  Senders usually pick an
 arbitrary port number, receivers almost always work on a specific port,
like
 80 is for HTTP requests.

 If you are not familiar with this concept, stop programming and do some
 TCP/IP reading.  There are many tutorials posted on the web (FREE
 Education).

 ---
 Gary Gorsline
 Easy Business Software
 == End of Message ==

 - Original Message -
 From: bill [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Friday, February 15, 2002 1:14 PM
 Subject: Re: Pose and netlib


 
  I'm not using DNS, I am using the IP addresses.  I can surf the web, but
  when I try to use my own program, one that I wrote to connect to a
telnet
  session it doesn't work.  I found this error:
  (GDB) set confirm off(GDB) target pilot localhost:21localhost:21:
Invalid
  argument.
 
  I don't know where it go localhost:21, I strictly use IP addresses,
maybe
  this will give more clues, I hope.
  I am new to this, and as usual, I probably bit off more than I can chew
  right now, but usually I learn better that way, so bear with me and
thanx
  for the help.
  thanx
  bill
 
  - Original Message -
  From: Palm Dev Forum [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Friday, February 15, 2002 9:37 AM
  Subject: Re: Pose and netlib
 
 
   Hey Bill,
  
   I think SebNob is right.  Since you don't seem to have a local web
 server
   you can access by IP, why not try this:
  
   on your desktop system which is on the same internet connection as
POSE,
  go
   to a dos prompt and type
  
   PING YAHOO.COM
  
   It will respond with 216.115.109.6 as the IP address of YAHOO.COM.
(But
  do
   this yourself anyway to make sure your connection is working right now
 and
   YAHOO.COM is working right now.)
  
   Surf on POSE to that IP instead of typing in the www.yahoo.com and see
  what
   happens.
  
   ---
   Gary Gorsline
   Easy Business Software
   == End of Message ==
  
   - Original Message -
   From: bill [EMAIL PROTECTED]
   To: Palm Developer Forum [EMAIL PROTECTED]
   Sent: Friday, February 15, 2002 12:02 PM
   Subject: Re: Pose and netlib
  
  
One thing I noticed about the new pose is that you can actually
change
  the
localhost to a IP address:port, I was wonder, probably a stupid
   question,
but what would the port number be??  I used my host computer IP
 address
   and
the 6416 that they had in there, but it still won't work.
thanx
bill
   
SebNob [EMAIL PROTECTED] wrote in message
   
  
 

news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
lmos.com...
 Hi bill

 Maybe it's a problem related to the DNS. I think that POSE
 doesn't
   get
 the DNS from the host computer. If you have a web server on your
 LAN,
   try
 accessing it by it's IP. Personnally i connect my POSE with a win
 RAS
   and
it
 work fine.

 bill [EMAIL PROTECTED] a écrit dans le message news:
 [EMAIL PROTECTED]
 
  I am just redirecting netlib to the TCP/IP stack of the host
  computer
like
 I
  am supposed to.  I have no prroblem with the program on the palm
 it
  is
 only
  when trying to use my cable connection, or even a modem
 connection,
  I
 always
  get a time out error, it never works.  Pose does not seem to
know
  how
   to
 get
  to the internet.
  thanx
  bill
 
  - Original Message -
  From: 

Re: Pose and netlib

2002-02-15 Thread Matt Hebley

 From what I understand, POSE using the host TCP stack has a hardwired 2 
second timeout (i.e. it ignores the timeout you specify in the NetLib call).

I'm using POSE 3.2

I don't know how to change this value. But if you want a longer timeout, 
you could detect that you are running on POSE and repeatedly call the 
NetLib function until you have a large enough timeout.

Matt

At 10:14 AM 15/2/2002 -0800, you wrote:

I'm not using DNS, I am using the IP addresses.  I can surf the web, but
when I try to use my own program, one that I wrote to connect to a telnet
session it doesn't work.  I found this error:
(GDB) set confirm off(GDB) target pilot localhost:21localhost:21: Invalid
argument.

I don't know where it go localhost:21, I strictly use IP addresses, maybe
this will give more clues, I hope.
I am new to this, and as usual, I probably bit off more than I can chew
right now, but usually I learn better that way, so bear with me and thanx
for the help.
thanx
bill

- Original Message -
From: Palm Dev Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 9:37 AM
Subject: Re: Pose and netlib


  Hey Bill,
 
  I think SebNob is right.  Since you don't seem to have a local web server
  you can access by IP, why not try this:
 
  on your desktop system which is on the same internet connection as POSE,
go
  to a dos prompt and type
 
  PING YAHOO.COM
 
  It will respond with 216.115.109.6 as the IP address of YAHOO.COM.  (But
do
  this yourself anyway to make sure your connection is working right now and
  YAHOO.COM is working right now.)
 
  Surf on POSE to that IP instead of typing in the www.yahoo.com and see
what
  happens.
 
  ---
  Gary Gorsline
  Easy Business Software
  == End of Message ==
 
  - Original Message -
  From: bill [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Friday, February 15, 2002 12:02 PM
  Subject: Re: Pose and netlib
 
 
   One thing I noticed about the new pose is that you can actually change
the
   localhost to a IP address:port, I was wonder, probably a stupid
  question,
   but what would the port number be??  I used my host computer IP address
  and
   the 6416 that they had in there, but it still won't work.
   thanx
   bill
  
   SebNob [EMAIL PROTECTED] wrote in message
  
 
news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
   lmos.com...
Hi bill
   
Maybe it's a problem related to the DNS. I think that POSE doesn't
  get
the DNS from the host computer. If you have a web server on your LAN,
  try
accessing it by it's IP. Personnally i connect my POSE with a win RAS
  and
   it
work fine.
   
bill [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]

 I am just redirecting netlib to the TCP/IP stack of the host
computer
   like
I
 am supposed to.  I have no prroblem with the program on the palm it
is
only
 when trying to use my cable connection, or even a modem connection,
I
always
 get a time out error, it never works.  Pose does not seem to know
how
  to
get
 to the internet.
 thanx
 bill

 - Original Message -
 From: Palm Dev Forum [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Thursday, February 14, 2002 7:19 PM
 Subject: Re: Pose and netlib


  I'm sure someone, even me, might be able to give you some help,
but
   you
 just
  haven't told us enough about your problem.  Yes, I've had
Connection
Time
  Outs with POSEr and Network connection to Internet.  And it's
worked
too.
  We use CDPD modems, and when you are out of a service area or in a
   steel
  building, you get them, too.  Sometimes your ISP goes down,
servers
   even
 go
  down.  You have to program for them.  But I assume that you have
  some
 other
  problem.  Can you give us some details please.

  
  Gary Gorsline
  Easy Business Software
  == End of Message
==
 
  - Original Message -
  From: bill [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Thursday, February 14, 2002 5:31 PM
  Subject: Pose and netlib
 
 
   Has anyone go the error Connection timed out when trying to test
  an
   aplication on pose that uses to tcp/ip of the host computer to
get
   to
 the
   internet... And if you have, did you fix it and if so...how???
   thanx, I am desperate.
   bill
  
  
  
   --
   For information on using the Palm Developer Forums, or to
   unsubscribe,
  please see http://www.palmos.com/dev/tech/support/forums/
  
 
 
  --
  For 

Re: Return value of DmFindResource.

2002-02-15 Thread Jim Schram

At 9:36 PM -0100 2002/02/15, [EMAIL PROTECTED] wrote:
What is the return value of DmFindResource if a given resource cannot be found?In 
the Reference guide it says:

Returns index of resource in resource database, or -1 if not found.

Well - the return type of DmFindResource is UInt16  :-)

Should I check against 0x?

Yes.

Just FYI for anyone who's confused... 0x = -1 for 16-bit integers, and 0x 
= -1 for 32-bit integers. The bit pattern is identical, so this is really about 
interpretation. The documentation is clearly misleading since the data type is 
unsigned, but its heart is in the right place. ;o) In any case, you might want to 
brush up on twos compliment integer representations if you're still confused.

Regards,

Jim Schram
PalmSource Inc.
Partner Engineering


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



Re: Return value of DmFindResource.

2002-02-15 Thread brian



Hi Jim,


Thanks - I know the two's complement :-) I just got confused by the mismatch of 
value and return type ...  I looked at the prototype in the include files - it also 
said UInt16 ...   Then I got scared  had to have somebody put my mind at ease ...

Thanks.


Kind regards,
Brian


On Fri, 15 Feb 2002 12:58:04 -0800, Palm Developer Forum 
[EMAIL PROTECTED] said:
At 9:36 PM -0100 2002/02/15, [EMAIL PROTECTED] wrote:
What is the return value of DmFindResource if a given resource cannot be found?
In the Reference guide it says:

Returns index of resource in resource database, or -1 if not found.

Well - the return type of DmFindResource is UInt16  :-)

Should I check against 0x?

Yes.

Just FYI for anyone who's confused... 0x = -1 for 16-bit integers, and 0x 
= -1 for 32-bit integers. The bit pattern is identical, so this is really about 
interpretation. The documentation is clearly misleading since the data type is 
unsigned, but its heart is in the right place. ;o) In any case, you might want to 
brush up on twos compliment integer representations if you're still confused.

Regards,

Jim Schram
PalmSource Inc.
Partner Engineering


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


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



Re: POSE 3.4

2002-02-15 Thread Harry Ohlsen

 Unix sources are available for download.

OK, I must be going blind.  I'll put my glasses on and have another look.

Thanks.

 Quality and quantity don't always go hand in hand ;-)

Ain't that the truth?!  Problem is, my boss keeps telling me the money he 
pays me is really, really high quality ;-).

Harry O.

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



RE: Opening resDB with bundle bit on causes system fatal errors ?

2002-02-15 Thread Danny Epstein

A few weeks ago Mark A. Peters wrote:
 ... I ... discovered that if you set the bundle bit
 on a resource database, the system blows up every time it tries to access
 that database for any reason.  This happens, for example, when bringing up
 the system Delete dialog, and one scrolls to the page on which the app
 with the bundled resource database appears. ...

I just tried to reproduce this using the following steps:
- Make a copy of Pimlico's dbScan.prc on my Mac.
- Edit the copy in BrainHex to have a different database name and type, and
to set the bundle bit.
- Boot up Poser 3.4 emulating an m505 with a 4.0 debug ROM.
- Install the modified prc.
- Bring up the Delete dialog and delete the database. No crash occurred.
- Install the modified prc again, as well as the original prc.
- Run the app  quit. No problem here. (Not surprising since it doesn't open
the bundled database.)
- Bring up the Delete dialog and delete the app  associated database. No
crash occurred.

Send me your prc off-line and I'll see if I can figure out why we're seeing
different results.
--
Danny @ PalmSource

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



Re: POSE 3.4

2002-02-15 Thread Harry Ohlsen

The thing that confused me was that link hasn't been updated; it still points 
to the source for 3.3.

However, as you say, there is a link to 3.4 further down.

My faith is restored :-).

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



Re: Sygwin SDK

2002-02-15 Thread scott

On Fri, Feb 15, 2002 at 11:39:56PM +0300, Alexandre Kazantsev wrote:
 1. Can I use MS DOS Window  instead of Sygwin? What could be an issue?

Possibly, but it would be more trouble than it is worth, in my opinion.
The first issue is that the symlink you create below wouldn't show up a
dos window.  You would probably have other issues dealing with makefiles
and such as they often take advantage of environment variables and shell
features (like file globbing) provided by bash.

 
 2. What does the command ln -s sdk-3.5 sdk do? Where does it write the new
 SDK name?

ln -s sdk-3.5 sdk creates a symbolic link.  (ln creates links, -s means
make that link symbolic.)  That means that inside the bash shell, the
contents of directory sdk  are the exact same as sdk-3.5 because sdk is
just another name for sdk-3.5.  This makes it very easy to switch back and
forth between different sdk's.  The prc-tools simply look in the sdk
directory. You could create the sdk link to sdk-4.0, sdk-3.0, or whereever
else you happen to have an sdk installed.

As to where bash stores the symbolic link, it seems like the bash shell
creates a text file with the system attribute set. The contents of the
file indicate which directory the symbolic link points too.  Once you
create the symbolic link under bash, you can see the file in a dos window
by using the 'attrib' command, and view it with 'type' like this:

C:\PalmDevattrib
  A  S   SDK   C:\palmdev\sdk

C:\PalmDevtype sdk
!symlinksdk-3.5/

scott

-- 

scott[EMAIL PROTECTED]


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



ANNOUNCEMENT: Palm Desktop Development SDK

2002-02-15 Thread Michael Knopp

Developers,

At PalmSource 2002 we announced the availability of the Palm Desktop SDK.  
The Palm Desktop SDK allows developers to expands the functionality of 
the Palm Desktop by creating Addins and Extensions.  Developers can now 
integrate desktop applications directly into the Palm Desktop.  

Resources available at:  
http://www.palmos.com/dev/tools/desktop/
Palm Desktop SDK: Addin/Extension development in Visual C++ and Visual Basic
Palm Desktop 4.1 Beta: Palm Desktop 4.1 beta release for use with the SDK

PalmSource presentation: The Next Generation Desktop:
http://www.palmos.com/dev/tools/desktop/101-desktop_overview.zip
Overview of Palm Desktop 4.1 and its extensibility options

PalmSource presentation: APIs for the Next Generation Desktop:
http://www.palmos.com/dev/tools/desktop/102-desktop_details.zip
APIs and details of creating Addins and Extensions for Palm Desktop 4.1

Developers who are interested in Palm Desktop development are encouraged 
to join the Windows Desktop Forum.  Please address all development questions

concerning the Palm Desktop SDK to the Windows Desktop Forum.
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/tech/support/forums/



Re: OS 5 == High Development Cost?

2002-02-15 Thread Keith Rollin

At 12:25 PM +0100 2/15/02, Juan de Dios Santander Vela wrote:
The PowerPC had, from the beginning, means to switch data endianness, and
from the G3, Motorola removed the severe penalty the little-endian mode
imposed on processing speed ---that's why Virtual PC 4 and 5 only run on G3
or better processors--. If you set Mac OS X as 'the Mac development
platform', you have the guarantee of a PowerPC G3 or better. Anyway, you can
impose a G3 as the minimum for the Mac version of the PalmSimulator, just as
you removed 68k support from POSE, and have it run also on top of Mac OS 9,
using maybe even the same libraries you're using...

I don't know when these opcodes were added, but PowerPC does have 
nice read/write byteswapped data opcodes.  I'm using them in the 
ARM version of Poser to good benefit.

The problem is with using those opcodes in the Simulator.  The 
Simulator is just the Palm OS source code compiled natively on a 
desktop platform.  It accesses aggregate data via structs just like 
any other C application.  There is no way in C to say the fields in 
this struct are stored in Little Endian format, so generate the 
opcodes that will read and write them as such.  So there's no easy 
way to get the Simulator to handle data in Little Endian format.

-- Keith

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



Re: converging POSEs

2002-02-15 Thread Keith Rollin

At 10:37 AM -0800 2/15/02, Trevor Menagh wrote:
Do you think that in the future the development of POSE can be 
merged with all the hardware producers? I currently have to have 3 
different POSEs to test my apps on Sony, Handspring, and Palm.

By you do you mean me?  I can only merge different Posers together 
if I have the source code.  I don't have any modifications from Sony 
or Handspring, so there's nothing I can do.

After the PalmSource Developer's conference last week, I *did* talk 
with some Sony engineers who said they'd send me their Poser 
modifications.  I don't have those yet, but hopefully will soon.  But 
they won't show up in Palm's version of Poser until 4.0, which won't 
be for many months.

-- Keith Rollin
-- Palm OS Emulator engineer

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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

At 8:33 AM +1100 2/16/02, Harry Ohlsen wrote:
The thing that confused me was that link hasn't been updated; it still points
to the source for 3.3.

However, as you say, there is a link to 3.4 further down.

My faith is restored :-).

I've notified the Web master about this mistake.

-- Keith

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



Re: Pose and netlib

2002-02-15 Thread Keith Rollin

At 3:56 PM -0500 2/15/02, Matt Hebley wrote:
From what I understand, POSE using the host TCP stack has a 
hardwired 2 second timeout (i.e. it ignores the timeout you specify 
in the NetLib call).

 From where do you understand this?  Poser does not ignore the timeout 
values and instead substitute a 2 second timeout.  There's nothing in 
the documentation, release notes, or source code that says anything 
about 2 second timeouts, so I'm keen to learn where you heard this.

-- Keith Rollin
-- Palm OS Emulator engineer

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



wireless modem

2002-02-15 Thread Stella Lai

Any GSM/GPRS or CDMA wireless modem currently available for Palm?

- Stella



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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

I'm not familiar with LstGlueGetListChoices, and never saw your 
reports sent to the address you gave below.  Perhaps they were sent 
to the SDK people.

The same guy who tests Poser also tests the glue library.  I'm 
forwarding him your report to find out why this was missed.

-- Keith Rollin
-- Palm OS Emulator engineer


At 9:54 AM -0700 2/15/02, Terry Dennis wrote:
Well, boo hiss ...

After submitting a bug report (twice!) via standard Palm methods
(http://www.palmos.com/dev/support/bugs/)  about 3.3 POSE in combination
with the 4.1 SDK Beta, and not receiving a response either time, I see that
the new 3.4 POSE contains the same bug.

That being 

MyAppName (x.x) just read from Memory Location (whatever...) which is in
the itemsText field of the frmListObj starting at ... (etc.)

This is AFTER I changed my source code to use LstGlueGetItemsText which
was provided (thank you!) in the 4.1 SDK to provide a way to legally
access the address I legally stored in frmP-itemsText with
LstSetListChoices.  Don't know why the LstGlueGetItemsText wasn't called
LstGlueGetListChoices to be consistent with the function that stored the
address, but that's a different issue.

So, now I have another gripe to add to my list ... along with my outstanding
gripes about no way to dynamically allocate scrollbars, and no way to
dynamically add a frameless button. or to change the frame type to
frameless after I dynamically add a framed ButtonCtl.

This just keeps getting better and better.

Sigh ...

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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

At 11:14 AM -0700 2/15/02, Terry Dennis wrote:
re: This blurb from the _news.txt file ...

* Allow read access to attr fields of Control, List, Bitmap, Label,
  and Scrollbar objects if the accessor function is not available --
  FrmGlueGetObjectUsable accesses those fields. FrmGlueGetObjectUsable
  also accesses Gadget and Table objects, but Poser already allows
  read access to attr for those objects. [Catherine White]

Does this mean that we WILL sooner or later be provided accessor routines
for the attr fields?  Or, does it mean that it's now safe (legal?) to
access those attribute fields directly?  If not, then this change might be
dangerous in that it will mask the illegal accesses to internal areas.

Direct access is allowed only so that FrmGlueGetObjectUsable can 
access those functions (or any similar wrapper code of your own). 
You application should not access those fields directly, but instead 
should go through the glue code and let it do it for you.

The accessor function function alluded to in the note is actually a 
magic function available under PalmSim.  The glue code knows about it 
and calls it when it's available.

-- Keith Rollin
-- Palm OS Emulator engineer

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



RE: converging POSEs

2002-02-15 Thread Trevor Menagh

Oh, that's cool. It's good to hear that those guys are at least talking with you about 
it. :)

trv
-- 
Trevor Menagh, Software Engineer
iambic, Inc. (www.iambic.com)
[EMAIL PROTECTED]
(408) 367-1600 x20

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Keith
Rollin
Sent: Friday, February 15, 2002 2:31 PM
To: Palm Developer Forum
Subject: Re: converging POSEs


At 10:37 AM -0800 2/15/02, Trevor Menagh wrote:
Do you think that in the future the development of POSE can be 
merged with all the hardware producers? I currently have to have 3 
different POSEs to test my apps on Sony, Handspring, and Palm.

By you do you mean me?  I can only merge different Posers together 
if I have the source code.  I don't have any modifications from Sony 
or Handspring, so there's nothing I can do.

After the PalmSource Developer's conference last week, I *did* talk 
with some Sony engineers who said they'd send me their Poser 
modifications.  I don't have those yet, but hopefully will soon.  But 
they won't show up in Palm's version of Poser until 4.0, which won't 
be for many months.

-- Keith Rollin
-- Palm OS Emulator engineer

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


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



RE: OS 5 == High Development Cost?

2002-02-15 Thread Danny Epstein

 I don't know when these opcodes were added, but PowerPC does have 
 nice read/write byteswapped data opcodes.

I think Juan is referring to the LE (little endian) bit in the MSR (machine
state register). See:

http://www.byte.com/art/9509/sec12/art1.htm

and:

http://developer.apple.com/techpubs/hardware/DeviceManagers/pci_srvcs/pci_ca
rds_drivers/PCI_BOOK.24e.html

-
Danny

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



RE: OS 5 == High Development Cost?

2002-02-15 Thread Keith Rollin

At 3:07 PM -0800 2/15/02, Danny Epstein wrote:
   I don't know when these opcodes were added, but PowerPC does have
  nice read/write byteswapped data opcodes.

I think Juan is referring to the LE (little endian) bit in the MSR (machine
state register). See:

http://www.byte.com/art/9509/sec12/art1.htm

and:

http://developer.apple.com/techpubs/hardware/DeviceManagers/pci_srvcs/pci_ca
rds_drivers/PCI_BOOK.24e.html

Wouldn't that force the entire computer to run in Little Endian mode? 
Would the OS be able to function in that state?

-- Keith

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



Re: converging POSEs

2002-02-15 Thread Max Bian

Isn't true according to the GPL, they have to supply the source code at least
upon request?

Max
--- Keith Rollin [EMAIL PROTECTED] wrote:
 At 10:37 AM -0800 2/15/02, Trevor Menagh wrote:
 Do you think that in the future the development of POSE can be 
 merged with all the hardware producers? I currently have to have 3 
 different POSEs to test my apps on Sony, Handspring, and Palm.
 
 By you do you mean me?  I can only merge different Posers together 
 if I have the source code.  I don't have any modifications from Sony 
 or Handspring, so there's nothing I can do.
 
 After the PalmSource Developer's conference last week, I *did* talk 
 with some Sony engineers who said they'd send me their Poser 
 modifications.  I don't have those yet, but hopefully will soon.  But 
 they won't show up in Palm's version of Poser until 4.0, which won't 
 be for many months.
 
 -- Keith Rollin
 -- Palm OS Emulator engineer
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/tech/support/forums/


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

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



RE: converging POSEs

2002-02-15 Thread Keith Rollin

Only to people who have the binary, I think.  I'm certainly no expert on the
subject.  But the whole point of the GPL is to allow people using a program
to modify that program.  There's nothing that says that the source is freely
distributable.

#include JohnMarshallCorrections.h

But that aside, the big issue is that Sony's modifications are made against
old versions of Poser, and the ones I saw were made in such a way to break
support for all other devices.  I had been trying to work with them to fix
both problems.  It now sounds like they're close to that, so there's a
chance I can merge their modifications back into my source code base.

-- Keith Rollin
-- Palm OS Emulator engineer

-Original Message-
From: Max Bian [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 3:26 PM
To: Palm Developer Forum
Subject: Re: converging POSEs


Isn't true according to the GPL, they have to supply the source code at
least
upon request?

Max
--- Keith Rollin [EMAIL PROTECTED] wrote:
 At 10:37 AM -0800 2/15/02, Trevor Menagh wrote:
 Do you think that in the future the development of POSE can be 
 merged with all the hardware producers? I currently have to have 3 
 different POSEs to test my apps on Sony, Handspring, and Palm.
 
 By you do you mean me?  I can only merge different Posers together 
 if I have the source code.  I don't have any modifications from Sony 
 or Handspring, so there's nothing I can do.
 
 After the PalmSource Developer's conference last week, I *did* talk 
 with some Sony engineers who said they'd send me their Poser 
 modifications.  I don't have those yet, but hopefully will soon.  But 
 they won't show up in Palm's version of Poser until 4.0, which won't 
 be for many months.
 
 -- Keith Rollin
 -- Palm OS Emulator engineer


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



RE: Fonts - Repost of old sample code

2002-02-15 Thread Doug McFadyen


 I took your advice and downloaded the xFont application.  I think it's
going
 to work perfectly.  Thank you.  Now, my last question (hopefully).  Now
that
 I've created a larger font, how do I get it into my application?

Hi Curt,

I posted some font sample code a while ago.  I've reposted it here.  Hope
you find it somewhat useful.

Doug.


-- OLD POST STARTS HERE --

If you're using CodeWarrior, you can get the PilRC plugin here
http://www.calliopeinc.com/pilrcplugin.html.  If you're using CodeWarrior
R8, the plugin has ALREADY been installed.  Don't forget to add the .rcp
file type to CodeWarrior's File Mappings, and bind it to PilRC as a TEXT
type with no flags set.

Also, get xFONT here
http://www.members.tripod.com/pericak/font_description.htm.  This will let
you create and/or rip Windows fonts.  I used it in my example, below, to rip
the Comic font.  xFONT will produce the .pfn file (see below).  I've hacked
up all these files for brevity, but they *should* work.

You can read the docs for PilRC here
http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=manual.  Read
the section on the FONT definition.  This is what I did for my Comic18.rcp
file, below.

Note that xFONT does NOT add the GLYPH -1 to the end of the .pfn file.
You REALLY NEED to do this!  If you don't, some flavors of Palm OS will get
sick.  I found this out the hard way! :)

I've included a small fragment of C code, below, that should demonstrate how
this all works.  The code *should* work, if you incorporate it into a
project, but I didn't test it (grin).  Note that the comicFont ID of 12801
is arbirary, and I chose that value myself.  You can use almost any ID
value, as long as you don't create a resource conflict.

Note that you only need to bring the Comic18.r file into a CodeWarrior
project, and it will work.  You only need the .rcp and .pfn files if you
want to create a new or different Comic18.r file (by editing or re-running
xFONT).

Enjoy,
Doug.



FILE test.c fragment--
#include font.h
#define comicFont12801

static void Test(void)
{
   DoWinDrawCharsTest( stdFont );
   DoWinDrawCharsTest( fntAppFontCustomBase );
}

static void DoWinDrawCharsTest( FontID fID )
{
   FontPtr fontP;
   MemHandle fontHandle;
   FontID oldID;

   if ( FntIsAppDefined(fID) )
   {
  fontHandle = GetFontResource( comicFont, fontP );
  FntDefineFont( fID, fontP );
   }

   oldID = FntSetFont( fID );

   // Use the selected font here.
   WinDrawChars( Hello, 5, 0, 0 );  // Just an example only!

   FntSetFont( oldID );

   if ( FntIsAppDefined(fID) )
  ReleaseFontResource( fontHandle );
   }
}

static MemHandle GetFontResource(DmResType resource, FontPtr *ppFont)
{
   MemHandle hFont;
   FontPtr pFont;

   if ( (hFont = DmGetResource(fontRscType,resource)) )
   {
  if ( !(pFont = (FontPtr)MemHandleLock(hFont)) )
  {
 DmReleaseResource( hFont );
 hFont = NULL;
  }

  if ( ppFont )
 *ppFont = pFont;
   }

   return hFont;
}

static void ReleaseFontResource(MemHandle hFont)
{
   if ( hFont )
   {
  MemHandleUnlock( hFont );
  DmReleaseResource( hFont );
   }
}
End of file---



FILE Comic18.rcp--
FONT ID 12801 FONTID 128 Comic18.pfn
End of file---



FILE Comic18.pfn--
// Font: Comic Sans MS 18.pfn
// Date: 2001/11/28  17:41:36
// File automatically generated by xFONF

fontType 36864
maxWidth 30
kernMax 0
nDescent 0
fRectWidth 30
fRectHeight 24
ascent 19
descent 5
leading 0

GLYPH 32
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---

GLYPH 33
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
--
--
-##---
-##---
-##---
--
--
--
--

GLYPH 34
--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--

GLYPH 35
-
##--##---
##--##---
##--##---
---##--##
---##--##
--###
--###
--##--##-
--##--##-
-##--##--
-##--##--
-###-
-###-
##--##---
##--##---
---###-##
---##--##
---##--##
-
-
-
-
-

GLYPH 36
--##-
--##-
-##--
-
---##-##-
--###-##-
--##--##-
--##--##-
--##--##-
--###-##-
---###---

RE: OS 5 == High Development Cost?

2002-02-15 Thread Danny Epstein

 Wouldn't that force the entire computer to run in Little Endian mode? 

I don't think so. The idea is that a single process can run in little endian
while the rest of the processes, and the interrupt handlers, all run in big
endian. I don't know how it would work in practice, but it sounds great in
theory. :)
-
Danny

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



RE: wireless modem

2002-02-15 Thread Wang Yan-FYA009

There is a VisorPhone from Handspring can be used for Handspring Visor. The phone is 
GSM. And also there is Sprint phone avaiable which is CDMA. Can check Handspring's 
website.


 -Original Message-
 From: Stella Lai [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 15, 2002 2:37 PM
 To: Palm Developer Forum
 Subject: wireless modem
 
 
 Any GSM/GPRS or CDMA wireless modem currently available for Palm?
 
 - Stella
 
 
 
 -- 
 For information on using the Palm Developer Forums, or to 
 unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
 

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



Re: wireless modem

2002-02-15 Thread Steve Mann

Any GSM/GPRS or CDMA wireless modem currently available for Palm?

The Kyocera 6035 is a Palm device with a CDMA phone and a QNC data 
modem (digital only).

Regards,
Steve Mann

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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

Thanks for the response.

Re: Your application should not access those fields directly, but instead
should go through the glue code and let it do it for you.

Right.  Understood and agree wholeheartedly.  The bad news is that there
ARENT any glue routines for accessing (view or update) the frame type for
buttons.  I'm trying to create a button without a frame.  Actually, it's a
series of user-defined buttons.  The number of buttons is dynamically
defined at runtime.  We (as in, the user) want a smaller button than is
provided by default, and don't want the vertical and horizontal outlines
separating the buttons.  We just want to draw a rectangle around the entire
group of buttons.  For the purpose of this particular UI, it looks a lot
cleaner that way, and takes up less landscape.  It works beautifully, but I
have to set the frametype to noFrame, as in:   ctlP-attr.frame =
noButtonFrame;.  Naturally, POSE slaps my wrist.  There was a discussion
several months ago about providing access to all the attributes via legal
functions, but it doesn't appear to have made it beyond discussion stage.

Regards,

Terry




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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

At 5:52 PM -0700 2/15/02, Terry Dennis wrote:
The bad news is that there ARENT any glue routines for accessing 
(view or update) the frame type for buttons.  I'm trying to create a 
button without a frame.  Actually, it's a series of user-defined 
buttons.  The number of buttons is dynamically defined at runtime. 
We (as in, the user) want a smaller button than is provided by 
default, and don't want the vertical and horizontal outlines 
separating the buttons.  We just want to draw a rectangle around the 
entire group of buttons.  For the purpose of this particular UI, it 
looks a lot cleaner that way, and takes up less landscape.  It works 
beautifully, but I have to set the frametype to noFrame, as in: 
ctlP-attr.frame = noButtonFrame;.  Naturally, POSE slaps my 
wrist.  There was a discussion several months ago about providing 
access to all the attributes via legal functions, but it doesn't 
appear to have made it beyond discussion stage.

No... there was a discussion about providing access to all 
*supported* attributes.  And setting frames wasn't on that list. 
(Not my decision ... I'm just the messenger here...)

-- Keith

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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

At 9:54 AM -0700 2/15/02, Terry Dennis wrote:
After submitting a bug report (twice!) via standard Palm methods
(http://www.palmos.com/dev/support/bugs/)  about 3.3 POSE in combination
with the 4.1 SDK Beta, and not receiving a response either time, I see that
the new 3.4 POSE contains the same bug.

What's the 4.1 SDK Beta?  I can't find it anywhere...

-- Keith

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



RE: POSE 3.4

2002-02-15 Thread Peter Epstein

Based on your description, I'd suggest you switch from using buttons to
using one or more gadgets. That way you can make it look and feel exactly as
you like. It's a bit more work, but perhaps it's worth it?
-- 
Peter Epstein

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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

Keith: There's a blurb in the FrmHideObject function that says: Prior to OS
version 3.2, this function did not set the usable bit of the object
attribute data to false. On an OS version prior to 3.2 you can work around
this bug by directly setting this bit to false yourself.

I cloned some code from FrmHideObject in OS 3.5 to handle the situation.
And, it works great. Unfortunately, when I use POSE to test my app running
on Palm OS 3.1, I get tons of error messages about accessing form storage.
Since this particular application does a bunch of hide/show of objects in
response to user input, the UIMgr data access debug has to be turned off.
Otherwise, I spend all day hitting Continue.  Any suggestions?  Other than
rewrite the user interface, of course. ( Just because the users pay the
bills, they think they're always right.  Harrumph !! )

Regards,

Terry



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



Re: Return value of DmFindResource.

2002-02-15 Thread Steve Mann

At 9:36 PM -0100 2/15/02, [EMAIL PROTECTED] wrote:

What is the return value of DmFindResource if a given resource 
cannot be found?

Why not look for a non-existent resource type and find out?

Regards,
Steve Mann

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



RE: POSE 3.4

2002-02-15 Thread Keith Rollin

Poser knows about that problem, and should allow you access to attr fields
on older OSes where FrmHideObject is broken.  But without knowing exactly
what error messages you're getting, I couldn't say if Poser or your
application is wrong.

-- Keith

-Original Message-
From: Terry Dennis [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 5:26 PM
To: Palm Developer Forum
Subject: Re: POSE 3.4


Keith: There's a blurb in the FrmHideObject function that says: Prior to OS
version 3.2, this function did not set the usable bit of the object
attribute data to false. On an OS version prior to 3.2 you can work around
this bug by directly setting this bit to false yourself.

I cloned some code from FrmHideObject in OS 3.5 to handle the situation.
And, it works great. Unfortunately, when I use POSE to test my app running
on Palm OS 3.1, I get tons of error messages about accessing form storage.
Since this particular application does a bunch of hide/show of objects in
response to user input, the UIMgr data access debug has to be turned off.
Otherwise, I spend all day hitting Continue.  Any suggestions?  Other than
rewrite the user interface, of course. ( Just because the users pay the
bills, they think they're always right.  Harrumph !! )

Regards,

Terry

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



RE: POSE 3.4

2002-02-15 Thread Max Bian

Hi.

I just recompiled with the -g switch and the result is the same.  Am I missing
anything?

Max
--- Scott Johnson [EMAIL PROTECTED] wrote:
  From: Max Bian [mailto:[EMAIL PROTECTED]]
  it detected two memory leaks.  However I don't understand
  what they mean.  The full log file is here:
  How do I make sense of stuff like Unknown @ 0x00051E52?
 
 It means you should rebuild your app with debug symbols on, so POSE can show
 the actual function names in the call stack.
 
 -slj-
 
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/tech/support/forums/


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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



RE: POSE 3.4

2002-02-15 Thread Keith Rollin

Yes...you're missing the correct option.  :-)  Look up -mdebug-labels 
in your documentation.

-- Keith

At 6:19 PM -0800 2/15/02, Max Bian wrote:
Hi.

I just recompiled with the -g switch and the result is the same.  Am I missing
anything?

Max
--- Scott Johnson [EMAIL PROTECTED] wrote:
   From: Max Bian [mailto:[EMAIL PROTECTED]]
   it detected two memory leaks.  However I don't understand
   what they mean.  The full log file is here:
   How do I make sense of stuff like Unknown @ 0x00051E52?

  It means you should rebuild your app with debug symbols on, so POSE can show
  the actual function names in the call stack.

   -slj-

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



Re: POSE 3.4 (glue access)

2002-02-15 Thread Keith Rollin

I just heard back from the tester.  It seems that the test framework 
he was using turns off Poser's checking at times.  It needs to do 
this for some of its test cases.  Unfortunately, the error checking 
was not turned back on, with the result that there are actually five 
functions in the latest PalmOSGlue that will result in Poser 
displaying error messages.

I can't say right now when Poser will be updated to allow those 
accesses.  I've announced a Poser 3.5, but since I'm currently very 
focused on Poser 4.0, Poser 3.5 is defined only to add support for 
some new devices; no other changes are planned.  I'll have to see if 
that can be changed in order to add support for those five glue 
functions.

-- Keith Rollin
-- Palm OS Emulator engineer


At 2:39 PM -0800 2/15/02, Keith Rollin wrote:
I'm not familiar with LstGlueGetListChoices, and never saw your 
reports sent to the address you gave below.  Perhaps they were sent 
to the SDK people.

The same guy who tests Poser also tests the glue library.  I'm 
forwarding him your report to find out why this was missed.

-- Keith Rollin
-- Palm OS Emulator engineer


At 9:54 AM -0700 2/15/02, Terry Dennis wrote:
Well, boo hiss ...

After submitting a bug report (twice!) via standard Palm methods
(http://www.palmos.com/dev/support/bugs/)  about 3.3 POSE in combination
with the 4.1 SDK Beta, and not receiving a response either time, I see that
the new 3.4 POSE contains the same bug.

That being 

MyAppName (x.x) just read from Memory Location (whatever...) which is in
the itemsText field of the frmListObj starting at ... (etc.)

This is AFTER I changed my source code to use LstGlueGetItemsText which
was provided (thank you!) in the 4.1 SDK to provide a way to legally
access the address I legally stored in frmP-itemsText with
LstSetListChoices.  Don't know why the LstGlueGetItemsText wasn't called
LstGlueGetListChoices to be consistent with the function that stored the
address, but that's a different issue.

So, now I have another gripe to add to my list ... along with my outstanding
gripes about no way to dynamically allocate scrollbars, and no way to
dynamically add a frameless button. or to change the frame type to
frameless after I dynamically add a framed ButtonCtl.

This just keeps getting better and better.

Sigh ...

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



RE: POSE 3.4

2002-02-15 Thread Max Bian

Thanks. Now I really know what causes the memory leak!  They are two small
buffers I allocate with MemPtrNew, not the DmGetRecord without DmReleaseRecord
the other people has suspected!  I have been crazy try to locate these
elsewhere thanks to the suggestive warning provided by POSE. :-)  Great work!

I don't see the option in the man page.  Is there any other documentation
better than that?

Max
--- Keith Rollin [EMAIL PROTECTED] wrote:
 Yes...you're missing the correct option.  :-)  Look up -mdebug-labels 
 in your documentation.
 
 -- Keith
 
 At 6:19 PM -0800 2/15/02, Max Bian wrote:
 Hi.
 
 I just recompiled with the -g switch and the result is the same.  Am I
 missing
 anything?
 
 Max
 --- Scott Johnson [EMAIL PROTECTED] wrote:
From: Max Bian [mailto:[EMAIL PROTECTED]]
it detected two memory leaks.  However I don't understand
what they mean.  The full log file is here:
How do I make sense of stuff like Unknown @ 0x00051E52?
 
   It means you should rebuild your app with debug symbols on, so POSE can
 show
   the actual function names in the call stack.
 
-slj-


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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



RE: POSE 3.4

2002-02-15 Thread Keith Rollin

I found it in the info documentation.

-- Keith

At 7:02 PM -0800 2/15/02, Max Bian wrote:
Thanks. Now I really know what causes the memory leak!  They are two small
buffers I allocate with MemPtrNew, not the DmGetRecord without DmReleaseRecord
the other people has suspected!  I have been crazy try to locate these
elsewhere thanks to the suggestive warning provided by POSE. :-)  Great work!

I don't see the option in the man page.  Is there any other documentation
better than that?

Max
--- Keith Rollin [EMAIL PROTECTED] wrote:
  Yes...you're missing the correct option.  :-)  Look up -mdebug-labels
  in your documentation.

  -- Keith

  At 6:19 PM -0800 2/15/02, Max Bian wrote:
  Hi.
  
  I just recompiled with the -g switch and the result is the same.  Am I
  missing
  anything?
  
  Max
  --- Scott Johnson [EMAIL PROTECTED] wrote:
 From: Max Bian [mailto:[EMAIL PROTECTED]]
 it detected two memory leaks.  However I don't understand
 what they mean.  The full log file is here:
 How do I make sense of stuff like Unknown @ 0x00051E52?
  
It means you should rebuild your app with debug symbols on, so POSE can
  show
the actual function names in the call stack.
  
  -slj-

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



file operation

2002-02-15 Thread Petr Kurtin

Hello,

I'd like to open/read a .PRC file and I know I can't use FileOpen function.
Instead of it, I try DmOpenDatabase function (right choice?) but I have
problem to read for example only 15 bytes - I guess I have problem with
DmReadRecord function (expects index number of the record).

Thanks for your all advices,
  Petr


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



Re: POSE 3.4

2002-02-15 Thread Ben Combee


Keith Rollin [EMAIL PROTECTED] wrote in message
news:76881@palm-dev-forum...

 At 9:54 AM -0700 2/15/02, Terry Dennis wrote:
 After submitting a bug report (twice!) via standard Palm methods
 (http://www.palmos.com/dev/support/bugs/)  about 3.3 POSE in
combination
 with the 4.1 SDK Beta, and not receiving a response either time, I
see that
 the new 3.4 POSE contains the same bug.

 What's the 4.1 SDK Beta?  I can't find it anywhere...

I think he means 4.0 SDK Update 1 DR 1 in the seeding area.  DR2 was
up for a while, but disappeared.  This was supposed to go public last
week, but it seems to be in the same web posting black hole that POSE
3.4 was in.



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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

Keith: Here's the error message I get ..

MyApp just wrote to location (0xWhatever) which is in the attr field of
the frmLabelObj .. blah blah blah

It occurs in this case:

case frmLabelObj:
obj.label-attr.usable = false;
break;

I haven't found any accessors or Glue for Labels.  Perhaps I'm missing
something?

Regards,

Terry



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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

 I think he means 4.0 SDK Update 1 DR 1 in the seeding area.  DR2 was
 up for a while, but disappeared.  This was supposed to go public last
 week, but it seems to be in the same web posting black hole that POSE
 3.4 was in.


Right.  My bad.  The name of the download was sdk40upd1dr1.zip




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



Re: POSE 3.4

2002-02-15 Thread Keith Rollin

At 8:57 PM -0700 2/15/02, Terry Dennis wrote:
Keith: Here's the error message I get ..

MyApp just wrote to location (0xWhatever) which is in the attr field of
the frmLabelObj .. blah blah blah

It occurs in this case:

 case frmLabelObj:
 obj.label-attr.usable = false;
 break;

I haven't found any accessors or Glue for Labels.  Perhaps I'm missing
something?

I think that what's really needed (from Palm) is a guide to when 
FrmHideObject works and when it doesn't.  I believe that 
FrmHideObject works correctly in Palm OS 3.1 for label objects, which 
is why Poser is not letting you access the object directly yourself.

-- Keith

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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

re: switch from buttons to gadgets.

Well, yeah.  That's a way to do it.  But, the existing code, which was
written way back when Palm OS was a pup, is working very smoothly ... other
than the fact that now I can't change the frame attribute without getting my
wrist slapped.  And, it might not work in future releases.  I don't get paid
to rewrite stuff.  Just to write it so that it works reliably.  If I had
tons of free time, I'd put together an accessor routine for the frame
attribute and any others that don't appear to be supported, AND I'd write
all that's necessary to dynamically add a scrollbar.  Unfortunately, I
wouldn't get paid to do that by my client, and my family has become
accustomed to eating.



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



Re: POSE 3.4

2002-02-15 Thread Terry Dennis

re: I believe that FrmHideObject works correctly in Palm OS 3.1 for label
objects, which is why Poser is not letting you access the object directly
yourself.

Looks like you're right.  I commented out that label attribute code, and the
labels still hide and show at the appropriate times on 3.1.

Thanks,

Terry



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



problem with StrNCopy

2002-02-15 Thread prasad

hello,
   I am facing the problem with StrNCopy();

please see this one.
CharPtr recText = thisisfromlaxma;
CharPtr test = fromlaxma;
CharPtr test1;

StrNCopy (test1,recText,StrLen(recText)-StrLen(test));

actually the thisis string is copied in to test1 by using the abow function, but iam 
not getting, iam getting some error with emulator.iam using palmOS 3.1 version is any 
problem with version?

any one have idea please tell me
thanks.
laxma.

---


_
Get Your Free ScanMail and Email At http://www.bharatmail.com

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



Re: Pose and netlib

2002-02-15 Thread bill

I have downloaded Pose 3.4.  Right off the bat I noticed that when you set
the TCP/IP host address in the prefs. it stayed what you set it too, in the
old Pose, I noticed that it would always go to localhost:
=whatever the default number was.  I set it to my local machine with 21
as the port, and guess what, it worked... that is good, but it would have
saved me months of frustration when I had to continualy install the software
on the palm, plug the wireless modem in, test it and watch it crash, then
try something else.  Anyway, it is working now, I am not sure if the port
made the differance or not, I had set the machine before to the ip address
of the host but left the port as the default and it did not work then
either.  I will have to test it on my laptop where no upgrades have been
made to POSE.  Anyway, I appreciate the help and sugestions, I downloaded
the NetSample stuff, they should be mucho help to me.  Thanx again.
bill

- Original Message -
From: Matt Hebley [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, February 15, 2002 12:56 PM
Subject: Re: Pose and netlib


 From what I understand, POSE using the host TCP stack has a hardwired 2
 second timeout (i.e. it ignores the timeout you specify in the NetLib
call).

 I'm using POSE 3.2

 I don't know how to change this value. But if you want a longer timeout,
 you could detect that you are running on POSE and repeatedly call the
 NetLib function until you have a large enough timeout.

 Matt

 At 10:14 AM 15/2/2002 -0800, you wrote:

 I'm not using DNS, I am using the IP addresses.  I can surf the web, but
 when I try to use my own program, one that I wrote to connect to a telnet
 session it doesn't work.  I found this error:
 (GDB) set confirm off(GDB) target pilot localhost:21localhost:21:
Invalid
 argument.
 
 I don't know where it go localhost:21, I strictly use IP addresses, maybe
 this will give more clues, I hope.
 I am new to this, and as usual, I probably bit off more than I can chew
 right now, but usually I learn better that way, so bear with me and thanx
 for the help.
 thanx
 bill
 
 - Original Message -
 From: Palm Dev Forum [EMAIL PROTECTED]
 To: Palm Developer Forum [EMAIL PROTECTED]
 Sent: Friday, February 15, 2002 9:37 AM
 Subject: Re: Pose and netlib
 
 
   Hey Bill,
  
   I think SebNob is right.  Since you don't seem to have a local web
server
   you can access by IP, why not try this:
  
   on your desktop system which is on the same internet connection as
POSE,
 go
   to a dos prompt and type
  
   PING YAHOO.COM
  
   It will respond with 216.115.109.6 as the IP address of YAHOO.COM.
(But
 do
   this yourself anyway to make sure your connection is working right now
and
   YAHOO.COM is working right now.)
  
   Surf on POSE to that IP instead of typing in the www.yahoo.com and see
 what
   happens.
  
   ---
   Gary Gorsline
   Easy Business Software
   == End of Message ==
  
   - Original Message -
   From: bill [EMAIL PROTECTED]
   To: Palm Developer Forum [EMAIL PROTECTED]
   Sent: Friday, February 15, 2002 12:02 PM
   Subject: Re: Pose and netlib
  
  
One thing I noticed about the new pose is that you can actually
change
 the
localhost to a IP address:port, I was wonder, probably a stupid
   question,
but what would the port number be??  I used my host computer IP
address
   and
the 6416 that they had in there, but it still won't work.
thanx
bill
   
SebNob [EMAIL PROTECTED] wrote in message
   
  

news:LYRIS-45725-70158-2002.02.15-07.26.59--wlalexander#[EMAIL PROTECTED]
a
lmos.com...
 Hi bill

 Maybe it's a problem related to the DNS. I think that POSE
doesn't
   get
 the DNS from the host computer. If you have a web server on your
LAN,
   try
 accessing it by it's IP. Personnally i connect my POSE with a win
RAS
   and
it
 work fine.

 bill [EMAIL PROTECTED] a écrit dans le message news:
 [EMAIL PROTECTED]
 
  I am just redirecting netlib to the TCP/IP stack of the host
 computer
like
 I
  am supposed to.  I have no prroblem with the program on the palm
it
 is
 only
  when trying to use my cable connection, or even a modem
connection,
 I
 always
  get a time out error, it never works.  Pose does not seem to
know
 how
   to
 get
  to the internet.
  thanx
  bill
 
  - Original Message -
  From: Palm Dev Forum [EMAIL PROTECTED]
  To: Palm Developer Forum [EMAIL PROTECTED]
  Sent: Thursday, February 14, 2002 7:19 PM
  Subject: Re: Pose and netlib
 
 
   I'm sure someone, even me, might be able to give you some
help,
 but
you
  just
   haven't told us enough about your problem.  Yes, I've had
 Connection
 Time
   Outs with POSEr and Network connection to Internet.  

Re: file operation

2002-02-15 Thread Philip Sheard

 I'd like to open/read a .PRC file

You mean an imported .PRC file (i.e. a resource database).

 I try DmOpenDatabase function (right choice?)

Yes.

 I guess I have problem with DmReadRecord function

I am not surprised. It does not exist. Try DmGetResource instead.



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