Sending AT Commands to modem

2000-11-20 Thread herry
Can anyone point me to an example of how to send AT commands to the modem? I use SrmSend and SrmReceive. While I can send "AT" to the modem successfully, I'm not getting anything back. Am I missing something? Thanks, Herry -- For information on using the Palm Developer Forums, or to unsub

Newbie :: Beaming

2000-11-20 Thread Ashu
To All, I am trying to beam a single record from my own database which I create in my application to another Palm Device. I have put in the Beam Code as recommended. However - I am running into a problem ... My objective is to be able to BEAM "record" from the Database created by my application

Controlling the IIIc's "Charging" indicator

2000-11-20 Thread TSTI Ferdinand Perlas
Hello. Is there a way I could programmatically turn on and turn off the Palm IIIc's "Charging" light indicator (the one which lights up when the IIIc is seated on the cradle) ? Thanks. -Ferdinand -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://ww

Re: periodic launches with AlmSetAlarm

2000-11-20 Thread Tom Zerucha
On Mon, Nov 20, 2000 at 12:57:44PM -0800, Timothee Masquelier wrote: > Hi all, > I'd like to launch an application periodically. > I'm using: > > AlmSetAlarm (cardNo, dbID, ref, TimGetSeconds()+period > , true); > > and in fact, I'd like the > sysAppLaunchCmdAlarmTriggered launch code to do > ex

Re: Displaying serial data to screen

2000-11-20 Thread Richard Burmeister
From: "Deveau, Darrin" <[EMAIL PROTECTED]> Subject: Displaying serial data to screen >CharPtr sA, sX, cStatus, sBytes, sBuffer; ... >StrIToA(sBytes, (int)ulBytes); This won't work. You didn't allocate space for the string, so writing to sBytes will over-right adjacent vars. Also, d

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Chris Tutty
"Jim Cooper" <[EMAIL PROTECTED]> wrote > Dave, > > > Our latest creation does not use conduits directly. We read and > > write directly to PDB files. > > Could you explain how you deal with the syncing issues (when the PDBs > get transferred etc)? Do you have performance issues/workarounds for >

Displaying serial data to screen

2000-11-20 Thread Deveau, Darrin
Hi, I want to use Windows Hyperterminal to send a text file to the palm and to display the text on the palm. This is for testing purposes. The Text file is like follows: 16534567 16534567 16534567 16534567 16534567 I send the file and what I get display on the Palm is the number of byt

RE: Constructor in color

2000-11-20 Thread Nesse, Rustin
Aside from Heather's tip mentioned previously, try creating a bitmap family, and making sure the bit depth for the color graphic (located on the menu bar, under "Colors") is set to 8- bit depth/256 colors. -Rus >I downloaded ColorDeal from the Palm KnowledgeBase, But I >still can't figure >out

RE: Constructor in color

2000-11-20 Thread Heather Tufts
> I downloaded ColorDeal from the Palm KnowledgeBase, But I > still can't figure > out how to do color bitmaps in CONSTRUCTOR, when ever I copy > and paste, it > turns out B&W, any help would be appreciated. > Mikel Anderson In order to use Constructor with color, you will have to get the 3.5

Re: About SysAppLaunch

2000-11-20 Thread herry
> > Correct me if im wrong, but when you launch another app, you quit the > current > > app. Thus you have to EXPLICITLY return to the previous app (like with the > > same call but to the 1st app) > If you use SysUIAppSwitch(...) - YES! > If you use SysAppLaunch(..) - NO! But how would you detect

Re: newbie list down arrow

2000-11-20 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Matt Mason wrote: > > How can I make that down arrow dissappear on my list boxes? I was > hoping to replace it with a scroll bar > > Thanks > > -- > Matt Mason I suggest you abandon Windows-centric ideas and just keep with the current Palm paradigm of t

Re: Detecting modem out of battery

2000-11-20 Thread herry
What modem are you using? If you're using Minstrel, check out their MSCI document. Of course it isn't possible to detect when the battery is completely dead. Herry - Original Message - From: "Federico Vaggi" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monda

Re: periodic launches with AlmSetAlarm

2000-11-20 Thread herry
> I'd like to launch an application periodically. > AlmSetAlarm (cardNo, dbID, ref, TimGetSeconds()+period > , true); > I get a fatal error, and I think it's because I don't > have access to the global variables. > Is there a way to avoid this problem? Inside the alarm handler, use SysUIAppSwitch

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Clayton Powell
The format of the PDB files is documented but I believe reading/writing directly to them is not "supported" by Palm. i.e. The format could change at any time and your program would break. Whereas the conduit is a supported interface. This is an argument management will understand. Having said

Re: periodic launches with AlmSetAlarm

2000-11-20 Thread Dave Johnson
I think the "right" thing to do here is to basically send a normal launch code to yourself from the sysAppLaunchCmdAlarmTriggered handler. So your app actually quits, then re-launches normally with globals. I'm a bit fuzzy on the details, but I know it's been done without a Hack. Is it legal

Design considerations was RE: Problems with tables

2000-11-20 Thread Eric R. Oliver
I understand totally and I appreciate your comments. This is all very fluid at this point. It may be that for performance reasons my current model is impractical. Right now, I'm trying to get a minimal model working so I can evaluate its performance. Is anyone using a similar model. That is, usi

Re: UIAppshell error after closing application with debug roms.

2000-11-20 Thread Timo Kinnunen
[EMAIL PROTECTED] (RiegleT) wrote: >Place to get the new debugger; > >ftp://palm:[EMAIL PROTECTED]/ Thanks, now I've got one thing less to worry about :) -- No address munging in use. I like the smell of nuked accounts in the morning. -- For information on using the Palm Developer Forums, o

RE: periodic launches with AlmSetAlarm

2000-11-20 Thread Nesse, Rustin
Sounds like a job for a hack! Look into writing a hackmaster extension application. (There's information about these all over the archives) -Rus >Hi all, >I'd like to launch an application periodically. >I'm using: > >AlmSetAlarm (cardNo, dbID, ref, TimGetSeconds()+period >, true); > >and i

periodic launches with AlmSetAlarm

2000-11-20 Thread Timothee Masquelier
Hi all, I'd like to launch an application periodically. I'm using: AlmSetAlarm (cardNo, dbID, ref, TimGetSeconds()+period , true); and in fact, I'd like the sysAppLaunchCmdAlarmTriggered launch code to do exactly the same as the normal launch code. I get a fatal error, and I think it's because I

Constructor in color

2000-11-20 Thread mikel anderson
I downloaded ColorDeal from the Palm KnowledgeBase, But I still can't figure out how to do color bitmaps in CONSTRUCTOR, when ever I copy and paste, it turns out B&W, any help would be appreciated. Mikel Anderson CEO Impact Studios Also, does any one have, or work for a company that will offer

Re: Problems with tables

2000-11-20 Thread Ben Combee
> I'm sorry I wasn't more clear. Sometimes brevity isn't always best . This > is not the actual callback. I have a static callback that dispatches to the > correct class instance. My comments about an invalid "this" were in the context of the member function being used directly as a callback. Pl

RE: Problems with tables

2000-11-20 Thread Eric R. Oliver
Ben, I'm sorry I wasn't more clear. Sometimes brevity isn't always best . This is not the actual callback. I have a static callback that dispatches to the correct class instance. I'm not sure what you mean regarding the "this" pointer is the handle. In this case, GetHandle() returns a handle to

RE: Multitasking and threads

2000-11-20 Thread George Williams
Apparently, the java virtual machine (for Palm) from Sun MicroSystems supports some concept of threads. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Radiosity Sent: Sunday, November 19, 2000 3:15 PM To: Palm Developer Forum Subject: Multitasking and t

Re: Problems with tables

2000-11-20 Thread Ben Combee
> I get these errors without editing any values. Here is the load data > callback. > > Err pcMainTable::LoadData( Word row, Word column, Boolean editable, >VoidHand *data, WordPtr dataOffset, >WordPtr dataSize, FieldPtr fld ) This callback d

FrmNewBitmap

2000-11-20 Thread Thomas Ward
Hi, Does anyone have an example of using FrmNewBitmap? I have the following code: FormPtrfrm = FrmGetActiveForm(); MemHandle bitmap_handle; MemPtr bitmap_pointer; bitmap_pointer = MemHandleLock(bitmap_handle); I know that the contents of my handle are correct, because if I

Problems with tables

2000-11-20 Thread Eric R. Oliver
Hi, I just got started with Palm development. I had started before but had to stop for time reasons. I've begun by developing a C++ framework for building Palm programs. I'm using CodeWarrior 6 and Palm OS 3.0. So far I have encapsulated the following objects : Application Class Form class Table

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Jim Cooper
Dave, Thanks very much for the info. Cheers, Jim Cooper _ Jim Cooper [EMAIL PROTECTED] Tabdee Ltd http://www.tabdee.ltd.uk TurboSync - Writing Palm conduits with Delphi _ Learn how to program P

Re: Initializing array of objects in declaration

2000-11-20 Thread Jabavu W. Adams
I just noticed a potential bug in the code I posted earlier. I should have added a copy constructor to MyClass. In the original code I'm depending on the compiler to auto-generate the copy constructor which probably would not work if MyClass contains pointer members. The auto-generated copy constr

Re: Initializing array of objects in declaration

2000-11-20 Thread Jabavu W. Adams
> Is this possible in C++ Yup, but it can get complicated. You'll want to create constructors for both MyClass and MyStruct. Remember, structs can have constructors in C++. For example: class MyClass { public: MyClass( char a, char b ) {}; // whatever }; struct MyStruct { MyStruct (int ix

Re: What did PalmOS 3.5.2 fix?

2000-11-20 Thread David Fedor
There's a KnowledgeBase article which answers this exact question. Search for "3.5.2". -David Fedor Palm Developer Support -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Overlay with OS 3.0?

2000-11-20 Thread Jim Schram
At 10:44 AM -0500 11/20/00, Sebastian Voges wrote: >Can I get the Overlay functionality with Palm OS < 3.5 by linking with the >PalmOSGlue.lib ? Sorry, overlay support is only available in Palm OS 3.5 and later. The mechanism involved significant changes to the implementations of several data ma

Strange ??

2000-11-20 Thread Patrick Ouellet
I've just created a new apps using the template OS 3.1 stationary with Code Warrior, but I have a weird behavior from the palm. I i use POSE to run the apps, everything is fine. But if I upload my apps to the palm. during syncronisation I see syncronising Palm-UD (that the .prc name) but once the

Re: Initializing array of objects in declaration

2000-11-20 Thread Garth Watkins
Yes it does seem to work( or at least I have made it work :)), but only under the following conditions. 1) You specifically seperate the individual structures with the curly brackets e.g. MyStruct[]={{1,2}, {3,4}, {5,6}}; 2) All user defined types appear

RE: Initializing array of objects in declaration

2000-11-20 Thread Philippe GRAILLE
Hi, you can use a pointer to your structure but not the strucuture. when you intialize you put Null value. By. > -Message d'origine- > De: Garth Watkins [SMTP:[EMAIL PROTECTED]] > Date: lundi 20 novembre 2000 17:47 > À:Palm Developer Forum > Objet:Initializing array of ob

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Dave Lippincott
> > Could you explain how you deal with the syncing issues (when the PDBs > get transferred etc)? Do you have performance issues/workarounds for > large databases? My data is small so I've never had to deal with any of the memory issues (typically < 5K per PDB) But I do sometimes deal with dozen

RE: Initializing array of objects in declaration

2000-11-20 Thread Richard Anderson
Try It. > -Original Message- > From: Garth Watkins [SMTP:[EMAIL PROTECTED]] > Sent: 20 November 2000 16:47 > To: Palm Developer Forum > Subject: Initializing array of objects in declaration > > Hi > > Initializing an array of structures that contain only the built in types > seem

Initializing array of objects in declaration

2000-11-20 Thread Garth Watkins
Hi Initializing an array of structures that contain only the built in types seems pretty straightforward e.g. typedef struct { int x; int y; int z; }FooType; FooType foo[3]={1,2,3,

Re: UIAppshell error after closing application with debug roms.

2000-11-20 Thread RiegleT
I think this may be the same thing that I just ran into. Updates you listed do not update debugger, new debug roms detect that the older version of the debugger was not setting its first breakpoint (at PilotMain) properly. Do check out the documentation included with the new debugger, it still

RE: Adding a preference panel to the system.

2000-11-20 Thread Scott Johnson (Bellevue)
> From: Fabien Masson [mailto:[EMAIL PROTECTED]] > Do just I need to set TypeID to 'panl' and CreatorID to my own Yes but you need to do a few other things too: 1. Implement the popup list of other panels in the upper right corner. 2. Implement the Done button when required. 3. Set the system p

Re: Bus error while setting field in debug ROM

2000-11-20 Thread Ted Trela
I've encountered a similar problem with various ROMs, not the same error but code crashing inside FldDrawField(). All of my problems occured during similar initialization of fields withing forms. I solved by testing if the form is visible. if ( FrmVisible( frm ) ) { FldDrawField(fldP);

RE: Anyone still making programs compatable with OS 2.0

2000-11-20 Thread Nesse, Rustin
>>Subject: RE: Anyone still making programs compatable with OS 2.0? >>From: Richard Anderson <[EMAIL PROTECTED]> >>Date: Fri, 17 Nov 2000 15:17:54 - >> >>How can 0.00% of people be developing for Symbol products, >> I know at least two people who develop for Symbol in England >alone ??? > >Sy

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Jim Cooper
Dave, > Our latest creation does not use conduits directly. We read and > write directly to PDB files. Could you explain how you deal with the syncing issues (when the PDBs get transferred etc)? Do you have performance issues/workarounds for large databases? > Infact, the app is more comple

RE: Anyone still making programs compatable with OS 2.0

2000-11-20 Thread Nesse, Rustin
The PSC Momentum's not too bad, for scanning UPC and Code 39/128... it's lousy for damaged barcodes, or barcodes on dark surfaces. PSC's other scanners are pretty decent though, and having a 4 mb flash module in the scanner springboard is a nice touch, too. -Rus >>> How can 0.00% of people b

Overlay with OS 3.0?

2000-11-20 Thread Sebastian Voges
Can I get the Overlay functionality with Palm OS < 3.5 by linking with the PalmOSGlue.lib ? The Palm OS Companion.pdf is not clear at this point(at least not for me) thanks, Sebastian -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Michael Yam
The primary purpose of a conduit is data synchronization. If your data goes one-way (Palm to desktop) then I see nothing wrong in reading directly to the PDB on the desktop. Anything else and a real conduit would be better. I've messed around with generic conduits because I need to write one fo

Detecting modem out of battery

2000-11-20 Thread Federico Vaggi
Hi: I' m developping an application that works with the palm modem. And I have to detect when the modem has run out of battery. Is there anybody that can tell me how can I detect this by software? If it' s possible. Thanks in advance. -- For information on using the Palm Developer Forums, or

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Dave Lippincott
I'm glad you're speaking for yourself. Our latest creation does not use conduits directly. We read and write directly to PDB files. And its not a hack (Palm published the PDB/PRC file format) or some thrown together kludge. Infact, the app is more complex than any conduit I ever wrote. We req

Re: Accessing individual signals on serial port.

2000-11-20 Thread Dave Lippincott
Download and read the serial port hardware specs from the PalmOS website. You will notice that DTR is hardwired so you will not be able to control it. - Original Message - From: "Bonny Gijzen" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> S

Re: Non-Word-aligned

2000-11-20 Thread Yannick Bartheye
OK, everything works fine ! In fact, I change j (UInt16) into UInt32 but there was the same problem... Looking more deeply my code, I found that my buffer area (array "message") was too small to contain my data. But by increasing my array, I got a "Stack overflow" message. So I create my array wit

RE: newbie list down arrow

2000-11-20 Thread John J. Corelli
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal If you're looking to just get rid of the arrow... If you change the number of items displayed in the list to meet or exceed the actual number if items that exist in the list, you'll be able to get rid of the down arrow to

What did PalmOS 3.5.2 fix?

2000-11-20 Thread Gordon, Douglas
A customer informed me that my conduit was causing his Palm to crash when it attempted to update a database (which it does by deleting the existing DB and then creating a new version). After some unsuccessful attempts to find the problem, I told him to use the option of creating the database on th

list id of popup trigger

2000-11-20 Thread Chris Yourch
Hi, I am retrieving the list id associated with a popup trigger and am wondering how portable the code is? It works fine on POSE using Palm OS v3.1 and v3.3. Thanks, Chris Chris Yourch RIA Group [EMAIL PROTECTED] Int16 GetPopupTriggersListId( UInt16 formID, UInt16 triggerI

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Jim Cooper
I agree with Brian, a non-conduit solution usually looks kludged. There is also the point that using the pdb method may fail to properly sync the Palm and PC databases. Surely the users can change things on the Palm between backing up a database and installing the new one? Cheers, Jim Cooper _

Problem with completing a to do-type record

2000-11-20 Thread bushi
It's being handled by the OS...if that's the problem, I'm not sure how to fix it - any suggestions. Regards, John. From: Richard M. Hartman (view other messages by this author) Date: Thu, 16 Nov 2000 12:09:06

Re: Request for opinion on avoiding conduits

2000-11-20 Thread Brian Mathis
-BEGIN PGP SIGNED MESSAGE- Chris Tutty wrote: [...] > Valid point, although in this case the Palm apps are support > tools for larger Windows-based apps so the PDB reading and > writing is integrated with that application. > > The 'keeps with the rest' point is my main concern. I don't

Non-Word-aligned

2000-11-20 Thread Yannick Bartheye
Hello, Can anybody helps me ? I use the follow code: Char *buffer; UInt16 j: MemHandle recordh; /*--- */ buffer = MemHandleLock(recordh); StrCopy (message+j,buffer); j+=MemHandleSize(recordh); <- Here is the failure (?) MemHandleUnlock(recordh); /* --- */ And with some data in my DB, I got this

Re: Multitasking and threads

2000-11-20 Thread Steve Mann
>Actually yes and no - they use AMX which is multitasking, but no, you >can't use them yourself apparently due to a licensing thing Tom: Of course you're right. I figure most people don't want to work as hard as you do to get at the low level stuff, so I pretend it doesn't even exist. Regards