Re: Create a .lib file in Metrowerks for PALM OS

2005-12-09 Thread Eric Potter
Vibodh Johari wrote: Hi I am using Metrowerks CodeWarrior for my application Development on PALM OS. My requirement is to build a .lib file or a .dll rather than a .prc file . How can I make this possible in metrowerks or I have to buy a new IDE for it. Is someone having a prior experience for

Re: Checking for a camera

2005-11-18 Thread Eric Potter
Is there any reason that this code wouldn't work? if (DmFindDatabase(cardNo,kCameraLibName) != 0 || DmFindDatabase(cardNo,kCamLibName) != 0) { hasCamera = true; } I realize that if the camera does need to be loaded, I've created extra work

Checking for a camera

2005-11-17 Thread Eric Potter
I need to test to see if the device that my app is running on has a camera. Is there a way to do this other than attempting to load the library? I would prefer not to since I need to check this in all situations and the camera will only get used in a few situations. -- For information on using

Old versions of Palm Desktop

2005-11-15 Thread Eric Potter
Is there a place where I can get old versions of Palm Desktop? A user reported a bug with my install in the Zire 31 version of Palm Desktop, but I don't have a copy of that and can't find a copy of it either. -- For information on using the PalmSource Developer Forums, or to unsubscribe,

Saving pictures

2005-11-02 Thread Eric Potter
I am capturing pictures based on the code in the SDK sample CameraV3. That part works fine. But I'm stuck trying to find a way to save them. I can't put an image in a normal database record because they are too large. Is there a way to store them with the Photo Library? Should I write them to

Re: To deactivate hardware buttons:

2005-10-28 Thread Eric Potter
babbu cathy wrote: Hi all, Can anyone please help me on this? How to deactivate the Hardware buttons for Treo through programmatically? Can anyone give me Code structure or example code with details? cathy. __ Yahoo! FareChase: Search

hot syncing many devices

2005-10-03 Thread Eric Potter
For development purposes, I need to be able to Sync with a lot of devices. I recently installed the most recent version of Palm Desktop and now I can Hot Sync my Clie's and Visor's. Is there a way to setup hotsync to work with all devices? -- For information on using the PalmSource Developer

build-prc and Palm OS Debugger

2005-09-22 Thread Eric Potter
I'm building an app with the prc-tools. When I go to debug it with Palm OS Debugger, it can't find any of the symbols. Is there something that I need to pass to build-prc so that the debugger can find the symbols? Or is it impossible to debug prc-tools based apps with the Palm OS debugger?

Re: build-prc and Palm OS Debugger

2005-09-22 Thread Eric Potter
Ton van Overbeek wrote: On 2005-09-22, Eric Potter [EMAIL PROTECTED] wrote: I'm building an app with the prc-tools. When I go to debug it with Palm OS Debugger, it can't find any of the symbols. Is there something that I need to pass to build-prc so that the debugger can find the symbols

problem with PODS and segments

2005-09-12 Thread Eric Potter
I have a standard makefile PODS app. I recently needed to add a second code segent. In section.h I added: #define EXTRA_SECTION_ONE __attribute__ ((section (code2))) #define EXTRA_SECTION_TWO __attribute__ ((section (code3))) In my def file, I added: multiple code { code2 code3} In one of

Re: GLib with CodeWarrior

2005-09-06 Thread Eric Potter
it be possible for me to get access to this code? Thanks Eric Potter -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: 5-way navigation button of the Tungsten E2

2005-08-22 Thread Eric Potter
George wrote: Hello, Recently, we received reports that our products do not support Page Up/Page Down of the 5-way navigator on the Tungsten E2 device. Page Up/Page Down, however, work on the E2 Simulator. 1. Has anyone else encountered this problem and what's the reason for it? 2. How can

Re: FrmNewForm, FrmDoDialog, and FrmSetNavState

2005-08-11 Thread Eric Potter
mguo wrote: set focus first, then draw the form. Were implying that I do this? if (eventP-data.ctlSelect.controlID == Button8) { FormPtr pFrm = FrmInitForm(TestModalForm); FrmSetEventHandler(pFrm, ModalFormEventHandler); //If you make this call here. It will

Re: FrmNewForm, FrmDoDialog, and FrmSetNavState

2005-08-11 Thread Eric Potter
Regis St-Gelais wrote: Eric Potter [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] In my application, I create a new form with FrmNewForm, setting the modal flage to true. I display it with FrmDoDialog. But when I run it on the T5, the focus ring is not drawn. I though

FrmNewForm, FrmDoDialog, and FrmSetNavState

2005-08-10 Thread Eric Potter
In my application, I create a new form with FrmNewForm, setting the modal flage to true. I display it with FrmDoDialog. But when I run it on the T5, the focus ring is not drawn. I though all Modal forms had the focus ring on by default. Is this a bug/loop-hole in the OS? As a work around, I

Re: BIGBUTTON keyword in PilRC

2005-07-19 Thread Eric Potter
Ben Combee wrote: At 01:30 PM 7/18/2005, you wrote: What about the JUMPOBJECTID and BOTTOMLEFTOBJECTDID keywords? What do they do? Nothing at this time. They were put into the data structure for possible future use. These are all documented in the palmOne Developer Guide in the

Re: treo 650 wont boot

2005-07-18 Thread Eric Potter
Scott Erickson wrote: Ive tried that. It gives the same result, it just sits at the Palm Powered logo. Have you done a no notify reset? That might help. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

BIGBUTTON keyword in PilRC

2005-07-18 Thread Eric Potter
I'm putting some navigation resources in my app. I was reading the PilRC docs on how to do this. Can someone please tell me what the BIGBUTTON keyword does? I used in on a form as a test and it didn't seem to do anything. I'm using the latest PilRC and CodeWarrior 9.3. Eric -- For

Re: BIGBUTTON keyword in PilRC

2005-07-18 Thread Eric Potter
Ben Combee wrote: At 11:18 AM 7/18/2005, you wrote: I'm putting some navigation resources in my app. I was reading the PilRC docs on how to do this. Can someone please tell me what the BIGBUTTON keyword does? I used in on a form as a test and it didn't seem to do anything. I'm using the

checking for a microphone

2005-07-15 Thread Eric Potter
I've got an app that records sounds with the SndStreamCreateExtended API. The sample code has a function called PalmSGHasExtendedSampledSound that checks for the for the existence of the right hardware. The problem is that that function returns true for the T|T5 because it has sampled sound,

storing and retrieving images taken by the camera

2005-07-11 Thread Eric Potter
From looking at the CameraSample code, I've figured out how to capture an image taken with the camera. But how do I store the image and retieve it later? I've read in the archives that I can't just write the Bitmap structure to the database because the bits are stored outside the structure.

camera library

2005-06-28 Thread Eric Potter
I'm about to start on an application that uses the camera on the devices that have them. I am a bit confused about the differences in the camera libraries. The developers guide that comes with the PalmOne SDK 5 talks about V2 and V3 of the camera library. The API guide talks about the Camera

Re: Need info on USB on Palm.

2005-06-24 Thread Eric Potter
Deepak.MA wrote: There is a dll in the hotsync directory called USBport.dll. If you look at the source for the POSE rom transfer utility, you can see how to use it. If you seach the archives of this forum and the the comm-dev forum, you can find further discussion on this. I do not see the

Re: Need info on USB on Palm.

2005-06-23 Thread Eric Potter
Deepak.MA wrote: Hi, I need to establish a communication between my PC and a certain device running PalmOS5.4 over USB. I don't intend to use the HotSync facility but, need to use the USB facility on the device to facilitate file transfers between the two ends. Best Regards Deep.

Re: Automation on Palm OS Simulator

2005-06-23 Thread Eric Potter
Deepak.MA wrote: Hi, Along with the simulator for PalmOs, there is folder containing perl scripts. Could somebody share his experiences of using the same for test automation purposes, or any pointers if it is at all possible for any automation on the simulator or hardware.

Re: odd compiler error

2005-06-23 Thread Eric Potter
Eric Potter wrote: I'm using CodeWarrior 9.2, and I'm getting a strange compiler error. The following line of code compiles fine in the debug target, but gives the following message in the release target. const sclRepeat scrollRepeat = pEvent-data.sclRepeat; Error : 'const

odd compiler error

2005-06-21 Thread Eric Potter
I'm using CodeWarrior 9.2, and I'm getting a strange compiler error. The following line of code compiles fine in the debug target, but gives the following message in the release target. const sclRepeat scrollRepeat = pEvent-data.sclRepeat; Error : 'const' or '' variable needs initializer

voice recorder

2005-06-10 Thread Eric Potter
I'm attempting to write an application that can record voice memos. I need it to work without using a VFS drive. I've looked at the MiniADPCM example, but I don't want to rely on the MP3 library. As Katie Siek requested yesteday, it would be great to be able to see the source for the voice

On device debugging and LifeDrive Manager

2005-06-07 Thread Eric Potter
Ever since I install the LifeDrvie Manager desktop software, I havn't been able to debug on a device. I am using Code Warrior and I'm trying to debug on a T3 over USB. I run Dot-Dot-Two on the device, but CW never connects to it. Has anyone else seen this. Is there a work around? Eric -- For

Re: Requirement for USB PDA

2005-06-02 Thread Eric Potter
vibodh johari wrote: Hi Is anyone who has worked on Zire21 PDA ? Can any one tell me , after doing HOT SYNC form the PC , how can I be able to take data ( with the USB port in PDA for my application that I had loaded to it at the time of Hot Sync ) from a non PC based Device. The device

Emul68KCommon.c, Line:1683, Entry already in use

2005-05-06 Thread Eric Potter
When I drive my application in the simulator with a perl script, occasionally I get an error that says Emul68KCommon.c, Line:1683, Entry already in use. I've never seen the error outside of the scripting situations. Can anyone tell me what is causing this error? Is it a flaw in my app that

Certification Exam

2005-04-14 Thread Eric Potter
I;m planning on taking the certification exam next month at the developers conference. I was wondering, are there going to be any cobalt questions on the exam? Does anyone have any other tips on preperation? I've got 3 years exprience in the 68K environment, so I should have that covered. --

Re: Creating CSV files

2005-04-13 Thread Eric Potter
ULStudent:Robert.Conlon wrote: Hi, I have created an application that contains alphanumeric tabular information as well as graphs. When synchronising with a PC the data should be transferred in ASCII format as a CSV file that can be imported into other applications such as Excel or Matlab.

Displaying the Sending Message message

2005-04-13 Thread Eric Potter
On the Treo 600 SMS application, when you send a message, a little box appears with the text Sending Message. Does anyone know how they are doing that? Is that a little form that is displayed? Is it some control? Is there a code sample somewhere? -- For information on using the Palm Developer

Re: FrmSetDIAPolicyAttr on the T3

2005-04-05 Thread Eric Potter
Ben Combee wrote: At 04:18 PM 4/4/2005, you wrote: When I call FrmSetDIAPolicyAttr on the T3, I get a Sys 0505(0, 1136) error. An erlier post said that this error was related to handling a collapsible input area on a device that does not have one. But the T3 does have a collapseable input area.

FrmSetDIAPolicyAttr on the T3

2005-04-04 Thread Eric Potter
When I call FrmSetDIAPolicyAttr on the T3, I get a Sys 0505(0, 1136) error. An erlier post said that this error was related to handling a collapsible input area on a device that does not have one. But the T3 does have a collapseable input area. Any ideas on why I am getting this error? -- For

Extended Sound vs Sampled Sound

2005-03-16 Thread Eric Potter
Is there a difference between the Extended Sound functionality described in the T|T SDK sample code and the Sampled Sound functions defined in the Palm OS 5.4 API reference? If they are different, which one should I use when developing for a T3? Eric -- For information on using the Palm

Re: Seeking bespoke Palm OS developer / quote

2005-03-14 Thread Eric Potter
Callum Macdonald wrote: Hi There, We're looking to develop an application for Palm OS and seeking developers to discuss the project with and get quotes from. If this isn't the place to find developers, can anyone suggest where I could find Palm OS developers? It's a fairly simple database

Re: how to debug application on Treo

2005-03-08 Thread Eric Potter
Awana, Abhishek wrote: Does anyone know how we can debug application on Treo device? Please helpi know how to do it on Palm PDA's but not for Treo. If it is a treo 650, you will want to read http://palmos.combee.net/. -- For information on using the Palm Developer Forums, or to

Detecting the handspring/treo phone library

2005-03-03 Thread Eric Potter
I'm tryigng to detect if my application is running on a treo or not. I tried to use the code in the SimpleSMS application, but it looks for hsSelIndicator, and my treo600 says it doesn't have it. Is there some ftr enumeration I can check for? -- For information on using the Palm Developer

Re: Trace statements from device

2005-03-03 Thread Eric Potter
Eythor wrote: Is it possible to view trace statements (a la Palm Reporter) from execution on a device instead of just the sim/emul.? Is the Palm Debugger the only available route or is there a workaround for the HostTraceOutput calls on a device? Thanks, Eythor There is a library over at

empty popup trigger

2005-02-21 Thread Eric Potter
In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've never see the problem in the simulator. The problem only happens

Re: empty popup trigger

2005-02-21 Thread Eric Potter
Henk Jonas wrote: Eric Potter wrote: In my application, I am setting the text of a popup trigger with the CtlSetLabel function. Occasionally, on a T3, the field will be blank when the form is drawn, the trigger is blank. I can verify that the string is valid. I've never see the problem

Focus ring

2005-02-09 Thread Eric Potter
I got my first T5 recently. One of the first things I noticed was that on all of my modal forms, a button is given the focus ring. How does the palm decide which button gets the focus? Is it possible to not give the focus to a button? Is it possible to control this in the resource file? The

Re: Replacing password with asterisks in text field?

2005-02-09 Thread Eric Potter
Robert Baruch wrote: Hi all, Does anyone know a way of having asterisks appear in a text field when a user types in a password? Specifically for the 68k API, not Protein. Thanks! --Rob One quick and dirty trick that I have done is to set the font of the field to one of the symbol fonts. That

createing pdb records on the desktop

2005-01-27 Thread Eric Potter
hotsync the simulator, since all the records have the same ID. Is there a way around this. Shold I fill in the id at the risk of going outside the PalmOS scheme of generating IDs? thanks Eric Potter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

libprc.dll and C#

2005-01-12 Thread Eric Potter
I want to create an application that generates a database for my application. I want to use the libprc.dll, but I want to write the application in C#. Has anyone done this successfully? Eric -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: libprc.dll and C#

2005-01-12 Thread Eric Potter
Krzysztof Kowalczyk wrote: I want to create an application that generates a database for my application. I want to use the libprc.dll, but I want to write the application in C#. Has anyone done this successfully? Google doesn't show any links for libprc.dll so you might want to be more specific

POL classes in a not POL app

2004-12-04 Thread Eric Potter
I am writing standard palm application. I would like to use the CDatabase class from POL. Is this possible? I tried simply including POL.h, but this created a whole slew of compilation errors. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Code Warrior problem

2004-10-15 Thread Eric Potter
I have been working on this project for quite some time now. Yesterday, I went to do a build and I got the following error messages: Warning: OS Error The parameter is incorrect (87) Error: Unable to call the command line tool. Check your PATH environment variable. Error : Compile failed All

Re: Where's Palm OS Cobalt

2004-10-04 Thread Eric Potter
YAMADA Tatsushi wrote: TungstenT5 is released finally without Palm OS Cobalt. Where on earth is the device with Cobalt? YAMADA Tatsushi Hacker Dude-san http://simple-palm.com mailto:[EMAIL PROTECTED] Speaking of the new T5, what is up with the new file system? The press release indicates that

SysGetROMToken and sysROMTokenSnum

2004-10-01 Thread Eric Potter
I am getting the serial number of my T3 with the following line of code. error = SysGetROMToken( 0, sysROMTokenSnum, (UInt8**) bufP, bufLen ); When it returns, bufP = 00V5ABE31EMX, but when I look the serial number on the Launcher's Info dialog, the ID is 00V5ABE31EMX-B. What is happening to the

Re: 5-way navigator key codes?

2004-10-01 Thread Eric Potter
Matt Graham wrote: Ben Combee wrote: At 01:15 PM 9/30/2004, you wrote: What are the 5 way navigator key codes? In chars.h it only says vchrPageUp and vchrPageDown but i don't see any left/right/ or select key characters which are on the 5-way. Thanks, Geoff Are you using a recent Palm OS SDK.

Re: 5-way navigator key codes?

2004-09-30 Thread Eric Potter
geoff wrote: Nothing there already looked. - Original Message - From: Henk Jonas [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, September 30, 2004 2:38 PM Subject: Re: 5-way navigator key codes? For Tungsten and Zire go to

Re: Create a PDB file outside of conduit?

2004-09-20 Thread Eric Potter
Grosch, Scott wrote: In a windows application I want to create and save to disk a .pdb file that the user can later install on their handheld if desired. I've got the CDK 6.1 installed, but it appears that I can only create a database during a sync. I want to create one outside of a hot sync

Re: Palm Os Resource Editor

2004-09-16 Thread Eric Potter
, because the instalation of Cygwin broke PODS. Are you using the IDs on the source? Reguards, Rafael Augusto Palm OS Programmer Tamid Tecnologia On Wed, 15 Sep 2004 10:58:06 -0500, Eric Potter [EMAIL PROTECTED] wrote: Bryan Leong wrote: I be try using Palm OS resource Editor to create my resource

Re: Palm Os Resource Editor

2004-09-15 Thread Eric Potter
Bryan Leong wrote: I be try using Palm OS resource Editor to create my resource file but i cant assign a specified name for the object inside the file. for example a button in a form i want to name it OKButton and used this name in my coding. i read the help file it said we assign on Object

Re: Syntax coloring in CW 9

2004-09-15 Thread Eric Potter
Phil Lachmann wrote: One of my projects does not show the syntax cloring for macros, palm keywords etc. I have the 'activate browser coloring' option checked and my other projects show the coloring. What option do I need to look at in my project to activate the coloring? Thanks, Phil. Syntax

Re: Testing and Debugging?

2004-09-10 Thread Eric Potter
Pablo Wablo wrote: Hello, I just started programming in Palm OS Garnet and I need to perform certain tasks that require me to print lengthy information.. Problem is, I only know of WinDrawChars() as of the moment and it certainly won't fit in there. Is there a tool where I can display the

a68k files not being deleted with the app

2004-09-10 Thread Eric Potter
I noticed then when I delete my application from the launchers delete dialog, that the coresponding *_appl_a68k file still exists. Is this a problem? Why isn't it deleted. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Adding Dia support to a legacy Application (CodeWarrior)

2004-08-11 Thread Eric Potter
I'm trying to add DIA support to a legacy application. I downloaded the OS SDK (v5 r3). In code warrior, I change the system access paths to use the new files. When I try to compile, I get an error that says unidefined identifier 'FrmSetDIAPolicyAttr'. If I right-click on the keyword and

Re: Adding Dia support to a legacy Application (CodeWarrior)

2004-08-11 Thread Eric Potter
Is there a way to install the new sdk without altering the old sdk? Ben Combee wrote: At 11:36 AM 8/11/2004, you wrote: I'm trying to add DIA support to a legacy application. I downloaded the OS SDK (v5 r3). In code warrior, I change the system access paths to use the new files. When I try to

Re: palm os versioning scheme

2004-08-03 Thread Eric Potter
Thanks for the info. I've got two follow on questions. 1) Are the bug fixes described somewhere? 2) Does the same versioning scheme apply to HotSync? thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

palm os versioning scheme

2004-07-23 Thread Eric Potter
I realize this is slightly offtopic, but how does palm handle there OS versioning scheme? How do they decide if something is a 0.1 release or a point 0.0.1 release? Is there a rule set? Eric Potter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

libprc and chained headers

2004-07-20 Thread Eric Potter
I created a desktop app to create pdb files for my palm application. To create the record I used the libprc library that comes with par. Libprc is a great library, but I do have one problem. When I create very large databases, the resulting pdb file has chained headers. We would like to aviod

closing multiple dialogs and the event handler

2004-06-24 Thread Eric Potter
In my application, there is a case where I can have one modal dialog on top of another modal dialog. When I try to close both of them programatically, I get into a state where the form that is displayed does not have an event handler, even though it is the active form. Is there a way to detect

Re: closing multiple dialogs and the event handler

2004-06-24 Thread Eric Potter
Prakash wrote: Have you tried using FormReturnToForm?? Cheers, Prakash On Thu, 24 Jun 2004 08:07:43 -0500, Eric Potter [EMAIL PROTECTED] wrote: In my application, there is a case where I can have one modal dialog on top of another modal dialog. When I try to close both of them programatically, I

Re: temporily blocking the attention manager

2004-06-18 Thread Eric Potter
SLO Revo News wrote: In my application, I have a need to insure the user doesn't exit the application while they are in the middle of entering a record. A more accepted approach is generally to let the user exit any time they want and just save their partial record when they do. Look at the

temporily blocking the attention manager

2004-06-17 Thread Eric Potter
In my application, I have a need to insure the user doesn't exit the application while they are in the middle of entering a record. So far I have able to block everything except exiting via the attention manager. Is there a way to temporarily restrict the user for accessing the attention

closeing dialog programatically

2004-06-15 Thread Eric Potter
What is the best way to close a form programatically? I am displaying a form with FrmDoDialog. If the user doesn't respond in a certain amount of time, I need to close the dialog. How can I do this. thanks Eric -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Odd address problem with ErrTry

2004-06-08 Thread Eric Potter
Eric Potter wrote: I found a bug in my code, where in certian senarios, when i get to an ErrTry, it throws the following error: i:\banzai\arm\core\emul68k\src\emul68kcommon.c, Line:562, Odd address In most casses, the line of code executes fine, but I one case it blows up. I researched

Re: Palm OS Developer Suite 1.0 Alpha Available

2004-06-05 Thread Eric Potter
Ben Combee wrote: PalmSource is pleased to announce the availability of the alpha-testing release of Palm OS Developer Suite (PODS), version 1.0. This is a new collection of tools supporting software development for Palm OS Cobalt and Palm OS Garnet. You can download this release from

Odd address problem with ErrTry

2004-06-04 Thread Eric Potter
other people that have had this problem, but no solutions have been posted. Has anyone figured this one out? Eric Potter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: blocking the carriage return when the keyboard is displayed.

2004-04-08 Thread Eric Potter
is a keyDownEvent - if it is, check wether the key is the CR return (check docs / google) If both tests are true, simply skip the rest of the loop, for instance by using continue. Good luck, Caspar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Potter Sent

blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Eric Potter
Is it possible to block the carriage return character when the keyboard is displayed? I was looking at Keyboard.h and there are a bunch of functions that aren't documented, so I don't know what they do. I see there is a #define for the return key, but I don't know if or how I would use this

Re: blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Eric Potter
Matt Graham wrote: Eric Potter wrote: Is it possible to block the carriage return character when the keyboard is displayed? I was looking at Keyboard.h and there are a bunch of functions that aren't documented, so I don't know what they do. I see there is a #define for the return key, but I

NilEvents on Modal Dialogs

2004-03-29 Thread Eric Potter
Is there a way to modify how often you recieve NilEvents while a Modal Dialog is displayed? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Has anyone been able to download the Cobalt simulator yet?

2004-02-13 Thread Eric Potter
If so, where? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SysNotifyRegister and memory leaks

2004-02-05 Thread Eric Potter
If I pass a data pointer to SysNotifyRegister, when does that memory get freed? Do I need to get it and free it when I call SysNotifyUnregister or does SysNotifyRegister make a copy of it, thus allowing me to free it imediatley after I call SysNotifyRegister? -- For information on using the

regionalized version of __DATE__

2004-01-29 Thread Eric Potter
Is there a slick way of getting a regionalized version of the __DATE__ macro? I am thinking that I am going to have to parse the string and convert it to DateType. Does anybody have any better ideas? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

printing from a Palm app

2004-01-14 Thread Eric Potter
I'm looking into some printing options for my palm app. For bluetooth printing, I am thinking about using PrintBoy. Are there any good alternatives? I am also looking at useing a PP-50 thermal printer. Is there any reason I should think about using something else? Does anybody have any good

which devices can send sms messages?

2004-01-14 Thread Eric Potter
Is there a list somewhere of the devices that have the ablilty to send sms messages? If I had to guess I would say all of the treos, the kyeocra 7100, and the bluetooth devices, but I don't know. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Memory filling tool

2003-12-18 Thread Eric Potter
Is there a tool out there somewhere that fills all of the memory, so that there is no free memory left? I need something like this for my testing. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

shared libriaries and accessing unused portions of the stack

2003-11-17 Thread Eric Potter
I have a rather large shared library. (40K size, 68 entry points). When I compile it with in debug mode it runs fine, but when I compile it in release mode, it crashed when I call certain functions. The eroro message i get is that my application just read from an unused portion of the stack. Since

switching from small to smart code model

2003-11-04 Thread Eric Potter
. Is it possible to have a smart or large code model in a shared library? If so, how do I get around all of the 32-bit reference errors? thanks Eric Potter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: green around bitmap

2003-10-23 Thread Eric Potter
? thanks Markus Dresch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] set the transparent rgb values to green? markus dresch (www.palmside.com) Eric Potter [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] OK, I copied the error bitmap from OS into a resource

alert icons in OS5

2003-10-22 Thread Eric Potter
I know that in OS 4 and lower, you could get the bitmaps for the alert forms, (error, notification, and so on) out of the System DB. But in OS 5, I don't see a SystemDB. Does anyone know where these icons are stored now? -- For information on using the Palm Developer Forums, or to unsubscribe,

green around bitmap

2003-10-22 Thread Eric Potter
OK, I copied the error bitmap from OS into a resource database. Then I opened that database with constructor and saved it as a rsrc file. Then I opened that rsrc file with PilRC designer and added that bitmap to my application. The problem is that when I display the bitmap in my application, the

problem beaming an app and a library from within the app.

2003-10-15 Thread Eric Potter
I am trying to write a function that means the current application and it a shared library. Is this possible? First I send the app then I send the library. When I run the code, the recieving device asks if you want to except the app, but it never says anything about the library. Afterwards, the

T3 documentation

2003-10-08 Thread Eric Potter
Where can I get documentation for developing 320x480 and 480x320 form for the T3? thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MemPtrNew for a class doesn't call the contructor

2003-09-16 Thread Eric Potter
Is there a was to get MemPtrNew to call the contructor when you craete a new class? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: MemPtrNew for a class doesn't call the contructor

2003-09-16 Thread Eric Potter
On Tue, 16 Sep 2003 10:56:35 -0700, Dave Carrigan [EMAIL PROTECTED] wrote: On Tue, Sep 16, 2003 at 12:54:49PM -0500, Eric Potter wrote: Is there a was to get MemPtrNew to call the contructor when you craete a new class? Use the new operator; that's what it's for. When I try and use the new

2 rcp files in one project

2003-09-16 Thread Eric Potter
Is it possible to have use 2 rcp files in one project? If so, is there any thing special I need to do to access bitmaps in the seconardy rcp file? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: MemPtrNew for a class doesn't call the contructor

2003-09-16 Thread Eric Potter
On Tue, 16 Sep 2003 14:22:29 -0700, Dave Carrigan [EMAIL PROTECTED] wrote: On Tue, Sep 16, 2003 at 04:10:33PM -0500, Eric Potter wrote: When I try and use the new operator, I get a Link Error saying, 'operator new(unsigned long)' referenced from 'MyClass::MyFunc' is undefined. What compiler

link error in a c++ shared library

2003-09-08 Thread Eric Potter
I have some code that compiled fine in a standard c++ application, but when I moved it to a shared library, I got a link error that says: Cursor.cpp: 'operator delete(void*)' reference from 'Entry::~Entry()' is undefined. Why is this happening? thanks -- For information on using the Palm

problems with shared libraries and the bundle bit

2003-09-02 Thread Eric Potter
Eric Potter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

determining if you've read past the end of a va_list

2003-09-02 Thread Eric Potter
Is it possible to determine if you've read past the end of a va_list? As far as I can tell, when you go past the end of the list, va_arg returns a pointer that is not NULL, but it is bogus. When this pointer is passed to one of the string api's, the emulator throws a bus error. The value of the

Automated Testing

2003-08-26 Thread Eric Potter
Are there any automated testing products out there that are less expensize than TestQuest Pro but more mature than AutoEmul. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: distinguish between Release and Debug at compile time

2003-08-21 Thread Eric Potter
the code. On Wed, 20 Aug 2003 16:11:41 -0500, Ben Combee [EMAIL PROTECTED] wrote: At 03:30 PM 8/20/2003, Eric Potter wrote: Is the a way to tell wheter the build is a debug or a release build at compile time? I have some code that I want to conditionally compile out for release builds, but I need

Re: distinguish between Release and Debug at compile time

2003-08-21 Thread Eric Potter
Thanks for the tip, but I need something independant of the target name. I am trying to toggle some logging functionality. I may want to have logging in a release build or leave it out. So the control is independant of release or debug. On Thu, 21 Aug 2003 09:54:02 -0400, Regis St-Gelais

  1   2   >