a dumb palm pointer question?

2001-07-22 Thread Ty
Hi all, For my app, I have a global string variable, used frequently in different functions, I store in my app database at record 0. I want this variable to be a pointer so I can easily sling in into different functions, use StrCopy etc. However I don't know how to properly accomplish

to overload new opearator

2001-07-22 Thread Gaurav Palvia
Hi flks, i m using CodeWarrior and when i try to overload opearotor new it gives me compile time error. Is there any setting that i ve to specify for overloading new . -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: a dumb palm pointer question?

2001-07-22 Thread Ben Combee
Here's roughly what I'm doing... // Global set outside main that i need often in multiple functions static Char *gpGateway = http://default.gateway;; // Code inside start app to get the global, open database etc then MemPtr pGateway; pGateway = MemHandleLock(DmQueryRecord(MyDbRef, 0));

Re: to overload new opearator

2001-07-22 Thread Ben Combee
Gaurav Palvia [EMAIL PROTECTED] wrote in message news:57386@palm-dev-forum... Hi flks, i m using CodeWarrior and when i try to overload opearotor new it gives me compile time error. Is there any setting that i ve to specify for overloading new . What is the error? Are you trying to

Initializing CategoriesRecord

2001-07-22 Thread Madina
Hi, This is the code from MemoPad but changed a bit. I have been using the code for my small application. I did not want the private checkbox for marking secret records and did only the pop up trigger listing wards in the Details form. I am really bad in coding and if someone could point out

Re: to overload new opearator

2001-07-22 Thread Gaurav Palvia
Thanx Ben, I forgot to include the pathsilly mistake - Original Message - From: Ben Combee [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Sunday, July 22, 2001 3:27 PM Subject: Re: to overload new opearator Gaurav Palvia [EMAIL

Re: a dumb palm pointer question?

2001-07-22 Thread ogeLib
A couple of choices: 1. Use DmGetRecord() instead of DmQueryRecord() at app startup time. This marks the record busy and prevents the memory manager from moving the record's handle. (In this case you have to call DmReleaseRecord() when you finish up.) 2. Make a local copy at app startup.

Conduit for Reading/Writing an MS Excel File

2001-07-22 Thread Atul Shingade
Hi All, I am writing a conduit application to get Data from an MS Excel File and even write some data to an Excel File. I want to use ODBC to get this task done. Can anyone tell me to to accomplish this task. Thanks in advance Atul -- For information on using the Palm Developer Forums, or to

ANN: PilRC Plugin 2.8p6c

2001-07-22 Thread Neil Rhodes
The PilRC Plugin for CodeWarrior is now at version 2.8p6b. There is a new version of the PilRC Plugin for CodeWarrior (for Mac and Windows). Change log: There were some problems if your project had multiple .rcp files. In particular, IDs for menu resources were reused, as were IDs for form

Re: Conduit for Reading/Writing an MS Excel File

2001-07-22 Thread Owen
Perhaps try the conduit developer forum? At 19:36 2001-07-22 +0530, you wrote: Hi All, I am writing a conduit application to get Data from an MS Excel File and even write some data to an Excel File. I want to use ODBC to get this task done. Can anyone tell me to to accomplish this task. Thanks

RE: Conduit for Reading/Writing an MS Excel File

2001-07-22 Thread P. Alan Johnson
How about writing a regular conduit then throw in some ADO calls to talk to an ODBC data source that happens to be an Excel file? --Alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Owen Sent: Sunday, July 22, 2001 9:21 AM To: Palm Developer

leave-palm-dev-forum-30767D@news.palmos.com

2001-07-22 Thread James Carlson
[EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: a dumb palm pointer question?

2001-07-22 Thread Ben Combee
ogeLib [EMAIL PROTECTED] wrote in message news:57394@palm-dev-forum... A couple of choices: 1. Use DmGetRecord() instead of DmQueryRecord() at app startup time. This marks the record busy and prevents the memory manager from moving the record's handle. (In this case you have to call

to overload new operator...

2001-07-22 Thread Gaurav Palvia
Hi folks, I m not using standard MSL ANSI C/C++ header files in my app.So is there any way of overloading new without including newin the sourceI mean previosly ( prior to Code Warrior 5 ) there was not standard ANSI support so in that case how to overload new operator... -- For

RE: to overload new operator...

2001-07-22 Thread Scott Johnson (Bellevue)
From: Gaurav Palvia [mailto:[EMAIL PROTECTED]] I m not using standard MSL ANSI C/C++ header files in my app. So is there any way of overloading new without including new in the source Yes, no problem. Just add a .cpp file like this to your project: void * operator new ( unsigned

Custom Event??

2001-07-22 Thread Joe Siebenmann
Hi Everybody, Here's my problem.. A result socket packet has come in, and I need to process it in my XXXHandleEvent() procedure. If the results are right I'll need to do a FrmGotoForm(YYYForm). The problem is if I do this in the wrong place, I could end-up eating some possibly important system

Forms with/without Titles

2001-07-22 Thread r zane rutledge
I have an annoying little Catch-22...I have a form that I'd like to have work in two different screen modes, one with title showing and one full-screen, with title hidden. I can do a FrmSetTitle() with the title set to , but that doesn't actually get rid of the title bar altogether (like it does

Re: Forms with/without Titles

2001-07-22 Thread Bradly J. Barton
I'd rather not have two separate forms (the obvious solution) as then I need separate event handlers and I'd be repeating miles and miles of code! Why would this repeat miles and miles of code? Use the same event handler for both forms.. you'd end up with case statements that look like: case

frmOpenEvent not working!?

2001-07-22 Thread Joe Siebenmann
Hi All, This is driving me totally nuts! In my app I do: FrmGotoForm(ExecuteForm); handled = true; . . return handled; Then a FrmCustomAlert() I put in the frmOpenEvent of ExecuteForm pops up saying its there.. ( I did this just to verify that it went there, and yes I even took it back out

RE: Custom Event??

2001-07-22 Thread Richard Burmeister
From: Joe Siebenmann ... If the results are right I'll need to do a FrmGotoForm(YYYForm). The problem is if I do this in the wrong place, I could end-up eating some possibly important system event. Is there a way to use a custom event and put it on the event queue, and then ... I'm not

ANN: ogeLib sample code now available

2001-07-22 Thread Owen
I've added some simple usage examples to www.loshwomp.com. Enjoy! Regards, Owen - Download the free ogeLib Palm OS library at http://www.loshwomp.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: License problem

2001-07-22 Thread SH Luk
I have joint the program for few months. What do u mean? I would like to know is it legal to develop our own cradle connect instead of buying from approval vendor? Brian Mathis [EMAIL PROTECTED] ? news:57291@palm-dev-forum... On Fri, 20 Jul 2001, SH Luk wrote: We are now planning to

Re: Palm OS 4.0 Limited Sources available today

2001-07-22 Thread Casper Mok
Anyone know where the PalmOS 4.0 limited source is now? I can't find it... Aaron Ardiri [EMAIL PROTECTED] wrote in message news:57237@palm-dev-forum... The powers that be have informed me that the 4.0 limited sources will available by the end of today in the source code area of the Resource

bus error ! ~ oh,My God !

2001-07-22 Thread I am johnny~
Hi ... All: me again ~ ^^||| My App occur an error ~ When I quit my app on POSE, then alert bus error ... , and stop at 002259A2: 2B52FFC2move.l (a2),-62(a5) I ever debug it, I found ... 1. This event is occurring after quit PilotMain. 2. Open three database in AppStart ( close them in

Re: to overload new operator...

2001-07-22 Thread Gaurav Palvia
Thanx a ton Scott.I was really confused as to how to do it... - Original Message - From: Scott Johnson (Bellevue) [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Sunday, July 22, 2001 11:13 PM Subject: RE: to overload new operator... From: Gaurav Palvia

Re: to overload new operator...

2001-07-22 Thread Gaurav Srivastva
- Original Message - From: Gaurav Palvia [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Sunday, July 22, 2001 8:50 PM Subject: Re: to overload new operator... Thanx a ton Scott.I was really confused as to how to do it... - Original Message - From: Scott