How to display an in-memory jpeg (w/header) using jpeglib on Palm

2004-03-15 Thread Devil
Dear all, I am currently trying out jpeglib on decoding jpeg data on Palm, does any one know which function call I'll need to pass a chuck of memory (jpeg header + data) to jpeglib for decoding? I'd found the one reading from VFS, but my data is already loaded onto Palm memory (just like read

Re: Power down the Palm Screen

2004-03-15 Thread Ben Combee
At 05:27 PM 3/14/2004, you wrote: Is there an API call to power down the palm screen? I don't want to go into sleep mode. I am looking into the WinScreenMode() API set, but have not found any definative way to actually power it down. There's no one way to do this that works on all Palm OS devices

Re: sprintf override by StrPrintF. Why?

2004-03-15 Thread Jan Bandouch
Give this a try. One caveat--it doesn't round up the least significant digit. Also, you can probably get rid of the overflow stuff at the end. Thanks Steve, I'm still searching for a "easier" solution, before I'll give your code a try, as I have somehow a problem in reimplementing a basic funtion

Re: How to display an in-memory jpeg (w/header) using jpeglib on Palm

2004-03-15 Thread DongDong
I've been finding a free jpeg decoding library for several weeks but just jpeglib is available. Of course, it is ideal to get the library from Konstantin (http://www.absoluteword.com/jpglib/). That is wonderful with high speed decoding, However, if speed is not a concern and time is available to s

Re: Think first, then write

2004-03-15 Thread Jan Bandouch
So another question for the experts: I've found out why sprintf() shows weird behaviour, and that is a "#define sprintf StrPrintF" in /Core/System/Unix/unix_stdio.h. So I never actually call the "real" sprintf(). Okay, sorry! I've found out that my previous post is false. I have not included any

Form Drawing on Cobalt

2004-03-15 Thread Laurie Davis
I did not get any responses to my problem with form drawing on Cobalt. It definitely seems that the FrmDraw routine does not work if there is another form initialized. Does anyone have any suggestions of where I could start to look for some answers, or someone that I could contact within PalmSourc

Re: Handx pInstaller

2004-03-15 Thread Jim Cooper
> i don't know where its source files are? They're on the handx website (which seems to be down right this instant). Christopher Litsinger also monitors the TurboSync Yahoo group. Feel free to use it to ask him questions : http://www.egroups.com/subscribe/TurboSync The source code is in Delphi,

compressing problems

2004-03-15 Thread Christian Lindemeier
Hi I'm trying to compress some data I'm fetching from a database on the palm. I'm reading one column at a time and trying to compress it with deflate. The data I'm reading is written into a memory heap before it gets compressed and written into another heap before I write it with FileWrite(...) i

user name of the handheld

2004-03-15 Thread stefano d'urso
hi could you tell me if there's a function to retrieve information about the user name of the handheld? the SyncReadUserID is not suitable because it's in the conduit side... thanks stefano -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.p

Re: user name of the handheld

2004-03-15 Thread Aaron Ardiri
> could you tell me if there's a function to retrieve information about the > user name of the handheld? > the SyncReadUserID is not suitable because it's in the conduit side... DlkGetUserInfo --- Aaron Ardiri PalmOS Certified Developer [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaro

Debugging with Simulator 5 under CW 8.3

2004-03-15 Thread Luc Le Blanc
Can I debug with CW 8.3 using Palm OS 5 Simulator or do I need CW 9.x? CW 8.3 only offers POSE or Device. -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Unselecting all checkboxes form a control group

2004-03-15 Thread Luc Le Blanc
Is there a quick way to unselect all checkboxes from a given control group, or must I explicitly call CtlSetValue( ... , false) for each of them? -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: sprintf override by StrPrintF. Why?

2004-03-15 Thread Dave Lippincott
The OS doesn't support sprintf so you must use StrPrintF. I assume the #define is to force you to use the supported routine. In fact, the Palm OS does not support most standard C API calls, so use the Palm version of them. - Original Message - From: "Jan Bandouch" <[EMAIL PROTECTED]> Ne

Re: How to display an in-memory jpeg (w/header) using jpeglib on Palm

2004-03-15 Thread Konstantin Klyatskin
That is exactly what my library at http://www.absoluteword.com/jpglib does. Also there is a sample (for PalmOS 3.5 or later) how to read 64K+ file into a flat chunk to decode it. The page has not been updated but the library now supports both progressive jpeg ang gif formats. For samples and/or pr

Re: Invalid chunk... after app exits in Debug mode

2004-03-15 Thread Wojtek
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 09:56 AM 3/11/2004, you wrote: > >Hi. > >I get "MemoryMgr.c, Line:3760, Invalid chunk ptr" after my app exits. > >I get it only in debug build. In release it works fine. > >I tried to debug, but it happens after return

FrmDoDialog then FrmPopupForm

2004-03-15 Thread Vu Pham
Is it possible to call FrmPopupForm from a form that is initialized by FrmDoDialog ? In my case, the form called by FrmPopupForm crashes when it is trying to FrmReturntoForm(0) with the error "No default form". Thanks for your advice, Vu -- For information on using the Palm Developer Forums,

How to debug runtime lib in CW.9.2

2004-03-15 Thread Wojtek
Hi. I'm trying to debug PalmOS_Runtime.lib. But actually I have no idea how to do this. I've already compiled library with debug info. I don't know how to set up other things in CW. In docs it looks little messy for me. Can anyone drop me a line. Thanks -- -- For information on using the

Re: How to debug runtime lib in CW.9.2

2004-03-15 Thread Wojtek
"Wojtek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi. > > I'm trying to debug PalmOS_Runtime.lib. > But actually I have no idea how to do this. > I've already compiled library with debug info. > I don't know how to set up other things in CW. In docs it looks little messy > for

Re: Form Drawing on Cobalt

2004-03-15 Thread Ben Combee
At 06:19 AM 3/15/2004, you wrote: I did not get any responses to my problem with form drawing on Cobalt. It definitely seems that the FrmDraw routine does not work if there is another form initialized. Does anyone have any suggestions of where I could start to look for some answers, or someone that

Re: Debugging with Simulator 5 under CW 8.3

2004-03-15 Thread Ben Combee
At 08:27 AM 3/15/2004, you wrote: Can I debug with CW 8.3 using Palm OS 5 Simulator or do I need CW 9.x? CW 8.3 only offers POSE or Device. The various Palm OS Simulators act like POSE, so you should be able to debug to them with 8.3. -- Ben Combee, senior DTS engineer, PalmSource, Inc. Read "

Popup list population from Database

2004-03-15 Thread Chris Engler
Hi All, I have read through all the listings I can find on populating a list from a database and am still having problems with a NULL string passed. Below is a sample of my code. It works fine untill the data base is present, then it has problems. I have a four column database with a couple hun

Re: Invalid chunk... after app exits in Debug mode

2004-03-15 Thread Wojtek
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 11:30 AM 3/11/2004, you wrote: > >Ben Combee wrote: > >>At 09:56 AM 3/11/2004, you wrote: > >>>I get "MemoryMgr.c, Line:3760, Invalid chunk ptr" after my app exits. > >>>I get it only in debug build. In release it works

'afnx' resources

2004-03-15 Thread Greg Lutz
Is there any official documentation, or guidelines for the use, of 'afnx' resources? The authors of palmfontconv (http://sourceforge.net/projects/palmfontconv/) appear to be quite familiar with it, but I don't see anything about it at palmsource.com or in the standard PalmOS reference document

Re: Invalid chunk... after app exits in Debug mode

2004-03-15 Thread Ben Combee
At 11:16 AM 3/15/2004, you wrote: I tracked the code after PilotMain - the __Startup__ function, the actual entry point for application. The same story - i get error after return from __Startup__ function. There is no global code executed after return from this function (or debbuger didn't show me

Re: 'afnx' resources

2004-03-15 Thread Ben Combee
At 11:32 AM 3/15/2004, you wrote: Is there any official documentation, or guidelines for the use, of 'afnx' resources? The authors of palmfontconv (http://sourceforge.net/projects/palmfontconv/) appear to be quite familiar with it, but I don't see anything about it at palmsource.com or in the

Resource Editor form NEW Palm IDE

2004-03-15 Thread Roberto Pedrozo Mendes
Hi I´m tryng to use the resource editor form new palmsource id but doesn´t work. The aplication send to me that doesn´t find a dll. How I resolve this Thanks = Roberto Pedrozo Mendes Arquiteto Sistemas HST - CPqD - Campinas [EMAIL PROTECTED] __

Re: Resource Editor form NEW Palm IDE

2004-03-15 Thread Ben Combee
At 12:43 PM 3/15/2004, you wrote: Hi I´m tryng to use the resource editor form new palmsource id but doesn´t work. The aplication send to me that doesn´t find a dll. How I resolve this You write a better bug report. 1) You need to state what DLL is missing. 2) You need to state what operating sys

Re: Think first, then write

2004-03-15 Thread Matt Graham
Jan Bandouch wrote: So another question for the experts: I've found out why sprintf() shows weird behaviour, and that is a "#define sprintf StrPrintF" in /Core/System/Unix/unix_stdio.h. So I never actually call the "real" sprintf(). I've found out that my previous post is false. I have not include

Re: Unselecting all checkboxes form a control group

2004-03-15 Thread Matt Graham
Luc Le Blanc wrote: Is there a quick way to unselect all checkboxes from a given control group, or must I explicitly call CtlSetValue( ... , false) for each of them? you could probably add another checkbox that is hidden and hit that when you want the rest unselected. -- For information on using

Re: Popup list population from Database

2004-03-15 Thread Baxter
I think you've got two choices: 1) reserve memory for your array and copy the entry from the database to your reserved memory, 2) go the owner-draw route and query each record as you draw it. If you have duplicates or skips, store an array of indexes. -- --

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

2004-03-15 Thread David Fedor
Bugs? 1. DmOpenDatabase(0,lid,dmModeReadOnly | dmModeLeaveOpen); dmModeLeaveOpen flag - does not work anymore for me. The base will be closed on application exit. 2. WinGetBounds(WinGetDisplayWindow(),&display6); wh6 = WinSaveBits(&display6,&winerr); fails for window 320x480 with undocu

Protein-forum invisible in my newsreader (slrn)

2004-03-15 Thread Ton van Overbeek
Is there any activity in protein-forum ? The protein forum does not show up in my newsreader (slrn) and there are no pointers to protein-forum archives on the forums webpage. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/f

Re: Network Activity / Sleep mode

2004-03-15 Thread Jonathan Niedfeldt
Answers are: 1) Yes 2) Probably but it will depend on the hardware that the code is running on since none of this in in the OS and is all hardware specific extensions. 3) Yes Just in case anyone else was waiting on these answers... Jon "Jonathan Niedfeldt" <[EMAIL PROTECTED]> wrote in message n

RE: Protein-forum invisible in my newsreader (slrn)

2004-03-15 Thread Patti Wells
a little. how long have you been on the list? there were 2 posts monday morning (PST) and about half a dozen on friday. I have no idea why there aren't archives for this group -- I agree with you that I wish there were. patti -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL P

what is the color theme (prefColorThemeID) doing internally?

2004-03-15 Thread Matthew Henry
A little background: I was using a T3 as my regular Palm and I switched to a TG-50. When I used the T3 I used the "Blue" color theme. When I synced my user ID to the TG-50, I got all my apps and data, as well as the "Blue" color theme. Now the interesting thing is, the TG-50 doesn't have an op

Re: Popup list population from Database

2004-03-15 Thread Chris Engler
Hi All, I am still having problems. This is my first time using databases and I am missing something. I have a data base that I created using DBMaker (which converts a .csv file and converts it to a .pdb file). These files are not intended to be edited by the Palm user. I can open them without

Working With many files in Palm

2004-03-15 Thread \[ a | x \] - Peter Alex
Hello, I develop applicaton running on Palm OS 5. This application may search and tile (about 9 files tiling) from secondary storage. 1. Is there any idea how should achieve this? I need help since i can see nothing when i view my SDCard with my T3 (even i have many file within) 2. Is it possibl

Re: what is the color theme (prefColorThemeID) doing internally?

2004-03-15 Thread Ben Combee
At 10:06 PM 3/15/2004, you wrote: A little background: I was using a T3 as my regular Palm and I switched to a TG-50. When I used the T3 I used the "Blue" color theme. When I synced my user ID to the TG-50, I got all my apps and data, as well as the "Blue" color theme. Now the interesting thin

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

2004-03-15 Thread Konstantin Klyatskin
David, 1. Let me explain what I'm trying to accomplish by leaving it open. Probably you would advise me some more robust way. I want my application to be able to wake up (as resident application in DOS world) through the command bar menu. So, I want (even with my application quit) to show an icon

Re: Popup list population from Database

2004-03-15 Thread SLO Revo News
I do not know if DBMaker uses a packed or unpacked format(that may be part of my problem). That's your first problem. Your second problem is your record structure: typedef struct ListOneType { Char * string1; Char * string2; Char * string3; UInt16 value1; } ListOneType; DBMaker will not store

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

2004-03-15 Thread Ben Combee
At 12:38 AM 3/16/2004, you wrote: 1. Let me explain what I'm trying to accomplish by leaving it open. Probably you would advise me some more robust way. I want my application to be able to wake up (as resident application in DOS world) through the command bar menu. So, I want (even with my applicat