Re: Looking for example popup list dialog code

2002-03-07 Thread Ben Combee
"Matt Disher (TiBook)" <[EMAIL PROTECTED]> wrote in message news:79120@palm-dev-forum... > > But unless you tie in an event handler how/when would you have an > opportunity to get the value of said list ? FormType *frm = FrmInitForm(dialog_id); FrmDrawForm(frm); // manipulate all the controls on

Re: Expanded Mode

2002-03-07 Thread Ben Combee
> 0x10D1D958( __Startup__ ) > 0x10D1E06C( PilotMain ) > 0x10D1DA44( UIAppShellMain ) > 0x10D1DE02( PrvAppLaunchLoop ) > 0x10C126C6( SysAppLaunch ) > 0x10C1342C( PrvCallWithNewStack ) > __Startup__ > PilotMain > CWxMateApp::PilotMain(unsigned short,void*,unsigned short) > CPalmApp::PilotMain(short,

Re: CodeWarrior question

2002-03-07 Thread Ben Combee
"Dave Brown" <[EMAIL PROTECTED]> wrote in message news:79113@palm-dev-forum... > > I figure many here use CodeWarrior for the Palm so I was hoping someone may know how to include MSL. > > I am trying to use MSL C++ and when I include to use the linked list I get a boat load of redefinition errors

Global Array of Pointers/Memory leakage

2002-03-07 Thread Steve Bailey
Hi group, got a question on global arrays that may be causing problems. In globals.h, I have one defined as extern char *sourcelist[100]; In main.c, I declare it, and initialize it: char *sourcelist[] = {0};// there's probably a better way I use this array of cha

connecting my palm with PC modem

2002-03-07 Thread fawaz bokhari
hi, How I don't have a Palm modem. How can I connect my palm with my PC internal modem. I have downloaded two softwares (Palm Redirector & Pilot Net) for that but don't know how to use it and connect my palm with PC modem. I have Win2k operating system. Has any one use these softwares. Need ass

where I can download rom image ?

2002-03-07 Thread Ho Huu hau
Hi All , Can anyone tell me where I can download a Palm VII rom image on the internet or any palm rom image? Thanks __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- For information

RE: Writing a file to LAN

2002-03-07 Thread Akhilesh Singh
Maybe you use (or write) a ftp client with a ftp server funning on the Windows machine. Simply ftp the file over there. -AS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kenny Sent: Friday, March 08, 2002 7:51 AM To: Palm Developer Forum Subject: Writi

Is there a better way to draw a line?

2002-03-07 Thread chakin1
Hi all, Currently Im using the WinDrawLine() to draw line. But it doesn't really looks good due to the resolution of the screen. Is there any draw line algorithm in the net where I can download to improve my graphics? Or any other advice for me to improve the graphics using the available APIs. T

sysAppLaunchCmdLookup for Memopad

2002-03-07 Thread Akhilesh Singh
Hi! In address book we have the sysAppLaunchCmdLookup to get data from the address book. Is there a similar code supported by Memopad? The source of Memopad dont have this code (But comment is present... without the launch code // Present the user with ui to perform a lookup and return a

Find Function

2002-03-07 Thread quennie
Hi..all... Does anyone can guide me: Situation: i would like to use the palm find function to search for any string ex. phone number. If the search is succeed, it is allowed to select the particular record to launch another formA by using the client ID. Now, the phone DB has its own clientID, and

FindStrInStr function

2002-03-07 Thread quennie
Hi..everyone... Does anyone can tell me that is there any function that i would be able to find a string as i gave a substring of it.. As i know that the "FindStrInStr" is only can search string for substring but in forward direction.. for instance, "123456" , the find can be succeed if it is giv

Re: Palm Find Function

2002-03-07 Thread quennie
yeah...thanks for your comment. i get it done.:) "Jim Schram" <[EMAIL PROTECTED]> wrote in message news:79083@palm-dev-forum... > > At 1:25 PM +0800 2002/03/07, quennie wrote: > > > Just make sure that all code that supports global find is in the main > >> segment. > > > >But my code is oredi fix

Writing a file to LAN

2002-03-07 Thread Kenny
Hi, I'm having some problems figuring out how to write to a file sitting in a shared folder on a Windoze LAN. I'm using a Xircom Wireless LAN module for the M505. The main problem is I don't really know how to approach the problem. It doesn't seem there's any way to write a file directly as such.

How come to buid conduit on XTND Connect Server Tool

2002-03-07 Thread Pham Nguyen Tung
Hi Everybody! You shown me XTND Connect Server tool to synchronize data between palm and Domino. I downloaded and installed XTND Connect server, but I don't know how to buid a conduit on XTND Connect Server. Can you tell me how come to do? Thank you very much. Best Regards Tung. __

Re: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread Keith Rollin
Well, that should make you happy! Just click on the Debug button in the error message dialog, and see what's making the invalid access. BTW, could it be that the error is occurring just after the code you posted? You don't initialize hDb if the attempt to find the database fails, and so you

Re: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread DL
A new error started occuring, using the exact same code: "Program just read from memory location 0xFEFBFFF8 causing a bus error." Even tried a different POSE ROM image. No luck. "DL" <[EMAIL PROTECTED]> wrote in message news:79129@palm-dev-forum... > > The following code fails with a fatal ex

Re: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread DL
I open the database as read only, and there are no MemHandleFree or MemHandleUnlocks anywhere in the code. All I do is read a known good PDB file. I never write to the file or delete any records. Basically the code starts and I call DmFindDatabase and then DmOpenDatabase as I've shown. I'm not doi

Re: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread DL
Just tried a new database to ensure free of errors. I deleted the old one from the Launcher Delete... and installed a new one (using POSE). The database is read only, and there are no MemHandleFree or MemHandleUnlocks anywhere in the code. All I do is read a known good PDB file. I never write to t

RE: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread Matt Hebley
Yep, you have a MemHandleFree somewhere that is freeing a record in the database. You only get the exception when you try to access the database again. Check your code for calls to MemHandleFree - did you mean MemHandleUnlock? Matt At 03:52 PM 7/3/2002 -0800, you wrote: > > From: [EMAIL PROTE

RE: Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread Scott Johnson
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > The following code fails with a fatal exception: > "MemoryMgr.c, Line 4384, Free handle" > hDb = DmOpenDatabase(0, dbId, dmModeReadOnly); > The database CodesGeneric does indeed exist and the dbId is not zero. The database could have

Memory Manager Fault Upon DmDatabaseOpen

2002-03-07 Thread DL
The following code fails with a fatal exception: "MemoryMgr.c, Line 4384, Free handle" DmOpenRef hDb; UInt16 dbId = DmFindDatabase(0, "CodesGeneric"); if (dbId != 0) hDb = DmOpenDatabase(0, dbId, dmModeReadOnly); The database CodesGeneric does indeed exist and the dbId

RE: Unsigned char to a char * (sorry ignore my last message)

2002-03-07 Thread jacky Cheung
Oops sorry didn't realise it is unsigned char and char ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Ingleby Sent: Friday, March 08, 2002 12:25 PM To: Palm Developer Forum Subject: Re: Unsigned char to a char * <[EMAIL PROTECTED]> wrote in m

Re: Still strugglin with bitmaps :/

2002-03-07 Thread Alan Ingleby
You definately don't need to use a resource database. It's just binary data after all. Write it where you feel like. Email me privately, and I can send you source code. Alan "Matt Disher (TiBook)" <[EMAIL PROTECTED]> wrote in message news:78781@palm-dev-forum... > > OK, > > I now have a gadge

RE: Unsigned char to a char *

2002-03-07 Thread jacky Cheung
Do we need to do the casting or is it just for demo? b = (char*)a; // This is called a "CAST" b = a should be fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Ingleby Sent: Friday, March 08, 2002 12:25 PM To: Palm Developer Forum Subject: Re

Re: Unsigned char to a char *

2002-03-07 Thread Alan Ingleby
<[EMAIL PROTECTED]> wrote in message news:78786@palm-dev-forum... > > How do you convert an unsigned char[40] to a char *? Thanks! > > unsigned char a[40]; // Keep in mind that this creates a buffer of 40 bytes, and sets a to be a POINTER to that buffer. char* b; // So both "b" and "a" are poi

RE: Looking for example popup list dialog code

2002-03-07 Thread Scott Johnson
> From: Matt Disher (TiBook) [mailto:[EMAIL PROTECTED]] > As soon as you touch a button, FrmDoDialog closes the form and > gives you the button ID. How would you extract the choice/list > setting of the list ? After FrmDoDialog returns you can still call FrmGetObjectPtr and LstGetSelection (etc)

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher (TiBook)
But unless you tie in an event handler how/when would you have an opportunity to get the value of said list ? As soon as you touch a button, FrmDoDialog closes the form and gives you the button ID. How would you extract the choice/list setting of the list ? I would think the form would be gone-

Re: Looking for example popup list dialog code

2002-03-07 Thread Brian Smith
On Thu, 7 Mar 2002, Matt Disher (TiBook) wrote: > I could be way off but I believe dialogs (as in FrmDoDialog) is assumed > to be a dialog like an alert dialog. It's not savvy about UI stuff > other than buttons. That being said there is no event handler for a > dialog unles you make one by mak

Re: Adding events in PalmOS 5.0

2002-03-07 Thread Jim Schram
At 1:15 PM -0800 2002/03/07, GB wrote: >Is there still a common event queue for all the applications? Yes, of course. Curious... why would you think otherwise? Regards, Jim Schram PalmSource Inc. Partner Engineering -- For information on using the Palm Developer Forums, or to unsubscribe, pl

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher (TiBook)
I'm fairly certain only if 'YOU' handle the dialog. I could be way off but I believe dialogs (as in FrmDoDialog) is assumed to be a dialog like an alert dialog. It's not savvy about UI stuff other than buttons. That being said there is no event handler for a dialog unles you make one by making

Re: Looking for example popup list dialog code

2002-03-07 Thread alanp
I was able to get the dialog form to run the pop-up list, but I am having problems making it run cleanly through POSE. I tap the pop-up's triangle and it displays the list. When I select an item, I get a couple of bad pointer/handle type warnings (I forgot which one) that I can continue through

Re: Adding events in PalmOS 5.0

2002-03-07 Thread GB
Is there still a common event queue for all the applications? GB "David Fedor" <[EMAIL PROTECTED]> wrote in message news:79080@palm-dev-forum... > > >Are there any changes in EvtAddEventToQueue and > >EvtAddUniqueEventToQueue in PalmOS 5.0? I try to post > >some events but EvtGetEvent does not n

CodeWarrior question

2002-03-07 Thread Dave Brown
I figure many here use CodeWarrior for the Palm so I was hoping someone may know how to include MSL. I am trying to use MSL C++ and when I include to use the linked list I get a boat load of redefinition errors. Like offsetof and new. I have looked at the docs and didn't see anything special t

Drag and Drop Sample code

2002-03-07 Thread Matt Disher
i.e. I'm looking for some. I used to have the original LaunchPad sources way back in the day and can't find that. Looking for a simple framework that would support dragging some elements around the screen. If anyone has anything I'd appreciate it, but I suspect I'll be grinding it out the hardw

Re: Looking for example popup list dialog code

2002-03-07 Thread Matt Disher
Hrms... Off the top of my head I don't think you can do this that way. FrmDoDialog treats the form as a modal dialog. All you're ever gonna get back is the button that was tapped (and only one can be tapped). You need to do FrmPopUpForm (to acheive the same effect) but establish an event handle

Looking for example popup list dialog code

2002-03-07 Thread alanp
Can someone point me to some sample code that sets up a FrmDoDialog() call and picks through the results for a form that has a pop-up list on it? I keep botching this up in my application. alan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.

Re: Expanded Mode

2002-03-07 Thread Paul Anthony Mandrafino
Ben, "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:76969@palm-dev-forum... > more than the first segment). I'm working on the 8.2 patch to the CW > runtimes right now -- there are some issues when event handlers being > called reentrantly that require some changes to the thunking mechan

Re: When will they realize they are providing an operating system

2002-03-07 Thread Clifford Jones
Guy, Gals whoever reads this please keep one thing in mind that has helped the Palm be what it is today. When the OS couldn't do what the developer needed to be done the developer was able to "roll their own" code and control the display/port/event loop/ whatever hardware to do what they wanted.

Re: Shared Library Global Array Replacement?

2002-03-07 Thread DL
Thanks. That seemed to work for a simple case (array of ints) but didn't work for an array of structures. The compiler complained: "Illegal initialization" when the pragmas where included. I have concluded that the best way to solve the problem is using a Palm PDB file. Using a PDB converter,

RE: Dumb database question

2002-03-07 Thread alanp
And we have a winner ... When I converted my application from using global data structures to using a database, I continued to call the converted cleanup function in the stop application function. Thanks, Kevin. I said it was a dumb question. alan ---Original Message--- From: "Palm Developer

Re: Using JCPALM Libarary with pam gnu tools

2002-03-07 Thread Brian Smith
On Thu, 7 Mar 2002, Jyothi wrote: > undefined reference to `JLIB_std_error' > undefined reference to `JLIB_create_compress' > undefined reference to `JLIB_mem_dest' > undefined reference to `JLIB_set_defaults' > undefined reference to `JLIB_set_quality' > undefined reference to `JLIB_start_compre

RE: Dumb database question

2002-03-07 Thread Kevin OKeefe
Are you deleting them on cleanup? Are you sure you're opening the same database? Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 5:43 AM To: Palm Developer Forum Subject: Dumb database question I am seeing some weird database

RE: how to call a shared library functions ?

2002-03-07 Thread Kevin OKeefe
1. Make sure the library PRC is on the device or emulator. 2. Add the header file for the library to your project. 3. Use SysLibFind/SysLibLoad as documented to make sure the library is loaded. 4. Use XXXLibOpen to open it (as defined in the header for the library). 5. Use the other calls as neede

Re: Serial interface programming

2002-03-07 Thread Jim Schram
At 12:06 PM +0300 2002/03/07, Alexandre Kazantsev wrote: >Would somebody provide me with a good resource of serial interface >programming examples? High baud rate 115k case is of the major interest. Just FYI, you're unlikely to sustain continuous data transfers at 115k baud except on the fastest

Re: Palm Find Function

2002-03-07 Thread Jim Schram
At 1:25 PM +0800 2002/03/07, quennie wrote: > > Just make sure that all code that supports global find is in the main >> segment. > >But my code is oredi fix and segmented. For example, retrieve a data from a >contact DB or from a ClientInfo DB. How am i going to disegment it and put >it in main s

Re: Can I add my application at startup

2002-03-07 Thread Jim Schram
At 12:47 PM +0530 2002/03/07, Prasad Brid wrote: >I want to add my application in the startup of Palm device. What are you trying to do? Is the reset launch code insufficient? Have you read the notification manager documentation? Regards, Jim Schram PalmSource Inc. Partner Engineering -- For

Re: Adding events in PalmOS 5.0

2002-03-07 Thread David Fedor
>Are there any changes in EvtAddEventToQueue and >EvtAddUniqueEventToQueue in PalmOS 5.0? I try to post >some events but EvtGetEvent does not notice it. What sorts of events are you posting, with what sort of data? Those event functions themselves haven't changed significantly, but lots of thing

Fw: Can I add my application at startup

2002-03-07 Thread Prasad Brid
I have not get any reply on this issue can some one tell me. - Original Message - From: "Prasad Brid" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 12:47 PM Subject: Can I add my application at startup > Please help me on following : >

Re: dynamic data generation

2002-03-07 Thread Oliver Steinmeier
Fawaz, your question really doesn't seem to have anything to do with the Palm Emulator, so posting it to the emulator-forum is unlikely to get you the best results. I am cc'ing the palm-dev-forum on this response where this thread should probably live... To your question: it's not really clear

Adding events in PalmOS 5.0

2002-03-07 Thread Kashev Georgi
Hi, Are there any changes in EvtAddEventToQueue and EvtAddUniqueEventToQueue in PalmOS 5.0? I try to post some events but EvtGetEvent does not notice it. The code works fine on previos OS versions. I use PalmOS Simulator that comes with PalmOS 5 Compatibility CD from PalmSource. Could this be the

Problem with USB sync

2002-03-07 Thread Eric Lauer
I'm writing a custom conduit for a client of mine. While adding a record to the Palm I'm getting a SYNC_ERR_UNKOWN for the add record function. I'm synchronizing from Windows 2000 Professional over USB to a Palm m500, writing to the device, not the SD card. The error only occurs over a USB conn

Re: fatal error just after sync

2002-03-07 Thread Dave Carrigan
"Romain Eude" <[EMAIL PROTECTED]> writes: > I am building a PRC and every time I install the PRC on the Palm, once the > HotSync process is completed, I get the following error : > > > Fatal Error : > > SyncApp.c, Line: 4814 > > > > (Reinitialize) > > If I press 'Reinitialize', the Palm r

Easy way to get a database to the desktop for viewing

2002-03-07 Thread Young S. Cho
Hi, I have a database on the Palm that I used to record certain information (in text format). Is there an easy way to get this database to a desktop PC and view the contents? Thanks. Y. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.

OS 4.0 conversion issue - HELP!!

2002-03-07 Thread rgraber
Gurus, I have an application that runs fine in OS 3.5, and I am trying to get it to run correctly on OS 4.0. What is happening, is that it comes up to the first screen just fine, then I select an item from the listbox that fires a FrmGotoForm command to goto another form. Then it gets in an inf

Re: Uniquely identifying a record in the database.

2002-03-07 Thread Dave Lippincott
If you need a totally unique key for a record in a DB I suggest you add a key field to your data and use that to uniquely identify records. > --- Shawn <[EMAIL PROTECTED]> wrote: > > Hi all, > > How to get the unique record id of a record > > present in a database. How does the system identi

Re: Please help me -RS-232 communication error .

2002-03-07 Thread Dave Lippincott
Its not weird, its the difference between a NULL modem cable and RS232 pass-through cable. Read up on the RS232 standard and you'll understand. - Original Message - From: "suresh" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 9:49 PM S

No more access to ControlType.attr (woohooo..)

2002-03-07 Thread Werner Poschenrieder
I had a button control created dynamically with CtlNewControl under PalmOS V3.3. I wanted it without frame. There was no API function to access ControlType.attr.frame but it was permitted to access attr.frame directly: pUp->attr.frame = noButtonFrame; Under V3.51 the access to ControlType.attr is

Re: Using JCPALM Libarary with pam gnu tools

2002-03-07 Thread John Marshall
On Thu, Mar 07, 2002 at 01:21:53PM +0100, Aaron Ardiri wrote: > On Thu, 7 Mar 2002, Jyothi wrote: >> i am trying to use the jcpalm (jpeg compression library for palm) , >> but when compiling with my project makefile [...] >> undefined reference to `JLIB_start_compress' >> undefined reference to `J

Dumb database question

2002-03-07 Thread alanp
I am seeing some weird database behavior in my application and was wondering if anyone has a bright idea why it is happening. Without providing large portions of my application here, I am not sure how to provide example code. My application creates the database, adds application info and adds r

Palm OS 4.0 SDK Update 1

2002-03-07 Thread Paul Nevai
FYI, the Mac installer "Palm OS 4.0 SDK Update 1" does not install the new PalmDebugger so you have to do it manually. /Paul N. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Using JCPALM Libarary with pam gnu tools

2002-03-07 Thread Aaron Ardiri
On Thu, 7 Mar 2002, Jyothi wrote: > hai , > i am trying to use the jcpalm (jpeg compression library for palm) , > but when compiling with my project makefile > i am getting the following errors > undefined reference to `JLIB_std_error' > undefined reference to `JLIB_create_compress' > undefined re

Using JCPALM Libarary with pam gnu tools

2002-03-07 Thread Jyothi
hai , i am trying to use the jcpalm (jpeg compression library for palm) , but when compiling with my project makefile i am getting the following errors undefined reference to `JLIB_std_error' undefined reference to `JLIB_create_compress' undefined reference to `JLIB_mem_dest' undefined reference t

how to call a shared library functions ?

2002-03-07 Thread Jyothi
hello group members, how to call a shared library functions and what changes to be made in the makefile? bye Jyothi -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

fatal error just after sync

2002-03-07 Thread Romain Eude
I am building a PRC and every time I install the PRC on the Palm, once the HotSync process is completed, I get the following error : > Fatal Error : > SyncApp.c, Line: 4814 > > (Reinitialize) If I press 'Reinitialize', the Palm reboots and works fine. What is wrong in my PRC that create

Re: Can I add my application at startup

2002-03-07 Thread Kashev Georgi
It's interesting what dou you understand by startup. The only real startup in Palm is reset. If that's what you mean there are some metods depending on what your program should do - if it must perform some hiden operations, display some dialogs or stay active till next reset. Georgi --- Prasad

Serial interface programming

2002-03-07 Thread Alexandre Kazantsev
Would somebody provide me with a good resource of serial interface programming examples? High baud rate 115k case is of the major interest. Thanks, Alex -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Uniquely identifying a record in the database.

2002-03-07 Thread Kashev Georgi
Read The Data Manager chapter in Palm_OS_Companion.pdf and DmRecordInfo/DmSetRecordInfo APIs description in Palm_OS_Reference.pdf. These two documents are part of PalmOS SDK documentation, which can be found on http://www.palmos.com/dev/tools/sdk/sdk2452534/sdk40.html Georgi --- Shawn <[EMAIL P