WinDrawBitmap on OS5

2003-02-11 Thread Rajasekhar Reddy P
Hi all I am using WinDrawBitmap function to display an bitmap on specified location. It is working fine on Palm IIIxe and Palm V (OS are 3.5 and 3.1). But when I try to run on OS 5 Simulator bitmap is not displaying. What is Problem? Can any one help me. This is sample code which I used to

[off] PalmSource contacts?

2003-02-11 Thread Tim N. Tashpulatov
Sorry for offtopic, but are there any e-mail addresses at PalmSource a developer can contact? I've tried a couple listed on www.palmsource.com, with no luck (mail gets back). In particular, I need information on specific issues, like accessing system globals in OS5 and other things necessary

Re: WinDrawBitmap on OS5

2003-02-11 Thread Magnus Berg
Rajasekhar Reddy P wrote: Hi all I am using WinDrawBitmap function to display an bitmap on specified location. It is working fine on Palm IIIxe and Palm V (OS are 3.5 and 3.1). But when I try to run on OS 5 Simulator bitmap is not displaying. What is Problem? Can any one help me. This is sample

RE: Handspring says delete third-party applications

2003-02-11 Thread js3guj
Sean Charles [mailto:[EMAIL PROTECTED]] wrote: | | On Monday, February 10, 2003, at 07:41 PM, [EMAIL PROTECTED] wrote: | | | Have you experienced slowdown from the lots of apps installed | or lots of system extension installed (and activated)? | The slowdown comes from more cpu cycle and

RE: Anchient History (was: RE: Handspring says delete third-party applications)

2003-02-11 Thread js3guj
This is my last post on this topic. Joe Malone [mailto:[EMAIL PROTECTED]] wrote: | | Let me state this for the record: I am not a troll. I joined this | forum to share in the knowledge of programming palm powered | devices. I | have learned a lot from the forum, and I have shared much of

Re: Anchient History (was: RE: Handspring says delete third-party applications)

2003-02-11 Thread Markus Dresch
I wondered and wonder what is intended to mean in your original post i wonder what you intend with your agressive posts. maybe you should try to find out the reason of your frustration and do something about it markus dresch (www.palmside.com) -- For information on using the Palm Developer

Re: error reading from unlocked chunk of memory while DmWrite

2003-02-11 Thread John Marshall
On Tue, Feb 11, 2003 at 07:08:41AM +0100, Veronica Loell wrote: I get an error message indicating that I am reading from an unlocked chunk of memory. [...] 30 DmWrite(p, 0, (UInt32*)StrAToI(value), sizeof(UInt32)); Grateful for any ideas? Whenever you write a cast, you should be

[ANN] USB-TCP Bridge 1.0 for Mac OS X released

2003-02-11 Thread Florent Pillet
I just released another tool for us, developers working on Mac OS X. This is the initial release of USB-TCP Bridge, a tool which bridges connections from a Palm handheld in a USB cradle over to a TCP/IP socket on Mac OS X. Very useful to connect the GDB debugger, for example.

Re: error reading from unlocked chunk of memory while DmWrite

2003-02-11 Thread Veronica Loell
Subject: Re: error reading from unlocked chunk of memory while DmWrite From: John Marshall [EMAIL PROTECTED] Date: Tue, 11 Feb 2003 11:51:21 +0100 To: Palm Developer Forum [EMAIL PROTECTED] Ah, I'm not really creating a pointer to value but rather a pointer to the memory location at

Re: resize key queue

2003-02-11 Thread Einar Örn
cycles just processing your queue. I'd rethink the need to post so many events. I'm sure another method would work without all the over-head. ok, I have unlimited power from my portable nuclear reactor. And I'm very interested in how EvtSetPenQueuePtr works. Do I have to restore the key queue

Variables Types

2003-02-11 Thread Alexandre Barreto
I need to make rotines to be used in CASL pro i'm having problems with types like Uint8, Uint16, Uint32 and some others Uint16 i think i ll work with type short but the rest i don't know what to do where can i declare this types in my c file? Uint32 i tried int but din't work i need to get this

Re: Variables Types

2003-02-11 Thread Veronica Loell
Look in PalmTypes.h it has all the type declarations for Palm os. I need to make rotines to be used in CASL pro i'm having problems with types like Uint8, Uint16, Uint32 and some others Uint16 i think i ll work with type short but the rest i don't know what to do where can i declare this types

Re: Variables Types

2003-02-11 Thread Aaron Ardiri
I need to make rotines to be used in CASL pro i'm having problems with types like Uint8, Uint16, Uint32 and some others UInt8, UInt16, UInt32 -- note - capitals --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143

CallBack in SysNotifyRegister

2003-02-11 Thread Alexandre Barreto
i'm getting problems with the callback param at SysNotifyRegister it says its of invalida type ponter... whats wrong? thanx //** CASL_FLOATNUM TrataWU(void)//SysNotifyParamType *notifyParamsP) { Do

Enumerate all databases belonging to an application

2003-02-11 Thread Dragomir Goranov
Hi, How can I enumerate all databases belonging to an application? I tried DmGetNextDatabaseByTypeCreator but I could not get it working. Could you please send an example? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Enumerate all databases belonging to an application

2003-02-11 Thread Philippe Garnier
You can't know all databases creators, so you must use a different Dm routine, which typically takes an index as a parameter. I suggest using DmGetDatabase to get db ids and then DmDatabaseInfo. See http://www.palmos.com/dev/support/docs/palmos/DataAndResourceManager.html#10 94449. Philippe.

Re: Enumerate all databases belonging to an application

2003-02-11 Thread Philippe Garnier
Oops, sorry, I misread your question. You may find a solution to your problem in the DmGetNextDatabaseByTypeCreator routine description in the Palm OS Programmer's API Reference, there's a discussion precisely about what you want to do. Philippe. - Original Message - From: Philippe

Help raw socket

2003-02-11 Thread Alex Lam
Hi, I am looking into the possibility of building a wireless sniffer using the Sony WiFi card. Has anyone tried opening a raw socket on it? I didn't get any error opening a raw socket on it, neither do I get an error binding it to a raw address (ie. the WiFi interface). But then NetLibReceive

Re: FrmPopupForm???...

2003-02-11 Thread Al Smith
hello dan, I had a similar problem, and I resolved it by using FrmGotoForm, this closes the form in order to redraw the other form once you call a getactiveform. From: Dan [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Subject:

Re: [off] PalmSource contacts?

2003-02-11 Thread Brad Figler
You can pay for the developer program ($500/yr) and you get two incident reports. However, your might very well be able to get your questions answered in this forum Brad Tim N. Tashpulatov [EMAIL PROTECTED] wrote in message news:113048@palm-dev-forum... Sorry for offtopic, but are there

you really don't need to call me a 'Trol'l

2003-02-11 Thread Andrew J. Huang
Just a mild point of clarification (very low S/N): Troll is a verb referring to the act of dragging bait or lures back and forth in front of gullible listers. It often elicits fantastic flames from the unwary. Unlike real-water trollers, I usually have a high opinion of internet trollers who're

Little Help

2003-02-11 Thread Al Smith
G' day all, I am having a little trouble printing out the seconds in this routine , can anyone tell me whats wrong with it.. FieldType * dateField; FieldType * timeField; DateTimeType dateTime; static char dateAsString[9]; static char timeAsString[9]; dateField =

Safe API calls from Serial Wakeup Handlers

2003-02-11 Thread Bill Heidler
I am re-posting this issue because it is critical to my app, and seems like a very relevant issue for this forum. I searched the archives and did not find an answer. I am using the old serial interface, but it applies equally to the new serial interface. I want to call TimGetTicks() from my

Re: Little Help

2003-02-11 Thread Jeremy Dewey
The trouble is with your call to StrPrintF - you are specifying two arguments in the format string, but only passing one. Further, it is likely crashing or printing garbage because the value you are passing is a number but is being interpreted as a string. Jeremy At 2/11/2003 08:33 AM, you

Re: Little Help

2003-02-11 Thread Al Smith
Thanks Jeremy, I try fixing it , but now im getting a low memory error.. I am using. StrPrintF( %s:%02d,timeAsString ,dateTime.second); it compiles ,but crashes..any hints From: Jeremy Dewey [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL

Re: Little Help

2003-02-11 Thread Brad Figler
Are you sure your timeAsString is a large enough buffer? Is it NULL terminated? If not, then your StrPrintF may try to print a very long string. What are your preferences set to for the date format. If it is a long date, then you need 15 bytes. You still may need one extra byte to NULL

Re: Safe API calls from Serial Wakeup Handlers

2003-02-11 Thread Aaron Ardiri
I am re-posting this issue because it is critical to my app, and seems like a very relevant issue for this forum. I searched the archives and did not find an answer. during an ISR (interrupt service request) you cannot use any API that will require the use of a memory semaphore. thats the

Re: Little Help

2003-02-11 Thread Aaron Ardiri
StrPrintF( %s:%02d,timeAsString ,dateTime.second); where are you printing to? first argument should be the destination string. i dont see that here --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile

Re: resize key queue

2003-02-11 Thread Jim Schram
At 12:20 PM +0100 2003/02/11, Einar ÷rn wrote: cycles just processing your queue. I'd rethink the need to post so many events. I'm sure another method would work without all the over-head. ok, I have unlimited power from my portable nuclear reactor. And I'm very interested in how

RE: Little Help

2003-02-11 Thread Agus Silas
You're using it the wrongway, I guess that you want to convert second to string so that you can view it ? if so, you should do it this way : StrPrintF ( timeAsString, %02d, dateTime.second ); Cordialement, Agus Silas -Message d'origine- De : [EMAIL PROTECTED]

Re: Handspring says delete third-party applications

2003-02-11 Thread Andrew J. Huang
Although this topic is getting a bit far from Palm development, I believe that we need to pay attention to this more than the latest tool or bug! First, has anybody written back to handspring in response to this newsletter? I believe that the third party developers are a critical resource for

RE: Little Help

2003-02-11 Thread Agus Silas
I made a mistake in my last post, you should have something like this : char Buffer[50];// big enough for the whole string StrPrintF ( Buffer, %s:%02d, timeAsString, dateTime.second ); and display Buffer. Cordialement, Agus Silas -- For information on using the Palm Developer

Re: Safe API calls from Serial Wakeup Handlers

2003-02-11 Thread Jim Schram
At 8:39 AM -0800 2003/02/11, Bill Heidler wrote: I want to call TimGetTicks() from my wakeup handler routine (the function set in the call to SerSetWakeupHandler(), or SrmSetWakeupHandler() for the new serial interface). However, since the wakeup handler is called directly from the Palm's serial

Re: Little Help, memory error

2003-02-11 Thread ThuNguyet Nguyen
Hi Al, This is the prototype of StrPrintF Int16 StrPrintF(Char *s, const Char* formatStr, ...); Do you forget to define the string that you will put your format string in (1st parameter). It should be big enough to hold the time string and the number of seconds, at least 14 characters, I

Re: Handspring says delete third-party applications

2003-02-11 Thread Steve Mann
First, has anybody written back to handspring in response to this newsletter? According to one of my clients, the re-released the newsletter yesterday, softening the annoying stuff. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: NetLib sluggish keyboard response

2003-02-11 Thread Brian Smith
On Mon, 10 Feb 2003, Chris Faherty wrote: I have problems like that with my Treo 300. It's when it goes in/out of coverage. In my office the reception is right on the line, and I find that sometimes it will actually drop keys rather than just buffering them for a second or two. Yeah, I

RE: Little Help

2003-02-11 Thread Al Smith
Thank you all,,I found my mistake!!! From: Agus Silas [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Subject: RE: Little Help Date: Tue, 11 Feb 2003 18:03:23 +0100 I made a mistake in my last post, you should have something

HostTransfer sample for prc-tools

2003-02-11 Thread Andrew J. Huang
Have any of you ported HostTransfer to prc-tools? I've been struggling with it for two weeks, making progress, but also running into problems at every turn. Right now I'm fighting with DmGet1Resource(ainRsc, ainID) which fails to get the app/lib name, even though the database was opened

Signature/Beamer Application on Palm 5

2003-02-11 Thread N
Hi All Have anybody migrated signature++ application to Palm O5 5. Palm used to ship Beamer application in SDK 4 which gave me some hints earliar but its not there in SDK 5. I am migrating my old application to SDK 5 and its broken all over the places. Thanks!

Best way to retrieve html in Palm 5?

2003-02-11 Thread palm
With the loss of inetlib (for the life of me I dunno why, it was great) I am still struggling for the best way to connect to a website and retrieve the html pages. Does anyone have any advice on this? -- Glenn Ford National Library of Medicine Bethesda, MD. USA -- For information on using

Re: Best way to retrieve html in Palm 5?

2003-02-11 Thread palm
I should follow up that I don't think the web browser 2.0 SDK will work, but not sure. The palmsource site mentions at least two models (tungsten T and Sony Clie 970/X?) that have their own browsers and also web browser is only available on OS 5.1 or higher. Anyone know more about this?

Re: Best way to retrieve html in Palm 5?

2003-02-11 Thread Ben Combee
At 15:20 2003-2-11 -0500, you wrote: I should follow up that I don't think the web browser 2.0 SDK will work, but not sure. The palmsource site mentions at least two models (tungsten T and Sony Clie 970/X?) that have their own browsers and also web browser is only available on OS 5.1 or higher.

Does Sony Clie support hrSmallFont for fields?

2003-02-11 Thread Patrick Tuan
Hi, On Sony Clie T615 (Palm OS 4.1), under High Resolution (320x320) mode, I tried to use FldSetFont() to change the field font to hrSmallFont. But it just got hung up! This is what I did when at frmOpenEvent: pField = FrmGetObjectPointer(...); // Obtain a pointer to the field

Event conundrum

2003-02-11 Thread Dave Johnson
I ran into a problem today that was completely unexpected. It was easily solved with a workaround, but I'm left curious as to why it happened at all. In our app, we occasionally construct and post our own events to the event queue. One case, in an extended gadget, looks something like this:

Re: Best way to retrieve html in Palm 5?

2003-02-11 Thread palm
On Tue, 11 Feb 2003, Ben Combee wrote: At 15:20 2003-2-11 -0500, you wrote: I should follow up that I don't think the web browser 2.0 SDK will work, but not sure. The palmsource site mentions at least two models (tungsten T and Sony Clie 970/X?) that have their own browsers and also web

Re: Best way to retrieve html in Palm 5?

2003-02-11 Thread palm
On Tue, 11 Feb 2003, Ben Combee wrote: There is another library, this one free under the Artistic License, at http://www.palmgear.com/software/showsoftware.cfm?prodID=5649. Seems this has a bad link to the source. Does anyone have a copy? Thanks. -- Glenn Ford National Library of

Re: Best way to retrieve html in Palm 5?

2003-02-11 Thread Oliver
Seems this has a bad link to the source. Does anyone have a copy? Glenn, try this link: ftp://ftp.chronologic.se/pub/palm/httptester/HttpTester.zip I found it by going to the URL shown in the screenshot on the PalmGear page. The http://www.chronologic.se site has a link to the http

Re: Event conundrum

2003-02-11 Thread Keith Rollin
This is a bug in PACE. When converting the event from 68K form to ARM form and back again, it didn't know about the selector field, and so thought that dataP spanned the 2 bytes of selector and the upper 2 bytes of dataP. This bug is fixed in Palm OS 5.2. (Geesh, didn't you read the 45th

New to OS/5 hires, what am I missing?

2003-02-11 Thread Chris DiPierro
I'm just messing around with Hi-res drawing on OS/5 for the first time. It seems to me that if I do: WinSetCoordinateSystem (kCoordinatesNative); WinDrawLine (0, 0, 320, 320); On the sim, that it should put it into 1-1 mapping mode. And in fact, it does draw the line as if it were in a

Re: Illegal precompiled header version

2003-02-11 Thread Edward P. Ross
I checked the Access Paths - and they are the same for the project that compiles and the one that doesn't. The prefix File is: PalmOS_Headers_Strict Which is the same for each target (this is in the C/C++ language item under the Language Settings in the Target Settings menu). Any idea?

More than one app running

2003-02-11 Thread Yahoo
Hello, Sorry for posting this again, but I really need help on this one! I would like to know how to have my toolbar application load at the bottom of any application that is running; how do I accompish it? I have already adjusted the form to the correct size. I am using codewarrior 8.3 palm SDK

because the current version of Casl can't devolop app to compatible with Palm OS5

2003-02-11 Thread Susan
Palm Dev Forum [EMAIL PROTECTED] wrote in message news:112739@palm-dev-forum... Susan, Can I ask why you are moving from CASL to CW? I'm interested in what CASL doesn't have that you need. Gary Gorsline Easy Business

How to substitute the repeating buttons for arrow buttons?

2003-02-11 Thread Susan
Hi All, I am coding the project with CW8. In my app, I combined the List resource with a pop-up trigger resource to show the record I read from the database.I specified the value of 11 for Visible Items of the List resource.When the list contains more items than the value of the Visible Items

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Aaron Ardiri
I'm just messing around with Hi-res drawing on OS/5 for the first time. It seems to me that if I do: WinSetCoordinateSystem (kCoordinatesNative); WinDrawLine (0, 0, 320, 320); On the sim, that it should put it into 1-1 mapping mode. And in fact, it does draw the line as if it were in

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Chris DiPierro
Uh, maybe? Clipping region? I've only ever used hires on the Sony before, and a WinScreenMode takes care of it all. I've tried the same here (as well as a WinSetClip now), but no luck. Aaron Ardiri [EMAIL PROTECTED] wrote in message news:113198@palm-dev-forum... I'm just messing around with

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Aaron Ardiri
I've only ever used hires on the Sony before, and a WinScreenMode takes care of it all. I've tried the same here (as well as a WinSetClip now), but no luck. hmm.. interesting - i have never used an API in 'native' resolution mode :) the other option is to create a V3 bitmap offscreen window,

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Chris DiPierro
hmm.. interesting - i have never used an API in 'native' resolution mode :) the other option is to create a V3 bitmap offscreen window, draw to that, then blit to the screen :) [this is what we do, works fine] the fact that it stops within the 160x160 boundary would tell me it is clipping

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Aaron Ardiri
thats all i can think of - if not, we got a bug on our hands :) Using WinSetClip (r), where r is a 0,0,320,320 rectangle and then calling a WinGetClip returns a 0,0,160,160 rectangle back. Result is same with WinResetClip() I can't believe that this is a bug in OS/5. You're telling me

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Chris DiPierro
I should point out that this is all on PalmSim (OS/5, not 5.2). I have no idea of the behavior on a T-T or whatnot. If someone wants to try a simple test on a real device, I'd appreciate it. Aaron Ardiri [EMAIL PROTECTED] wrote in message news:113203@palm-dev-forum... thats all i can think

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Chris Antos
kCoordinatesNative works fine for me. Just for grins, as a test I recompiled my Icon Manager app to use kCoordinatesNative instead of the places it used kCoordinatesDouble (http://www.palmgear.com/software/showsoftware.cfm?prodID=47054). The high density drawing works identically regardless of

Re: New to OS/5 hires, what am I missing?

2003-02-11 Thread Aaron Ardiri
I should point out that this is all on PalmSim (OS/5, not 5.2). I have no idea of the behavior on a T-T or whatnot. If someone wants to try a simple test on a real device, I'd appreciate it. // get the current display information WinScreenGetAttribute(winScreenWidth,

OS/5 - sony + palm HDD incompatibilities

2003-02-11 Thread Aaron Ardiri
maybe this is a bug on sony's side - but, setting the co-ordinate system to kCoordinatesNative on OS5 has different events, mainly on penEvents depending on whether you are on a sony or palm unit. pen events on the SONY are always in single density mode (160x160), regardless of the co-ordinate