Re: Help with FrmNewBitmap for an Hourglass

2008-05-28 Thread Gavin Maxwell
Have you tried using WinSaveBits/WinRestoreBits? Call WinSaveBits to grab the bits that will be covered by your bitmap. Draw your bitmap, then when you're ready to remove it simply put back the original bits with WinRestoreBits. The only caveat is that if your display changes in some way othe

Re: CtlSetValue on a PopTrigger

2008-05-28 Thread Gavin Maxwell
Josh, sounds like you've been doing things the hard way up til now... If you correctly link your popup trigger and associated list ( by setting the List ID attr of the trigger ) all that work you've described happens *automagically* for you! ie The list will be shown until the user selects an

RE: background task

2008-05-28 Thread Gavin Maxwell
Sounds like you want a virtual serial driver. Check out the CryptoDrvr sample from Palm. Search for "serial and sample" Rgds, Gavin. From: Metalle Gary-GMETALL1 (view other messages by this author) Date: Tue, 12 Sep 2000 05:06:44 Hello Perhaps I should have worded my question better. I don'

RE: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2008-05-28 Thread Gavin Maxwell
Basically if the API name has "Set" in the title it merely stores a reference to whatever you pass in, if it has "Copy" in the name it will actually copy what you pass it. eg FrmCopyTitle copies the string you pass it. Regards, Gavin. -- For information on using the ACCESS Developer Forums, o

Re: Sharing code as headers or shared libraries

2008-05-28 Thread Gavin Maxwell
Take a look at the SampleLib example that ships with the SDK. If you want to ship a binary version of your code then this is probably the cleanest option. There are other ways to do what you're after but a shared library is prolly the best way to go. Good luck, Gavin. -- For information on

re: storing global data

2005-04-14 Thread Gavin Maxwell
Yes there are... but what are you trying to achieve...? It also depends on your definition of 'global' and 'store' :) You could also store data in a database (DataMgr), on a VFS volume (VFSMgr), in a file stream, or in a memory chunk handed to the OS (MemPtrSetOwner - careful you keep track of

re: Creating graphs from a numerical database.

2005-03-22 Thread Gavin Maxwell
There's no native graphing support - you'll have to create them yourself using the standard drawing routines... pretty simple stuff really. I've done all manner of funky graphs for various projects before, pie charts, line graphs, bar graphs etc... and I'm sure many other developers have done si

re: Memopad.dat

2004-11-11 Thread Gavin Maxwell
>From memory the .dat files have been MFC stream files... and the format of the >data has changed with each new version of MFC... I'm not sure if the new >desktops still use MFC, but I don't think there has ever been an official way >to import a .dat file. Been a while since I looked at this stu

re: GPS apps

2004-11-11 Thread Gavin Maxwell
I think you're confused. Neither the i500 or i600 (MS Smartphone device) have an embedded GPS chip in them... the only Palm OS devices with builtin GPS are the Garmin iQue series... and they don't emit NMEA - they have specific API's to retrieve the data (from which you could build a NMEA string

re: How to support the "Quick Connect" feature in palmOne's Contacts application?

2004-11-11 Thread Gavin Maxwell
Yup, it's not publicly available. You'll have to contact palmOne (via pluggedIn) to get access to it. Once you get it it's pretty easy to use. Cheers, G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: launching phone+dial on Treo600 help

2004-11-11 Thread Gavin Maxwell
You'll need to do the same with name and number too...! G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: launching phone+dial on Treo600 help

2004-11-11 Thread Gavin Maxwell
You need to setup the param pointer so the OS owns it - otherwise the pointer gets freed when you switch apps... do this by: MemPtrSetOwner( param, 0 ); I would also do a MemSet on the pointer to clear it out... just to be safe... MemSet( param, sizeof( PhoneAppLaunchCmdDialType), 0 ); HTH,

re: checking if it is T3

2004-09-02 Thread Gavin Maxwell
Casting a UInt32 into a char* won't work... easiest way is to say: if ( deviceID == 'Arz1' ) { } HTH, G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: jealousy...

2004-08-31 Thread Gavin Maxwell
There's a myriad of paint programs out there... I like Painter from Procreate (now Corel) myself - it has some very nice gradient tools... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: PluggedIn site down?

2004-08-30 Thread Gavin Maxwell
It's up now Edward... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Create controls on the fly

2004-08-30 Thread Gavin Maxwell
It's all in the docs dude... CtlNewControl etc... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: problems with images of 256 colors

2004-08-30 Thread Gavin Maxwell
You may need to set the palette to the colours specific to your image. Or else flip the display to 16 bit... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Error in TextMgr

2004-08-30 Thread Gavin Maxwell
I believe you'll get that error if you pass 0 for the last parameter... it should specify the length of your outDest string. G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Time Functions

2004-08-30 Thread Gavin Maxwell
Checkout the SDK samples - especially the Datebook app which uses the Time API's heavily... they're not that hard... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Bold font

2004-08-30 Thread Gavin Maxwell
FntSetFont( boldFont ); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Running wireless Emulator/Simulator from a webserver/website for mobile handheld demonstration?

2004-08-11 Thread Gavin Maxwell
I'm sure there are licensing issues to think about. FWIW Handango has/had a facility to demo your app live on their site - it was a 3rd party solution, but worked quite nicely last time I looked at it. G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

re: new account for HotSync

2004-08-11 Thread Gavin Maxwell
You might need to explain a little more... G. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: sql

2004-08-11 Thread Gavin Maxwell
Cobalt offers "SQL-like" queries on its schema-databases - checkout the Cobalt docs for more details. Sybase Ultralite (or whatever it's called now) used to allow SQL as well - but I'm not sure if it's still available as a product. Checkout www.sybase.com I guess. HTH, G. -- For information o

re: KeySetMask() on Tungsten-C

2004-07-19 Thread Gavin Maxwell
I noticed this in one of my apps. KeySetMask seems to be broken on the TC. What I did was modify the key rate by calling KeySetRate... this seemed to get around the bug well enough. Cheers, -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.

re: T3 Soft Key

2004-05-20 Thread Gavin Maxwell
FYI, that area is user-configurable (hold your stylus on one of the icons to change it). I don't recall seeing any new key codes for those items. The easiest way to stop them being tapped might be to hide the DIA using the Pen Input Mgr API's... If you are trying to lock your app down you can tr

re: connect my palm into network

2004-05-20 Thread Gavin Maxwell
You hit the nail on the head. Run the "Prefs" application, then use the "Connection" and "Network" panels to configure the connection. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: WinScreenLock failing in TT and TT2

2004-05-20 Thread Gavin Maxwell
Insufficient dynamic memory will cause WinScreenLock to fail. Have you changed anything to increase your dynamic memory usage? HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: MemPtrOwner runtime error

2004-05-20 Thread Gavin Maxwell
MemPtrOwner is an undocumented API and not supported under OS 5... Seems strange that you would want to call this anyway... what are you trying to achieve? There might be an easier/more supported way of doing it. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscr

re: Callback function

2004-05-20 Thread Gavin Maxwell
Why do you care what the callback returns? You should be more interested in what DmFindSortPosition returns. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Is that Possible for the Palm Tungsten C to transfer data to desktop wirelessly?

2004-05-20 Thread Gavin Maxwell
I don't think a conduit is the solution for you if you want an "real-time and interactive" session. Think of HotSync as more of a batch solution. For an interactive solution you'll need to write sockets code on the Palm and an appropriate server on the PC. There is plenty of sample code around t

Re: Background process

2003-12-17 Thread Gavin Maxwell
AlmSetAlarm is your friend... Cheers, Gavin. "Sanjeev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All, > > I want to run a block of the code which can be said to be some kind of > maintenance without actually opening the application of mine. This has to be > a periodic proc

Re: custom command bar buttons

2003-12-17 Thread Gavin Maxwell
As you've discovered you need to keep your db open. There is no problem keeping a db open (dmModeLeaveOpen) - but you need to keep hold of a reference to the open db so you can close it later as required (stuff it in a feature). There's a bit more to it, but that should get you going for the most p

Re: MemHeapCompact crashes, I think

2003-09-30 Thread Gavin Maxwell
Hey, We don't even get to start our audio playback... We crash on startup (it's a long complex startup). At the moment we have isolated the cause of the MemHeapCompact crash to an external library we use inside one of our armlets. But there is only some smoke... no fire as yet... Mind you, as soo

RE: MemHeapCompact crashes, I think

2003-09-29 Thread Gavin Maxwell
Oh my god...! I've been trying to track down a very similar problem here... We have a bunch of armlets and was thinking that there was a bug in one of them - so have been pouring over 400K worth of code (8 armlets!). The fact that the armlet code is running fine on two other platforms was a conce

Wanted: Palm OS Developers in Sydney, Australia

2003-09-07 Thread Gavin Maxwell
Hi all, I'm looking to extend an existing Palm OS team by 4 *more* developers. The current team is currently based elsewhere, and will be moving to Sydney in the next few months. The company behind this is a large-ish (>300 employees worldwide) technology company with over 15 years of impressive g

Re: How to add a contact to address book from my program???

2003-02-18 Thread Gavin Maxwell
Take a look at the source code for the AddressBook application (part of the SDK) - it's all there for you to discover... There's a few ways to do it - bang the data directly into the AddressBookDB database (not recommeneded for forward compatibility, db structure may change etc), use the exchange

Re: Date Book Creator ID and Type

2003-02-13 Thread Gavin Maxwell
In all versions I've come across, yes... Gavin. DNR <[EMAIL PROTECTED]> wrote in message news:113389@palm-dev-forum... > > Hello All, > > I want to access the DateBook database from my aplication and I want to do > this in all devices and OS versions. > If I look for the data file using > datebo

Re: CW9 on Mac OS X

2003-02-10 Thread Gavin Maxwell
Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:112823@palm-dev-forum... > i dont know why the CWR9 on mac not happening is news to most of you. > i was pretty sure i was told (maybe it was personal email) that CWR9 was > going to be a windows only release (no questions asked). It's "news"

Re: CW9 on Mac OS X

2003-02-09 Thread Gavin Maxwell
Yup, got one too... Bugger and damnation... :-( G. Mark F Rodriguez <[EMAIL PROTECTED]> wrote in message news:112779@palm-dev-forum... > > Just received this from MW Ron at Metrowerks, so I guess it's > "official". > > Too bad... > > > > I wanted to let you know that a decision was made last w

Re: crc problem

2003-02-08 Thread Gavin Maxwell
You've got multiple problems here... The first is the fact you posted all that code, the second is that potions of that code are copyright Palmsource Inc, and protected under non-disclosure agreement!! Then there are a multitude of technical reasons... 1. Your call to SF_ScriptPopString is wrong

Re: Selector Triggers

2003-02-08 Thread Gavin Maxwell
CtlSetLabel G. Thomas Sweeney <[EMAIL PROTECTED]> wrote in message news:112628@palm-dev-forum... > > I have a Selector Trigger which brings up a modal form with 2 lists. When I > return to the form with the Selector trigger in it how do I update the label > of the Selector Trigger with the item

Re: icons for MenuCmdBarAddButton ?

2003-02-06 Thread Gavin Maxwell
Hi Ron, You need to jump through a few hoops to get this working correctly. It doesn't work as is, because the OS can't find your bitmap id 1234 (your app database ain't open). So what you need to do is create a seperate database with your bitmap in it, and ensure it's open all the time (dmModeLe

Re: dates in pdb header

2003-02-01 Thread Gavin Maxwell
Nope, dates have always been seconds since 1904. Gavin. Jamie Macleod <[EMAIL PROTECTED]> wrote in message news:111620@palm-dev-forum... > > I believe they changed it and that is the problem > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.

Re: bluetooth send

2003-01-31 Thread Gavin Maxwell
If you are using the Exchange Mgr to send via IR you can try using exgSendPrefix instead of exgBeamPrefix - this will then prompt you for which transport you'd like to use. You simply pre-pend this to the name field in the socket structure before calling ExgPut. HTH, Cheers, Gavin. Danny Wong <

Re: Desktop Link Protocol (DLP) documentation

2003-01-30 Thread Gavin Maxwell
There were several articles in the old Handheld Systems mag that discussed this in detail (in relation to building a Linux HotSync manager). Maybe Steve Mann has pdf's of the articles kicking around still? I've got hard-copies at my parents place, somewhere... Cheers, Gavin. Matthew Henry <[EMA

Re: What is an application's local ID?

2003-01-16 Thread Gavin Maxwell
Try using SysCurAppDatabase... it will give you the card number and local ID of your app. A local ID is simply a reference to your applications database - you don't have to worry about it much really. Though if you really want to know it's the offset of your app database from the base address of t

Re: Creating high density icons...

2003-01-13 Thread Gavin Maxwell
There is a density option when you edit a bitmap in a family - simply select "Double" and away you go! :-) This assumes you have the latest drop of Constructor from the OS 5 SDK... Gavin. Jeff Diamond <[EMAIL PROTECTED]> wrote in message news:108838@palm-dev-forum... > > Is is possible using th

Re: WinPaintBitmap and WinDrawBitmap--bad window

2003-01-10 Thread Gavin Maxwell
Ensure you have a valid window established before calling them... :-) The usual case when this appears is attempting to draw to a new form before calling FrmDrawForm() Gavin. Guanghe Pan <[EMAIL PROTECTED]> wrote in message news:108120@palm-dev-forum... > > WinPaintBitmap and WinDrawBitmap will

Re: VB - Remove PDB File from Palm

2003-01-10 Thread Gavin Maxwell
This should get you most of the way there (from memory, so no promises it will compile!) Dim dbQuery As New PDDatabaseQuery Dim dbInfo As PDDatabaseInfo Set dbInfo = dbQuery.ReadDbInfoByCreatorType(dbCreator, dbType, true) dbQuery.RemoveDatabase( dbInfo.DBName ) So you pass your creator id and t

Re: CodeWarrior V9

2003-01-10 Thread Gavin Maxwell
I believe it's better if you select "Compiler" instead of "Language Parser" - it's certainly working for me with that setting. Gavin. Brad Figler <[EMAIL PROTECTED]> wrote in message news:108320@palm-dev-forum... > > All, > > I have seen a couple of posts related to code completion in CW9!

Re: UIAppSwitch to Hotsync - How to force sync to start immediately

2003-01-09 Thread Gavin Maxwell
Try sending a sysAppLaunchCmdSyncRequestLocal launch code to HotSync... Cheers, Gavin. Ole Grossklaus <[EMAIL PROTECTED]> wrote in message news:108122@palm-dev-forum... > > Hello everybody, > > I'm still dealing with the problem to start hotsync from my application. > > I have tried to post e vc

Re: how to get data out of sysNotifyEventDequeuedEvent

2003-01-06 Thread Gavin Maxwell
You don't swap the event structure pointer (that's what you're almost trying to do). You need to swap the contents of it. EventType *eventP = (EventType*)((SysNotifyParamType*)cmdPBP)->notifyDetailsP; Then swap the fields in the struct like this: ByteSwap16( eventP->eType ) ByteSwap16( eventP->d

Re: Palm OS 5.0.

2002-12-27 Thread Gavin Maxwell
Just because it's in the headers doesn't mean it's *supported*. MemSemaphoreReserve is one of these from memory that don't exist in OS5. You're gonna have to go back to using DmWrite etc... :-) Gavin. Shekar Mantha <[EMAIL PROTECTED]> wrote in message news:105891@palm-dev-forum... > > Hi, > > I

Re: LstPopupList returns -1

2002-12-03 Thread Gavin Maxwell
It was off the top of my head - therefore no error checking etc... ;-) G. Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:103616@palm-dev-forum... > > MemSet(&evt, sizeof(EventType), 0); > > evt.eType = myCustomEvent; > > EvtAddEventToQueue( &evt ); > > just to be 100% safe

Re: LstPopupList returns -1

2002-12-03 Thread Gavin Maxwell
A cleaner way might be to post a custom event from your frmOpen case? case fromOpenEvent: { EventType evt; DoFormOpenStuff(); evt.eType = myCustomEvent; EvtAddEventToQueue( &evt ); } break; case myCustomEvent: { LstPopupList(...) } break; Cheers, Gavin. Matt Graham <[EMAI

Re: Mapping one object to other in PalmOS ????????

2002-11-28 Thread Gavin Maxwell
Make your big button, then when you get a ctlSelectEvent for that button call LstPopupList... you'll then have to manually display the final user selection. Gavin. Ammi Aithal <[EMAIL PROTECTED]> wrote in message news:103046@palm-dev-forum... > > Hi, > > 1. Part of my application contains a form

Re: How to draw a line, since WinDrawLine says... nothing actually! :-)

2002-11-25 Thread Gavin Maxwell
t; > > > Andrey A. Belkin <[EMAIL PROTECTED]> wrote in message > > news:101983@palm-dev-forum... > > > > > > You are right, thank you. > > > So, there is no appropriate mechanism to draw colored lines :(( > > > > > > -- > >

Re: pose on wine

2002-11-25 Thread Gavin Maxwell
I think that's a first...! :-) Gavin. Keith Rollin <[EMAIL PROTECTED]> wrote in message news:102631@palm-dev-forum... > > So I'm pretty clueless all around... :-) > > -- Keith Rollin > -- Palm OS Emulator engineer > -- For information on using the Palm Developer Forums, or to unsubscribe, pl

Re: How to set popup List width

2002-11-25 Thread Gavin Maxwell
Do you really need to create it at runtime? What about simply having a list object hidden on your form - then when you need to you set it up as required (contents, position, height). This lacks the flexibility of setting the width dynamically, but you can give it a reasonable default. I've used th

Re: How to get "penMoveEvent" PalmOS 5

2002-11-25 Thread Gavin Maxwell
The other option is trapping sysNotifyProcessPenStrokeEvent - you can then interrogate the stroke buffer - which gives you all the recorded points between pendown and penup... to be honest I'm struggling with exactly this right now... it's not pretty... :-{ Gavin. John Lee <[EMAIL PROTECTED]> wr

Re: Re: How to get "penMoveEvent" PalmOS 5

2002-11-25 Thread Gavin Maxwell
Heh, of course I could be wrong... ;-) John Lee <[EMAIL PROTECTED]> wrote in message news:102529@palm-dev-forum... > > Aaron Ardiri: > thanks for your answer! > > >you could always poll EvtGetPen() in your nilEvent loop - and, manually post > >the penMoveEvent event *g* > > > >--- > >Aaron Ardiri

Re: How to get "penMoveEvent" PalmOS 5

2002-11-25 Thread Gavin Maxwell
I'm guessing he's writing an OS5 hack and therefore doesn't have an event loop... :-) Gavin. Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:102527@palm-dev-forum... > > > Hi! I use a POSE of OS5 > > How to get penMoveEvent? > > I want to preHandle all event,especially like "penDownEvent

Re: How can I know the database is store in ROM or RAM ?

2002-11-24 Thread Gavin Maxwell
I'm not sure you can do it from the database alone, but you should be able to tell from a record in the database. If you have a handle (or pointer) to a record in the database you can call MemHandleHeapID (or MemPtrHeapID) to retrieve the heap id in which the record resides. You can then pass that

Re: Run My App at Power UP

2002-11-23 Thread Gavin Maxwell
Hi Mike, You can register for the late wakeup notification... this in OS 3.5 and above only though... Cheers, Gavin. Mike McCollister <[EMAIL PROTECTED]> wrote in message news:102315@palm-dev-forum... > > Does anyone know how to setup an application to execute at powerup? > > Thanks, > > Mike >

Re: sysNotifyAppLaunchingEvent

2002-11-21 Thread Gavin Maxwell
I don't think that notification is meant to work like that... Just a guess, but you could try setting handled to true in the notification struct, then launching the new app yourself... Seems like a strange request though... :-) Gavin. Danny Wong <[EMAIL PROTECTED]> wrote in message news:102119

Re: Attribute Field in PDB Header & Record Entries

2002-11-21 Thread Gavin Maxwell
Take a look in the Palm OS Reference.pdf doc - they are all in there (under Data Manager Constants) Cheers, Gavin. Oscar De León <[EMAIL PROTECTED]> wrote in message news:101865@palm-dev-forum... > > Where can i find info about the meaning and possible values (including > constants) for the Data

Re: How to draw a line, since WinDrawLine says... nothing actually! :-)

2002-11-21 Thread Gavin Maxwell
se of actually displaying coloured lines... Andrey A. Belkin <[EMAIL PROTECTED]> wrote in message news:101983@palm-dev-forum... > > You are right, thank you. > So, there is no appropriate mechanism to draw colored lines :(( > > -- > Andrey A. Belkin > [EMAIL PROTECTED] > &g

Re: Disabling auto-off ?

2002-11-20 Thread Gavin Maxwell
RTM. Prototype UInt16 SysSetAutoOffTime (UInt16 seconds) Parameters seconds Time out in seconds, or 0 for no time out. Gavin. Christian Vandendorpe <[EMAIL PROTECTED]> wrote in message news:101950@palm-dev-forum... > > Does anyone know how to temporarily disabling the device auto-off ? > > Than

Re: How to append NULL-char to string?

2002-11-20 Thread Gavin Maxwell
I think you'll find your strings probably are already terminated... why do you say they are not? StrLen only works on terminated strings because it uses the terminator to stop the count!! Gavin. Michel.P <[EMAIL PROTECTED]> wrote in message news:101929@palm-dev-forum... > > > Are your field1 an

Re: PRC-Tools problems..

2002-11-20 Thread Gavin Maxwell
news:101915@palm-dev-forum... > > There's a tools forum?! > > > "Gavin Maxwell" <[EMAIL PROTECTED]> wrote in message > news:101807@palm-dev-forum... > > > > Isn't this sort of commentary better off in the tools forum...? > > > > &g

Re: Menus, pre PalmOS 3.5

2002-11-20 Thread Gavin Maxwell
This is what I do... in my form event handler I have the following: case winEnterEvent: if ( eventP->data.winEnter.enterWindow == (WinHandle)FrmGetFormPtr( FORMID ) && eventP-> data.winEnter.enterWindow == (WinHandle)FrmGetFirstForm() ) { gStopDrawing = false; } break; case

Re: How to draw a line, since WinDrawLine says... nothing actually! :-)

2002-11-20 Thread Gavin Maxwell
It's *not* WinDrawLine causing the problem - it's WinSetForeColor. How do I know this? I simply looked up the trap address referred to in the error message... why did you think it was WinDrawLine causing the problem?? FYI, WinSetForeColor is in OS3.5 and above only... and if you are trying to draw

Re: PRC-Tools problems..

2002-11-20 Thread Gavin Maxwell
Isn't this sort of commentary better off in the tools forum...? Cheers, Gavin. Joe Siebenmann <[EMAIL PROTECTED]> wrote in message news:101773@palm-dev-forum... > > Hi All, > > Just wanted to give everyone an update. > > After I reinstalled Cygwin/PRC-TOOLS from scratch, my makefile seemed > to

Re: sysNotifySyncStartEvent on PalmSim

2002-11-19 Thread Gavin Maxwell
Bah! Never mind... it's one of those "time for bed" bugs...! ;-) Cheers, Gavin. Gavin Maxwell <[EMAIL PROTECTED]> wrote in message news:101668@palm-dev-forum... > > Has anyone tried using sysNotifySyncStartEvent on the T|T Sim? I don't seem > to be receiving i

sysNotifySyncStartEvent on PalmSim

2002-11-19 Thread Gavin Maxwell
Has anyone tried using sysNotifySyncStartEvent on the T|T Sim? I don't seem to be receiving it. I've successfully registered for it, but when I do a sync it doesn't seem to fire...?? Cheers, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://ww

Re: debug

2002-11-18 Thread Gavin Maxwell
Nah, no need to do that - I've written a million (almost) SF extensions and debugged them all using the extension PRC... I even debugged the TCP/IP extension that Puma ship with SF using POSE (yup I wrote that for them). You can debug the extension as you would any app, install some breakpoints, h

Re: How to get the size of palm free memory?

2002-11-17 Thread Gavin Maxwell
Actually, you can use MemHeapFreeBytes for both dynamic and storage memory... it all depends on the heapID parameter that you pass it... :-) G. Aaron Ardiri <[EMAIL PROTECTED]> wrote in message news:101448@palm-dev-forum... > > > I've always found the documentation to be frighfully helpful in ca

Re: How to get the size of palm free memory?

2002-11-17 Thread Gavin Maxwell
I've always found the documentation to be frighfully helpful in cases like this... for instance, if you were to take a look a the Memory Manager chapter you'd find a function called MemHeapFreeBytes... and bugger me if it doesn't give you the answer you're looking for... More often than not a 20 s

Re: SMS for OS 4.1

2002-11-16 Thread Gavin Maxwell
You can use the exhange mgr - that's what the SMS app uses. The other way is to use the SMS API which is part of the Telephony Mgr - works just great. If you need help with this contact me off-list and I can shoot you some code. Cheers, Gavin. Balaji S <[EMAIL PROTECTED]> wrote in message news:1

Re: POS5.0 and notificationproblem

2002-11-14 Thread Gavin Maxwell
Hi Mikael, I've got something working (finally!) that does exactly this... drop me a line and I'll try to help you out. Cheers, Gavin. Mikael Nilsson <[EMAIL PROTECTED]> wrote in message news:100803@;palm-dev-forum... > > Hi, > > I'm having some problems using notifications (instead of traps in

Re: PalmOS 5 Simulator and hardkeys

2002-11-14 Thread Gavin Maxwell
I don't think they can be shown, but you can use F1 - F4 to mimic them... Gavin. Henk Jonas <[EMAIL PROTECTED]> wrote in message news:101041@;palm-dev-forum... > > Anybody knows how to show the hardbuttons on the simulator? > > Henk > -- >

Re: GSM Api

2002-11-11 Thread Gavin Maxwell
I assume you mean the Telephony API which is part of OS 4 and above. Cheers, Gavin. Louis <[EMAIL PROTECTED]> wrote in message news:100678@;palm-dev-forum... > > I believe there is a GSM api in PalmOS. Is this correct? If so, which > version is it in? > > Thanks > > > > -- For information on

Re: [Q] Tables

2002-11-10 Thread Gavin Maxwell
Use a custom table item and you'll get the best of both worlds... it will work and be read-only...! :-) G. Slava V. [work e-mail] <[EMAIL PROTECTED]> wrote in message news:100569@;palm-dev-forum... > > Hello All! > > I'm in deadlock. Help someone!!! > > All I need is show read-only information i

Re: Sony NX70 Emulator/SDK and Sony HiRes vs OS5

2002-11-10 Thread Gavin Maxwell
Has anyone else found the Sony Sim to be very very unstable? (under Win2K Pro)... In an hour it crashed about a dozen times... G. Steve Bennett <[EMAIL PROTECTED]> wrote in message news:100582@;palm-dev-forum... > > They've posted the SDK and Simulator on eh US site now. > > "Kenneth S. Rhee" <[

Re: word alignment

2002-11-10 Thread Gavin Maxwell
Your compiler will/should handle this for you... However, what's wrong with a MemMove (memcpy) to copy a structure?? G. Larry <[EMAIL PROTECTED]> wrote in message news:100648@;palm-dev-forum... > > Hi, All, > > I have a question about 16bit word alignment. Suppose I have a structure > that the

Re: I can beam but how do I send (SMS & Bluetooth)

2002-11-07 Thread Gavin Maxwell
Hi Mike, You just need to supply to right prefix and exchange mgr handles the rest magically for you. I have a routine defined as below, I then simply call it with either SendMe( exgBeamPrefix ) for beaming, or SendMe( exgSendPrefix ) for Sending (currently SMS and BT). The rest of the code is fro

Re: Play wav file in OS5

2002-11-05 Thread Gavin Maxwell
There's an example in the OS5 SDK called "Waves"... :-) Cheers, Gavin. Danny Wong <[EMAIL PROTECTED]> wrote in message news:100140@;palm-dev-forum... > > HI, > > Where can I get example code to play wav files or > voiceMemo files for OS5? > > thanks > > -- For information on using the Palm D

Re: Tungsten - Will M5xx series modems still attach to it ?

2002-11-05 Thread Gavin Maxwell
t Loh MD FACC FAHA FCCP FACP > Ventura Heart Institute > 2230 Lynn Road, Suite 320 > Thousand Oaks, CA 91360 > > Office: 805.497.2501 > Fax: 805.497.2901 > [EMAIL PROTECTED] > > > > on 11/4/02 13:08, Gavin Maxwell at [EMAIL PROTECTED] wrote: > > > Yup, fits qui

Re: Exchange Manager and wireless communications

2002-11-04 Thread Gavin Maxwell
Most cellphones with IR do indeed support OBEX - it all depends on the phone to be honest... my T39 sure does - I can send it appointments, address book and to do records from my Palm direct to my phone. Alexandre, the code in the Datebook sample that uses ExchangeMgr will work just as well for ph

Re: 5 way navigation in Tungsten device

2002-11-04 Thread Gavin Maxwell
Hey Stephen, Well, that's where the info was/is available from... :-) G. Stephen Best <[EMAIL PROTECTED]> wrote in message news:99970@;palm-dev-forum... > > >> How can I handle events from 5 navigation keys in Tungsten device? > > > If such a device did exist you'd most likely have to get this

Re: Tungsten - Will M5xx series modems still attach to it ?

2002-11-04 Thread Gavin Maxwell
Yup, fits quite nicely... Cheers, <[EMAIL PROTECTED]> wrote in message news:99988@;palm-dev-forum... > > Hi, > > Does anyone know if the Palm M5xx modem cases attach to the tunsten. I know > the connector is the same, but what about the rest of the physical > connection. > > Regards, > > Richard

Re: Source code for Voice Memo application?

2002-11-03 Thread Gavin Maxwell
The source is provided for the datebook etc, because they are part of the standard OS drop licensees receive. The Voice memo app was written by Palm, Inc (not Palmsource) as far as I know - hence it's not part of the OS 5 SDK. You'd have to contact the Palm, Inc dev support people - but I doubt ver

Re: 5 way D-pad

2002-10-30 Thread Gavin Maxwell
Not sure if that info is public yet... it has been available through the Palm PluggedIn Program for some time now however... Gavin. Nemanja Bondzulic <[EMAIL PROTECTED]> wrote in message news:99615@;palm-dev-forum... > > Hello all. > > Does anybody knows, how can I read "The Navigator" (5 way

Re: Linking two versions of the same static library

2002-10-27 Thread Gavin Maxwell
What about creating 2 seperate, hidden applications. Each is linked to a different version of the static lib, and each responds to launch codes to call functions in the static lib it is linked with. Then your main app simply sends launch codes to either of the 2 apps... Would that work?? Gavin.

Re: 5 way navigation in Tungsten device

2002-10-25 Thread Gavin Maxwell
If such a device did exist you'd most likely have to get this sort of information from a program such as Palm's PluggedIn program... Gavin. Alexander Galkin <[EMAIL PROTECTED]> wrote in message news:99332@;palm-dev-forum... > > How can I handle events from 5 navigation keys in Tungsten device?

Re: about memory leaks!

2002-10-25 Thread Gavin Maxwell
Correct, Gremlin logs go into the particular folder for each run, but normal logs are stored with the executable. Gavin. Oliver <[EMAIL PROTECTED]> wrote in message news:99290@;palm-dev-forum... > > > The log file is in the same folder as the > > POSE executable (at least on my system it is). >

Re: Palm Datebook questions

2002-10-25 Thread Gavin Maxwell
data. > > Thanks to all who replied with info. > --- Gavin Maxwell <[EMAIL PROTECTED]> wrote: > > Detect the OS you are running on and do the > > appropraite thing. > > > > Pre-4.0 -> go straight to the database. > > 4.0+ -> use the Exchange Mgr.

Re: about memory leaks!

2002-10-25 Thread Gavin Maxwell
The log file is in the same folder as the POSE executable (at least on my system it is). WinCreateOffscreenWindow *allocates memory*... you have to free this when you are done with it. Gavin. dplswift <[EMAIL PROTECTED]> wrote in message news:99228@;palm-dev-forum... > > > I am debugging my dem

Re: Palm Datebook questions

2002-10-24 Thread Gavin Maxwell
Detect the OS you are running on and do the appropraite thing. Pre-4.0 -> go straight to the database. 4.0+ -> use the Exchange Mgr... The Datebook file on the desktop is a streamed MFC file - whose format is not documented (last time I looked anyway) - your best bet would be option B. Cheers,

Re: Problem with a big pdb

2002-10-16 Thread Gavin Maxwell
The standard way to handle this issue is to combine as many logical records into one real database record (ie as close to the 64kb limit as you can). This will improve your HotSync speed dramatically. There are products around like pdbcruncher which help you achieve this. Cheers, Gavin. Dragomi

  1   2   3   >