How to handle Find on current open DB

2001-01-05 Thread Matt Mason
Should I be closing my Database with the sysAppLaunchCmdSaveData before the Search is launched away on the stack? When I run my search when my app is running then I cant open my database. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: (W) CodeWarrior IDE Installation - Constructor problem

2001-01-05 Thread Emile Swain
Yep i had this problem the other day. If the last suggestion didn't work then i unistalled code warrior and reinstalled. If this is to much then check you have the latest verson of constructor something like "emulator-win3.0a7.zip" of the palm site. hope this helps. emile "Heather KML Tufts"

Object not in form Error ???

2001-01-05 Thread Emile Swain
Ok im utterly confused. Im running through a tutorials from "Palm Programming (The Authoritative Solution)" and have come accross an error I have isolated this error to being caused by a checkbox on a form seperate from the main form. The code in question is: ... ... case SurveySubmitButton: {

AppForge.....Help

2001-01-05 Thread Ganesh
I downloded the AppForge s/w. It doesent support TCP/IP connection...Is there any other way I can get the connection through AppForge... like calling a Palm OS API...? Ganesh -- For information on using the Palm Developer Forums, or to unsubscribe, please see

inttostr ??? I couldnt assign Slider Value to Label Text...

2001-01-05 Thread Mert ESZ
I have a slider on Form. I want slider value to label text. I'm a new C. I'm using to assign with FrmCopyLabel. But I couldnt assign Slider Value to variable. How I Can do? My Code : Char buffer[30]; frmP = FrmGetActiveForm();

Re: Accessing 0x8xxxxxxx Bus Error

2001-01-05 Thread Percy Ng
Hi It has serveral problems to cause it. such as wrong para for APIs If you use CodeWarrior for development, you can use debugger of CodeWarrior to fix it. "S.V.BADARI NARAYANA MURTHY" [EMAIL PROTECTED] wrote in message news:34774@palm-dev-forum... hai while running the application

The debugger helper App could not be found

2001-01-05 Thread Emile Swain
i get when trying to debug myapplication why? and how can i stop this from happening. I keeping having to close down and restart Codewarrior. * The debugger helper App could not be found The path, "", specified in the registry key, "BDWM", could not be resolved. * -- Emile Swain * * * *

How can i include standart library? for example stdio.h?

2001-01-05 Thread Mert ESZ
I want to use an fprintf function. But when i use #include "stdio.h" or #include stdio.h, the compiler gives the error message "cannot be opened" How can i include standart library? Thanks.. Good Luck -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Application Database

2001-01-05 Thread Herman Badenhorst
Hi all Under the option where one can delete applications from the palm, i can see my application and application database. how can i prevent my database from showing there since this can cause a lot of problems when the client deletes the entire database there. thanks Herman Badenhorst --

sprintf ???? or How can i convert int to string?

2001-01-05 Thread Mert ESZ
I solved how can i include standart libraries. I added a system path to where standart libraries. Now, I can import stdio.h or Palm but it gives error message "sprintf function undefined". I know that it's function of stdio.h Where is the Problem?? Thank you... See you.. -- For

Font problem in List

2001-01-05 Thread Rochester, Dean
Hello all I am new to Palm Programming and am going through the windows tutorial that comes with Code Warrior Lite. One of the examples is Lesson 8 "Adding a List for Record Selection and Display" This lesson went well with one exception. When testing the program... the items in the list

Re: OS/4.0 issue - Invalid Insertion Point on Alert dialogs

2001-01-05 Thread Chris DiPierro
I had initially done it as FrmCustomAlert (NetworkAlert, s, " ", " "); but changed it to NULLs to see if that would help. Same problem either way. I can't change it to simply ^1 because other places in the code need all 3 fields Richard Burmeister [EMAIL PROTECTED] wrote in message

Re: Problem deleting correct record.

2001-01-05 Thread Keith Wolcott
Paul, Your code looks good on the surface. The only oddity that I notice is that CurrentChoice needs to be Int32 when used in StrIToA and needs to be UInt16 when used in DmRemoveRecord. Thus, a guess is that the zero half of the Int32 is being used in DmRemoveRecord. Try fixing this. Keith

Re: sprintf ???? or How can i convert int to string?

2001-01-05 Thread Chidananda Kakunje
There are several functions/Macros declared in "StringMgr.h". One is StrIToA(Char*s, Int32 i); converts the integer i to charector s. Same as sprintf. Hope this helps Chida Mert EÞSÝZ wrote: I solved how can i include standart libraries. I added a system path to where standart

Re: sprintf ???? or How can i convert int to string?

2001-01-05 Thread Emile Swain
Is it case sensitive??? I know y function dont work when i forget to capitalise certain letters. ie. SprintF also check the "palmos dev documentation" which you can download from Palm the zip file is called "palmos35docs.html.zip". This lists all the functions available. -- For information

RE: PalmOS 4 FAT File support, TRG Clie?

2001-01-05 Thread Trevor Meyer
We will support Palm's VFS and Expansion Manager APIs under OS 4.0. I suspect we'll also maintain a compatibility Ffs Library so that old TRGpro apps don't break. Trevor Meyer [EMAIL PROTECTED] -Original Message- From: Carlos Gutierrez [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

Re: sprintf ???? or How can i convert int to string?

2001-01-05 Thread Dave Lippincott
Most standard C API calls are not supported by the Palm OS, you need to use the Palm variants. - Original Message - From: "Mert ESZ" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Friday, January 05, 2001 8:36 AM Subject: sprintf or How can i convert int to

Re: Re: [Re: how to store database permanently?]

2001-01-05 Thread Dave Lippincott
Yes your database will remain stored permanently even on the actual palm device. Palm device works in 3 modes Active, Doze and sleep modes. Even in the sleep mode a little battery is used which keeps the data in the database(memory). Its not really permanent. If you let your batteries die

Re: Object not in form Error ???

2001-01-05 Thread Holger Klawitter
Emile Swain wrote: Ok im utterly confused. Im running through a tutorials from "Palm Programming (The Authoritative Solution)" and have come accross an error I have isolated this error to being caused by a checkbox on a form seperate from the main form. Yesterday I got the same error :-).

Re: OS/4.0 issue - Invalid Insertion Point on Alert dialogs

2001-01-05 Thread Chris DiPierro
Of course, if I actually read carefully, I would see you had " ", not "" like I had been doing. This fixed it. Thanks! Richard Burmeister [EMAIL PROTECTED] wrote in message news:34751@palm-dev-forum... From: "Chris DiPierro" [EMAIL PROTECTED] [snip] FrmCustomAlert (NetworkAlert, s, NULL,

LstDrawList question

2001-01-05 Thread Rochester, Dean
Hi In an example from Code Warrior Lite's windows tutorial in section 9 "Displaying List Items as Required" Looking through the code change description the following is written... "Next, the function LstSetDrawFunction is called and passed the address of the application’s MainFormListDrawItem

C++ used much in palm apps?

2001-01-05 Thread Billy Cole
I'm going to start a project and would like to use C++. Are people using much C++ for palm apps? I noticed a post discussing overloading the new operator, so I'm thinking there are some tricks to getting things to work ok. If they're the normal tricks (such as when you want to use C++ in the NT

Re: Fatal Error using WinDrawTruncChars() ???

2001-01-05 Thread Deryk Piper
I got my development unit back and I've been able to try the PalmOSGlue.lib included in the SDK v3.5 release. Miraculously it works. I had previously tried the library in the v3.1 folder (before installing SDK 3.5) and it had also been giving me fatal errors. Thanks for all the help.

Re: inttostr ??? I couldnt assign Slider Value to Label Text...

2001-01-05 Thread Richard Burmeister
From: "Mert ESSIZ" [EMAIL PROTECTED] Char buffer[30]; frmP = FrmGetActiveForm(); ? buffer=FrmGetControlValue(frmP,SliderID); // How can I assign? The answer should be obvious from reading the docs. FrmGetControlValue returns the value of the "value" field of a slider

Re: The debugger helper App could not be found

2001-01-05 Thread Richard Burmeister
From: "Emile Swain" [EMAIL PROTECTED] * The debugger helper App could not be found The path, "", specified in the registry key, "BDWM", could not be resolved. * You probably need to upgrade to the latest versions of CodeWarrior and Constructor. Search the archives for "BDWM"

Crash on Launch w/ Portable Keyboard

2001-01-05 Thread Ken Hancock
I just receive a portable keyboard and one of the first things I tried was setting one of my apps to a Command-# shortcut. It crashes at launch when executed via the shortcut. It works fine when launched from the launcher. As there's no serial connector on the keyboard for remote debugging,

Re: LstDrawList question

2001-01-05 Thread Richard Burmeister
From: "Rochester, Dean" [EMAIL PROTECTED] I can not find LstDrawList. What is this and where is it called from? I did not find it in the SDF Reference nor did I find it called out anywhere in the code for the program. It is referenced in the above description but I do not know where it

Re: C++ used much in palm apps?

2001-01-05 Thread Dave Johnson
At 7:36 AM -0800 1/5/01, Billy Cole wrote: I'm going to start a project and would like to use C++. Are people using much C++ for palm apps? Lots of folks are. In general, it works just fineThe usual recommendation is to avoid "advanced" C++ features like multiple inheritance (maybe even any

Re: Application Database

2001-01-05 Thread Steve Achelis
My database doesn't show up in the list of apps to be deleted. I believe it is because both my app and database use the same creator ID (so it knows the database is a subset of my app), but I'm not sure. The size it lists is the size of both my app and data... Steve "Herman Badenhorst" [EMAIL

RE: Why does CW 3.1 stationery have wrong resource header?

2001-01-05 Thread Heather KML Tufts
Why does the 3.1 stationery use StarterRsc.h instead of Starter_res.h, which is the one the Constructor updates? This was a bug in the 3.1 Stationery/Constructor 1.2b4. Like Richard said, set the header file name in Constructor to StarterRsc.h. Or you can leave the Constructor header

RE: Application Database

2001-01-05 Thread Fergal Moran
Herman If your database shows up in the list as seperate to your application - then your database uses a different creator id to your app - ensure that your application and database use the same ID - then only your app will show up in the list - and deleting it will automatically delete the

Re: How to handle Find on current open DB

2001-01-05 Thread Steve Achelis
On sysAppLaunchCmdSaveData you should call FrmSaveAllForms(). Then on sysAppLaunchCmdFind you should call your Search(). Search for "global find" in "Palm OS Companion.pdf" and "Palm OS Reference.pdf" for details. Steve "Matt Mason" [EMAIL PROTECTED] wrote in message

palm-dev-forum FAQ

2001-01-05 Thread Adam Wozniak
PalmFAQ Version 0.6 Fri Jan 5 09:15:01 2001 This is the Palm Dev Forum Frequently Asked Questions List, posted monthly to the palm-dev-forum mailing list. Questions / comments / criticisms can be sent to [EMAIL PROTECTED] This document is maintained as a flat text file for widest

Re: Crash on Launch w/ Portable Keyboard

2001-01-05 Thread Dave Lippincott
If you had a cable to connect your PC serial port to the keyboard, you should then be able to debug with Pose. - Original Message - From: "Ken Hancock" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Friday, January 05, 2001 11:28 AM Subject: Crash on Launch w/

Re: Form.c, Line 806, Form must be full width error

2001-01-05 Thread Steve Achelis
A month later... I found a big discussion on this by searching for "form just be full width" on Dejanews.com. It seems it is primarily a design-guideline issue, although some say that it can create cosmetic defects under certain conditions (I haven't seen them). It is tested for by the debug

Palm crack site found

2001-01-05 Thread Mike Walters
I develop games for the Palm platform, and was recently curious about how many sites had my software posted. I regularly post to about six, but I know others link to sites like palmgear to get titles. Anyway, I ran across a crack site that had the registration codes for three of my titles,

Re: RegCode and eCommerce

2001-01-05 Thread Steve Achelis
Another reply to myself. I used DigiBuy for a few months. Their web interface is good, their service okay, and their checks prompt. However, when I moved to a registration key, I changed to Signio.com Paylink (aka verisign payments) to do my credit card processing (merchant number from my

Quick Gadget question

2001-01-05 Thread Mauricio Tavares
In the following piece of code, I am trying to get the handle for the image I want to associate with the gadget. static Boolean DrawGadget(FormPtr pFrm, UInt16 gadgetID) { Boolean bDrawn = false; switch(gadgetID) { case CookieGadget:

Re: gadgets (and other) questions

2001-01-05 Thread Richard M. Hartman
Mauricio Tavares wrote in message 34679@palm-dev-forum... ... I was going to have my routine to draw the gadget directly here, but wanted first to understand GadgetTrap(), which is defined in the Evil O'Reilly book, p.112. One line in that code I do not understand (it may be that I do not

Re: Palm crack site found

2001-01-05 Thread Aaron Ardiri
I develop games for the Palm platform, and was recently curious about how many sites had my software posted. I regularly post to about six, but I know others link to sites like palmgear to get titles. Anyway, I ran across a crack site that had the registration codes for three of my titles,

RE: Crash on Launch w/ Portable Keyboard

2001-01-05 Thread Trevor Meyer
If that doesn't work, you could write a second test app that simply launches your main app. There aren't very many ways one app can launch another (SysAppLaunch, SysUIAppSwitch)-- the PPK must use one of them. Try them both from your test app. If they both work, then you're no further than you

RE: LstDrawList question

2001-01-05 Thread Rochester, Dean
I miss typed, what I mean was where is it called? What PDF tutorial says "Next, the function LstSetDrawFunction is called and passed the address of the application’s MainFormListDrawItem routine. This tells the system that this application routine is responsible for drawing the items in the

Re: Application Database

2001-01-05 Thread Steve Mann
how can i prevent my database from showing there since this can cause a lot of problems when the client deletes the entire database there. You need to use the same creator ID for both the application and the database. Regards, Steve Mann -- --- Creative

Re: How to handle Find on current open DB

2001-01-05 Thread Matt Mason
I call FrmSaveAllForms() on sysAppLaunchCmdSaveData but when I try to open my application database (not using any gloabls here) it fails to return a DmOpenRef with DmOpenDatabase. It ONLY fails when Find is started from my running app (i.e. my database is already open.) Any help would be greatly

Re: Font problem in List

2001-01-05 Thread Steve Mann
This lesson went well with one exception. When testing the program... the items in the list are to be the first 30 characters of the memo record. There are characters in the listing for each memo record created, but they are jibberish type characters, funny symbols, etc. rather than the first

Re: LstDrawList question

2001-01-05 Thread Ben Combee
"Rochester, Dean" [EMAIL PROTECTED] wrote in message news:34845@palm-dev-forum... I miss typed, what I mean was where is it called? What PDF tutorial says "Next, the function LstSetDrawFunction is called and passed the address of the application’s MainFormListDrawItem routine. This tells

Re: How to handle Find on current open DB

2001-01-05 Thread Danny Epstein
"Matt Mason" [EMAIL PROTECTED] wrote in message news:34785@palm-dev-forum... Should I be closing my Database with the sysAppLaunchCmdSaveData before the Search is launched away on the stack? When I run my search when my app is running then I cant open my database. I suspect the problem is

Re: LstDrawList question

2001-01-05 Thread Ben Combee
"Rochester, Dean" [EMAIL PROTECTED] wrote in message news:34851@palm-dev-forum... Where does one learn that? I did a grep or a search for LstDrawList in my code but did not find it. I just looked up FrmDrawForm in the SDK but it made no mention of it calling LstDrawList You can either

Re: How to handle Find on current open DB

2001-01-05 Thread Matt Mason
That was it. Thanks I suspect the problem is the mode. You only need read-only access to do a Find. If you try to open the database in read-write mode, it'll fail because it's already open in that mode. -- Danny Epstein OS Engineer, Palm Inc. -- For information on using the Palm

Quick/Easy steps to learn Palm Development

2001-01-05 Thread Get now
Hello Folks, I am planning to do some development of applications for Palm OS. Please let me know the quick and easiest way to learn Palm Development. What are the steps to setup palm development environment on my system. Where and what to download?. Any good links?. Thanks in advance.

RE: LstDrawList question

2001-01-05 Thread Rochester, Dean
Thanks for the info... What did you mean when you wrote "Once you grok form event handling, a lot of Palm UI work becomes much, much clearer." what is grok? I agree with your comment about learning from others questions... have been doing that for 12+ years using news groups and alike. Odds

Re: Quick/Easy steps to learn Palm Development

2001-01-05 Thread Aaron Ardiri
Hello Folks, I am planning to do some development of applications for Palm OS. Please let me know the quick and easiest way to learn Palm Development. What are the steps to setup palm development environment on my system. Where and what to download?. Any good links?. interested in

Re: global find problem

2001-01-05 Thread Jason Henderson
I have taken the calls to my classes out but I am still having problems with the recordNum variable. If I do not use it anywhere in the function it gets initialized to 0, but as soon as I try to set it equal to findParams-recordNum, its value becomes 65535. Can someone give me some source code

RE: __wswtch__ is undefined (and rant)

2001-01-05 Thread Clark Dorman
Ben and Joe, thanks for your responses. Ben wrote: Link with the CW startup library anyway, just make sure it is listed in the link order/segment list after your startup code. You should only have the __wswtch__ and related compiler code linked into things. If you don't like this, then

Re: How to Get own ip address

2001-01-05 Thread Konstantin Klyatskin
make a connection with somebody and you'll be able to get your ip :)) smth like: info("registering in net..."); AppNetTimeout = SysTicksPerSecond() * 45; sfd = NetUTCPOpen("www.microsoft.com",NULL, 80); if (sfd==-1) { FrmCustomAlert(DebugAlert,"Where is MS?","IP will be wrong","

Re: How can i include standart library? for example stdio.h?

2001-01-05 Thread DANIEL FRANCO
Mert EÞSÝZ wrote: I want to use an fprintf function. But when i use #include "stdio.h" or #include stdio.h, the compiler gives the error message "cannot be opened" How can i include standart library? Thanks.. Good Luck -- For information on using the Palm Developer Forums, or to

Re: sprintf ???? or How can i convert int to string?

2001-01-05 Thread Richard M. Hartman
Yes, C (and C++) are case-sensative languages. If you are careless about case you will have a lot of compilation errors. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Emile Swain wrote in message 34808@palm-dev-forum... Is it case sensitive???

Re: Palm crack site found

2001-01-05 Thread Bradly J. Barton
It is a known fact that there is a "software crisis". For years now. Not enough available software for the right price and the users needs. For as long as there has been software, people have been pirating it. Its a fact of life. Its comments like this one.. "the right price" that the hackers

Re: PRC2OVL Question

2001-01-05 Thread Ken Krugler
I see in the PRC2OVL documentation that some resource contain only strings. How does one create a resource that is only strings? What does it look like? example? Both resource types 'tSTR' (a single string) and 'tSTL' (string list) are "pure" string resources. As to what it looks like, a

Re: Palm crack site found

2001-01-05 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Ralf Meyer wrote: [...] Wouldn't it be better helping them get new stuff _created_ than old stuff hacked? [...] Cracking is easy. Creating is hard. It's that simple. - -- Brian Mathis Direct Edge http://www.directedge.com -BEGIN PGP SIGNATURE-

Re: Quick/Easy steps to learn Palm Development

2001-01-05 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Aaron Ardiri wrote: interested in free development environment? try prc-tools :) Free is nice, but he asked for easy, not free. Usually the two are mutually exclusive :). For easy stuff, what's out there, Satellite Forms, NSBASIC, ... - -- Brian Mathis

Looking through records with Satellite Forms

2001-01-05 Thread Jim Barb Hoffman
Hi Folks, I just recently decided to pursue PalmOS development to help a friend who owns her own business selling Symbol 1500 and 1700 barcode scanner units. I'm a veteran Visual Basic developer so Satellite forms seemed a good fit for me. I'm having a little difficulty adusting though ;)

Re: C++ used much in palm apps?

2001-01-05 Thread Billy Cole
At 7:36 AM -0800 1/5/01, Billy Cole wrote: I'm going to start a project and would like to use C++. Are people using much C++ for palm apps? Lots of folks are. In general, it works just fineThe usual recommendation is to avoid "advanced" C++ features like multiple inheritance (maybe even

Re: Palm crack site found

2001-01-05 Thread Dave Carrigan
"Bradly J. Barton" [EMAIL PROTECTED] writes: I think Open Source is a fad that will die out as quickly as many of the dot coms have.. Open source has been around as long or longer than closed source, so I doubt that it will be dying out any time soon. -- Dave Carrigan ([EMAIL PROTECTED])

Re: Quick/Easy steps to learn Palm Development

2001-01-05 Thread Dean Rochester
Well I have been a C/C++ programmer for 10+ years and the Palm OS seemed the next transition. I would suggest downloading Code Warrior Lite from Metrowerks There is a tutorial that is pretty good in the docs directory. It also will walk you through making several versions of a memo pad

Email 8000 char limit?

2001-01-05 Thread Paul
Is there any way to increase the size of the email I can transfer to my Palm devices? Any hacks? I'm trying to get beyond the 8000 character limit. During the day when I read my email, I'm tired of having the palm dev-forum trunicated. Thanks, Paul -- For information on using the Palm

RE: Debug Messaging...

2001-01-05 Thread S KAR
Thanx Ken! but could u tell me wheres this Reporter or where can I get from Su --- "Yu, Ken [IT]" [EMAIL PROTECTED] wrote: Have you looked at the Palm Reporter?. It does exactly what you need. -- From: S KAR[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum

Re: Looking through records with Satellite Forms

2001-01-05 Thread Richard M. Hartman
If you are a veteran VB developer, you might want to try the tool that lets you put a VB app on the Palm ... what was it called again ... oh yeah, AppForge. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Jim Barb Hoffman [EMAIL PROTECTED] wrote in

Re: Quick/Easy steps to learn Palm Development

2001-01-05 Thread Richard M. Hartman
The easiest, I think, would be that new one that lets you write a VB app (yes, good ol' Microsoft Visual Basic) and put it on the Palm. Unfortunately I forget the name of this one ... does anybody recall? btw: it's -not- cheap! -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just

Chunk overlocked

2001-01-05 Thread vinod rajpal
I have written a code that navigates to different records in a database with push buttons, it works fine well at a time but some times it gives me chunk overlocked what does that mean is someting wrong with my code can anybody help me out Thanx in advance Regards Vinod Rajpal

Re: Quick/Easy steps to learn Palm Development

2001-01-05 Thread Richard M. Hartman
Ok, I had to look it up for another thread, so here it is: appforge. Puts your VB app on the Palm. Also CASL is another easy-to-use, multi-platform development tool. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Brian Mathis [EMAIL PROTECTED]

Re: Looking through records with Satellite Forms

2001-01-05 Thread Ben Combee
"Richard M. Hartman" [EMAIL PROTECTED] wrote in message news:34897@palm-dev-forum... If you are a veteran VB developer, you might want to try the tool that lets you put a VB app on the Palm ... what was it called again ... oh yeah, AppForge. Only problem is that there is no Symbol ignot for

Re: Email 8000 char limit?

2001-01-05 Thread Richard M. Hartman
Paul [EMAIL PROTECTED] wrote in message news:34892@palm-dev-forum... ... I'm trying to get beyond the 8000 character limit. (of e-mail app) During the day when I read my email, I'm tired of having the palm dev-forum trunicated. Don't subscribe to the digest. It's a rare message that -- on