RE: ping

2009-09-23 Thread Chris APERS
Well, haven't coded for palmos for awhile now :(I have to go back to ScummVM and other project... really love ScummVM :)but need some more hours per day for that and a way to never sleep :)Chris From: regis.st-gel...@laubrass.com Subject: ping Date: Wed, 23 Sep 2009 08:31:11 -0400 To:

RE: PalmOS book for sale

2009-07-23 Thread Chris APERS
AS myself, I'm looking for a boxed (or not) Codewarrior for PalmOS v9 - if someone can help? Thanks Chris Date: Mon, 20 Jul 2009 18:26:57 -0700 From: al...@snowmoose.com To: palm-dev-forum@news.palmos.com Subject: PalmOS book for sale I am getting rid of my old Palm programming

RE: Access to the native code layer

2009-01-13 Thread Chris APERS
Well, it really depends on what you want to achieve. Blackberry is one of the worst platform when you want to develop performant applications or games. So what if you want to build one for WebOS if you only have a JS engine ? From: shea...@tiscali.co.uk To: palm-dev-forum@news.palmos.com

Prevent register use

2008-09-19 Thread Chris APERS
Hi, Is it possible with CodeWarriror to prevent a register to be used at compile time? I'd like to be able to prevent this in order for my callbacks to work properly when they need to access globals. With Tapwave SDK I can use __declspec(pce_native_callback) which seems to make things works

RE: How to allocate more than 64KB?

2008-04-22 Thread Chris APERS
If you have only 1.9M there are some chances that you cannot allocate 1M because you may not have a contiguous memory segment which fit in 1M. Date: Tue, 22 Apr 2008 12:46:56 +0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: How to allocate more than 64KB? yes, about 1.9M. But I try to

RE: Symbol is not available

2008-04-21 Thread Chris APERS
You need to include the PalmOSGlue.lib to your project. I don't understand your second question? Date: Mon, 21 Apr 2008 15:37:50 +0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Symbol is not available Hi all: When I call MemGluePtrNew() to alloc memory, it always says Symbol is not

CodeWarriro API

2008-02-29 Thread Chris APERS
Hi, I'd like to know how to use IStream *[ICodeWarriorTarget].GetPreferenceData([in] BSTR panelName). What is the form of panelName, for instance what will be panelName if I want data from Target/PACE Native Object Target? Thanks Chris

RE: CW splitted/zipped resource

2008-02-25 Thread Chris APERS
the original bin file into 64000 byte chunks. The reconstruction is done into RAM by the PNOLoader code provided with CW. On Sun, Feb 24, 2008 at 6:13 AM, Chris Apers [EMAIL PROTECTED] wrote: Hi, I know that CW automatically split ARM code file if it is called ARMC0001.SBIN but does

CW splitted/zipped resource

2008-02-24 Thread Chris Apers
Hi, I know that CW automatically split ARM code file if it is called ARMC0001.SBIN but does it operates as splitter.exe (provided by Palm with VPPI sample in \Metrowerks\CodeWarrior\(CodeWarrior Examples)\Palm OS\Palm Solutions Group Examples\VPPI) ? Does splitter compatible with PNOLoader?

RE: asm code in PODS results in unknown register name r0

2007-09-27 Thread Chris APERS
Hi, r0 is an ARM register and you cannot compile ARM assembly with a 68k compiler. It seems that you are not using the correct application template to build an ARM application. Chris From: [EMAIL PROTECTED] To: palm-dev-forum@news.palmos.com Subject: asm code in PODS results in unknown

Problem using PODS

2006-10-29 Thread Chris Apers
Hi, I'm trying to use PODS but it failed to compile a simple 68k project. - I have a installed cygwin env. - I have installed prc-tools with cygwin setup - I have installed PODS v1.2 - I have generated a simple 68k Hello World project with default options Then I have the following errors: -

Re: Problem using PODS

2006-10-29 Thread Chris Apers
Chris Apers wrote: Hi, I'm trying to use PODS but it failed to compile a simple 68k project. - I have a installed cygwin env. - I have installed prc-tools with cygwin setup - I have installed PODS v1.2 - I have generated a simple 68k Hello World project with default options Then I have

GCC ASM code in CW

2006-10-29 Thread Chris Apers
Hi, I need to compile GCC ASM code in code warrior, is this possible? Thanks Chris . -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

New operator lost ?

2006-09-03 Thread Chris Apers
Hi, Since the first version of my app, which can be compiled in Zodiac or OS5 mode, I use custom new/delete operators (some classes require more than 64k). But now I have remake a brand new project file with the same files (I had unsolvable errors due to project file corruption) those custom

std functions

2006-06-03 Thread Chris Apers
Hi, I'd like to use some std functions (strtol, strtoul, sscanf,.) but it seems that the 68k MSL C++ doesn't include them. Any way to use those? Thanks Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Pilrc not found ?

2006-02-26 Thread Chris Apers
Hi, I have moved my CW project to a new location and now I have the following error when I try to compile a *.rcp file : Warning : OS Error Paramètre incorrect. (87) Error : Unable to call the command line tool. Check your PATH environment variable. Error : Compile failed any idea ?

Re: CW error

2006-02-25 Thread Chris Apers
Well, I'm using CW 9.3, I have this error with the 68k compiler, works fine with teh ARM one - Original Message - From: Ben Combee [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Friday, February 24, 2006 11:19 PM Subject: Re: CW error On 2/24/06, Chris

CW error

2006-02-24 Thread Chris Apers
Hi, I have the following error : Link Error : internal linker error; line: 1289 file: 'Linker.c' Any idea ? Thanks Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Unable to debug

2006-01-22 Thread Chris Apers
Hi, I'm trying to debug directly on Zodiac using a serial cable and a PCI serial card. I set the debugger to communicate with device using COM5 but I have a Invalid descriptor error when I press the debug button in CW. Any idea ? Thanks Chris -- For information on using the PalmSource

RE: Sound

2006-01-05 Thread Chris Apers
Did you check your callback ? Problem should be there. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé : jeudi 5 janvier 2006 17:09 À : Palm Developer Forum Objet : Sound Hi! I have some problem with Sampled sound. My

RE: Stupid question - quitting my app...

2005-12-28 Thread Chris Apers
EventType event; event.eType = keyDownEvent; event.data.keyDown.chr = vchrLaunch; event.data.keyDown.modifiers = commandKeyMask; EvtAddUniqueEventToQueue(event, 0, true); -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé :

RE: Function Pointers in multi segmented application

2005-12-27 Thread Chris Apers
Perhaps a small problem with invalid memory access or so. What do your function ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de cp Envoyé : mardi 27 décembre 2005 11:55 À : Palm Developer Forum Objet : Function Pointers in multi segmented application

T3 DIA problem

2005-12-20 Thread Chris Apers
Hi, I'm trying to hide/show the DIA on a T3 but I always get a crash :( After application initialization I do : WinSetCoordinateSystem(kCoordinatesStandard); StatShow(); PINSetInputAreaState(pinInputAreaOpen); WinSetCoordinateSystem(kCoordinatesNative); after the game starts, the

5way detection

2005-12-16 Thread Chris Apers
Hi, I'm want to be sure to detect 5way navigator with the correct version, but there is so many way to detect it, what is the good one and teh difference between : FtrGet(navFtrCreator, navFtrVersion, version); FtrGet(sysFtrCreator, sysFtrNumFiveWayNavVersion, version) FtrGet(hsFtrCreator,

Re: GMT convertion

2005-11-14 Thread Chris Apers
= (unsigned char)dt.minute; ss = (unsigned char)dt.second; ... Chris Apers wrote: Hi, Is this the good way to do this ? if (romVersion = sysMakeROMVersion(4,0,0,sysROMStageRelease,0)) secs += (PrefGetPreference(prefTimeZone) + PrefGetPreference(prefDaylightSavingAdjustment)) * 60

Re: Assembler help needed

2005-11-09 Thread Chris Apers
); } \ __result; \ }) But doesn't seems to works. Any idea ? Thanks - Original Message - From: Chris Apers [EMAIL PROTECTED] To: PACE Native Object Forum [EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 12:40 PM Subject: Assembler help needed Hi, I'm trying to convert some

prefDaylightSavingAdjustment

2005-11-07 Thread Chris Apers
Hi, It seems that PrefGetPreference(prefDaylightSavingAdjustment) always return amount in minutes even if we are not in the saving period. Can someone confirm me this and must I check if we are in the saving period to add PrefGetPreference(prefDaylightSavingAdjustment) or is there a easier way ?

GMT convertion

2005-11-07 Thread Chris Apers
Hi, Is this the good way to do this ? if (romVersion = sysMakeROMVersion(4,0,0,sysROMStageRelease,0)) secs += (PrefGetPreference(prefTimeZone) + PrefGetPreference(prefDaylightSavingAdjustment)) * 60; else secs += (PrefGetPreference(prefMinutesWestOfGMT) - 720) * 60; // no sure about

FtrSet FtrGet

2005-10-01 Thread Chris Apers
Hi, If I set a feature in 68k with FtrSet do I need to ByteSwap it or FtrGet called from ARM will perform the ByteSwap ? Thanks Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: alloca implementation ?

2005-09-25 Thread Chris Apers
At 01:46 PM 9/24/2005, you wrote: Hi, Is there an alloca equiv with codewarrior ? __alloca will work if prototyped correctly. works, thanks :) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

alloca implementation ?

2005-09-24 Thread Chris Apers
Hi, Is there an alloca equiv with codewarrior ? Thanks Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

.ctors and .dtors in 68k code ?

2005-09-09 Thread Chris Apers
Hi, I'm trying to understand how .dtors and .ctors are handled in 68k code so that i can try to apply the process to ARM (which seems to not support global object construtors), but the MAP file don't contain them. so, how does it work ? Thanks Chris -- For information on using the PalmSource

RE: .ctors and .dtors in 68k code ?

2005-09-09 Thread Chris Apers
Hi, I'm trying to understand how .dtors and .ctors are handled in 68k code so that i can try to apply the process to ARM (which seems to not support global object construtors), but the MAP file don't contain them. In CW 68K files, 1) all of the constructors from a source file are called from a

PACE and Hi density API

2005-08-31 Thread Chris Apers
Hi, Is it possible to extend PACE with hi-density HIGH_DENSITY_TRAP as done with SYS_TRAP and PceNativeTrapNo(trap) ? If yes, how ? Thanks a lot Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MSL and ARM

2005-08-31 Thread Chris Apers
Hi, Is there a MSL lib for ARM ? I tried the Tapwave one but i have the following error : Link Error : Undefined : __upper_mapC Referenced from GUI::Dialog::handleKeyDown(unsigned short, int, int) in dialog.cpp Any idea how to fix this ? Thanks a lot Chris -- For information on using the

WinPalette and 16bit mode

2005-07-04 Thread Chris Apers
Hi, I need to draw a bitmap from an 8bit offscreen window which need a custom palette into a 16bit screen, but WinPalette seem to set the palette in this mode only on Zodiac. Is there a way, to fix this ? I tried to create a BitmapV3 with the palette but the colors are not (always) corrects.

RE: WinPalette and 16bit mode

2005-07-04 Thread Chris Apers
- Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Monday, July 04, 2005 12:35 Subject: WinPalette and 16bit mode Hi, I need to draw a bitmap from an 8bit offscreen window which need a custom palette into a 16bit screen

using BmpCreateBitmapV3

2005-07-01 Thread Chris Apers
Hi, I'd like to know how to associate a palette using BmpCreateBitmapV3. I don't know how to use the ColorTableType. Thanks Chris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: winPalette crashes (was using BmpCreateBitmapV3)

2005-07-01 Thread Chris Apers
d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Chris Apers Envoyé : vendredi 1 juillet 2005 10:49 À : Palm Developer Forum Objet : using BmpCreateBitmapV3 Hi, I'd like to know how to associate a palette using BmpCreateBitmapV3. I don't know how to use the ColorTableType

weird error

2005-06-25 Thread Chris Apers
Hi, Can someone explain me why this work : // Postfix dec IteratorT2 operator--(int) { IteratorT2 tmp(_node); if (_node) _node = _node-_prev; return tmp; } and this doesn't : // Postfix inc IteratorT2 operator++(int) { IteratorT2 tmp(_node); if (_node) _node =

Re: weird error

2005-06-25 Thread Chris Apers
Stupid question, i wasn't using the -- operator. same error - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Saturday, June 25, 2005 11:35 PM Subject: weird error Hi, Can someone explain me why this work

CW error : illegal initialization

2005-06-24 Thread Chris Apers
Hi, Does anyone can explain me why this code doesn't compile under CW http://capers.free.fr/temp/list.h with the error : Error : illegal initialization (point of instantiation: 'Common::ConfigFile::ConfigFile()') (instantiating: 'Common::ListCommon::ConfigFile::Section::~List()')

Using double linked list

2005-06-23 Thread Chris Apers
Hi, Does anyone can explain me why this code doesn't compile under CW http://capers.free.fr/temp/list.h with the error : Error : illegal initialization (point of instantiation: 'Common::ConfigFile::ConfigFile()') (instantiating: 'Common::ListCommon::ConfigFile::Section::~List()')

RE: App crashing, what is wrong with this code?

2005-06-10 Thread Chris Apers
Don't know but perhaps it's because in GetStrMid, strTemp point to nowhere not initialized) StrPrintF(strSearchValue,%s%s%s,,strXMLValue,); Can be replaced by StrPrintF(strSearchValue, %s, strXMLValue); -Message d'origine- Hi all, I have an annoying problem that I can't find out why

RE: White screen with Treo 650?

2005-06-07 Thread Chris Apers
Are you using an offscreen system ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Paul Jensen Envoyé : mardi 7 juin 2005 06:49 À : Palm Developer Forum Objet : White screen with Treo 650? I distribute a couple of freeware PalmOS apps (mainly as a

Compilation problem

2005-05-24 Thread Chris Apers
Hi, Does anyone know why i have a Error : Illegal use of 'explicit' with this code : .. template class T2 class Iterator { friend class ListT; NodeBase *_node; explicit IteratorT2(NodeBase *node) : _node(node) {} ... Thanks a lot Chris -- For information on using the

RE: How to prevent the device from going to sleep?

2005-05-24 Thread Chris Apers
static UInt16 autoOffDelay; // disable auto-off autoOffDelay = SysSetAutoOffTime(0); EvtResetAutoOffTimer(); // restore auto -off SysSetAutoOffTime(autoOffDelay); EvtResetAutoOffTimer(); Chris -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Dr.

Re: How to intercept memory card insertion before PalmOS 5.x?

2005-03-28 Thread Chris Apers
Exactly the same you do it in OS5. - Original Message - From: Dr. Vesselin Bontchev [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Monday, March 28, 2005 1:32 PM Subject: How to intercept memory card insertion before PalmOS 5.x? Hello folks, More

RE: UAE AMIGA emulator prerelease finally

2005-03-02 Thread Chris Apers
Some new PalmOne devices (T3 T5 ...) have an Internal Storage acting As a memory card. You should search all available card for the *.bin files -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Sinisa Marovic (AC/EDD) Envoyé : mercredi 2 mars 2005 14:53 À

Re: MemGluePtrNew not freed ?

2005-02-13 Thread Chris Apers
I don't change the owner of my blocks but anyway there is no way to know the ownerID on OS5 devices :_( we forget to free them). It's only guesswork, but have you checked that they're marked as owned by your app, rather than by the system? That's the only good reason I can think of for

MemGluePtrNew not freed ?

2005-02-12 Thread Chris Apers
Hi, MemGluePtrNew chunks are not automatically freed by the system on exit (if we forget to free them). Any idea why ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: full-screen write

2005-01-30 Thread Chris Apers
The GoLCD API is available with the lastest SDK from PalmOne Go to http://pluggedin.palmone.com How can I enable/disable the full-screen write mode in my progam ? Aryeh -- For information on using the Palm Developer Forums, or to unsubscribe, please see

LstGetVisibleItems ?

2005-01-19 Thread Chris Apers
Hi, I use LstGetVisibleItems to know how many visible items was defined with a given list, but this function seems to return 0 if the list is empty. Is it possible to retreive this list info in any cases or should i add empty items on the lists ? Thanks Chris -- For information on using

RE: LstGetVisibleItems ?

2005-01-19 Thread Chris Apers
Well, this will give me 0 again What i need is the NumberOfItems defined at form creation Even if the list is empty. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Vladimir Lozhnikov Envoyé : mercredi 19 janvier 2005 13:14 À : Palm Developer Forum Objet

RE: LstGetVisibleItems ?

2005-01-19 Thread Chris Apers
. Chris Apers wrote: Well, this will give me 0 again What i need is the NumberOfItems defined at form creation Even if the list is empty. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Vladimir Lozhnikov Envoyé : mercredi 19 janvier 2005 13:14 À : Palm

RE: ARM static lib

2005-01-07 Thread Chris Apers
No, I'm compiling the lib as C to use with C code -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Ben Combee Envoyé : jeudi 6 janvier 2005 00:38 À : Palm Developer Forum Objet : Re: ARM static lib At 02:19 PM 1/5/2005, you wrote: Hi, I'm trying to

RE: ARM static lib

2005-01-07 Thread Chris Apers
Oops forgot to write that with the extern stuff it works -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Chris Apers Envoyé : vendredi 7 janvier 2005 10:02 À : Palm Developer Forum Objet : RE: ARM static lib No, I'm compiling the lib as C to use with C

DIrect screen access

2005-01-05 Thread Chris Apers
Hi, It seems that direct screen access is slow on some devices. It is possible that a device can handle faster 8bit or 16bit or 32bit video memory access (8bit mode) ? Do i need to consider adding a 8, 16 and 32 screen update in my code depending on the device for better performance ? thanks

ARM static lib

2005-01-05 Thread Chris Apers
Hi, I'm trying to compile an ARM static library (fdlibm), but if i don't check the force C++ compilation box the function within are not found when i try to use this lib in a project. Is this normal ? any config i missed ? thanks alot Chris -- For information on using the Palm Developer

FrmCustomAlert on T3 ?

2004-12-31 Thread Chris Apers
Hi, When i call FrmCustomAlert on a T3 or T3 simulator it crashes. This doesn't occur on other device, any idea ? ex : FrmCustomAlert(FrmErrorAlert,You,0,0); Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: FrmCustomAlert crash T3 ?

2004-12-31 Thread Chris Apers
It seems that T3 and T5 send a sysNotifyDisplayResizedEvent, notification i use to redefine the screen pitch and some other things on rotate/resize. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Chris Apers Envoyé : vendredi 31 décembre 2004 10:35 À

TR: ARM ptr owner different from 68k ?

2004-12-30 Thread Chris Apers
Hi, Is the pointer owner of an PNOlet is the same as the calling app ? Is an ARM allocated pointer remain valid after returning ? Ex, can i do this : unsigned long PNOMain(.) { void *ptr = MemPtrNew(...); return ptr; } or should i change the owner id to keep it valid ?

Re: Incorrect PRC file ?

2004-12-25 Thread Chris Apers
This is because you have a resource bigger than 64000B Check your resource items and segments size to know where is the problem. - Original Message - From: ANDRE Eric [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Saturday, December 25, 2004 10:47 AM

RealPlayer

2004-12-23 Thread Chris Apers
Hi, Is there a real API that can be used to play MP3 in my app ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

5way detection

2004-12-22 Thread Chris Apers
Hi, I use this to detect 5way nav : UInt32 version; if (!FtrGet(navFtrCreator, navFtrVersion, version)) if (version = 1) OPTIONS_SET(kOpt5WayNavigator); But this doesn't seem to work on T5, any idea ? Thanks Chris -- For information on using the Palm Developer Forums, or to

Re: 5way detection

2004-12-22 Thread Chris Apers
OK thanks, but i use key bits and it seems that those bits are the same for 5way and rocker, can you confirm me this ? Is there a way to detect the new rocker ? is detecting fnav resource or Zodiac device is the god way to do this ? For Henk : thanks for the idea, but i use a different control

From area

2004-12-17 Thread Chris Apers
Hi, Is it possible to retreive the screen relative coordinate of a form area ? I'd like to draw on this area but don't know how to match the form coord and the screen coord Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see

MemMove or not ?

2004-11-10 Thread Chris Apers
Hi, Based on your experience and PalmOS source code, what's the fastest in ARM : - MemMove - or void my_memmove(UInt8 *dst, UInt8 *src, UInt32 size) { while (len--) *dst++ = *src++; } Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe,

Retreive Form Bitmap ID

2004-11-08 Thread Chris Apers
Hi, How can i retreive the true form ID of a bitmap ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

OwnerID

2004-11-03 Thread Chris Apers
Hi, Is the app ownerID always 2, or there is a way to retreive it ? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: OwnerID

2004-11-03 Thread Chris Apers
) SysGetAppInfo(appInfoP, appInfoP))-memOwnerID; Regards, Jan Slodicka - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 12:05 PM Subject: OwnerID Hi, Is the app ownerID always 2, or there is a way

RE: OwnerID

2004-11-03 Thread Chris Apers
Forum Objet : Re: OwnerID Do you mean this? SysAppInfoPtr appInfoP; UInt16 ownerId = ((SysAppInfoPtr) SysGetAppInfo(appInfoP, appInfoP))-memOwnerID; Regards, Jan Slodicka - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent

SysUIAppSwitch and parameter block

2004-11-03 Thread Chris Apers
Hi, Using SysUIAppSwitch : Is the parameter block automatically freed by the system exiting the called app ? Because If i free it myself i have a 'Free Ptr' error on exit. Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see

SysAppLaunch

2004-10-26 Thread Chris Apers
Hi, I'm trying to add SysAppLaunch functionnaly to my app. But it seems that i cannot use SysAppLaunch to call a multi-segment application, i have an invalid read from xx error calling a function Outside the first segment. Is there a way to fix this problem with CW9.3 ? Thanks Chris --

PODS 1.0

2004-09-30 Thread Chris Apers
Hi, I'm trying to use this IDE but i can't build anything. I have Project test2 build command is not GNU make in the tasks view. How can i build my test project ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Slow PNO on many OS5 devices :(

2004-09-16 Thread Chris Apers
Hi, Does anyone know why my PNOs have good speed on Zodiac and are very slow on other OS5 device ? Thanks, really don't know why my PNO became so slow... :( Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Slow PNO on many OS5 devices :(

2004-09-16 Thread Chris Apers
OS5 devices :( I'm not sure if I understand you correctly, but it sounds like the answer is: Just remove your last code changes ;-) SCNR, Henk Chris Apers wrote: Hi Henk, Ok, but my PNOs was working good on any devices and now i don't understand why they are so slow

MTWK::__LoadAndRelocate__ problem

2004-08-25 Thread Chris Apers
Hi, When i run my program i have a : Invalid read from 4F18 The debugger stack shows : __Startup__ MTWK::__LoadAndRelocate__(unsigned char,__opaque*) Source : ... ... 03298038: 2F0Amove.l a2,-(a7) 0329803A: 4E4Ftrap #15 0329803C: A022

Re: big object allocation (was MTWK::__LoadAndRelocate__ problem)

2004-08-25 Thread Chris Apers
Ok, i found the problem, i'm allocation a big object (71k) with the new operator and it failed. Any way to allocate a big object (override the new operator) with all constructor call ? Thanks a lot Chris - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum

Re: big object allocation (was MTWK::__LoadAndRelocate__ problem)

2004-08-25 Thread Chris Apers
Just fixed it useing : #include MemGlue.h void *operator new(UInt32 size) { void *ptr = MemGluePtrNew(size); MemSet(ptr, 0, size); return ptr; } - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 4:22

Re: BitmapV3 convertion problem

2004-07-08 Thread Chris Apers
Fixed, the problem was the bitmap is compressed. Now I draw it in an off screen window and then use the window bitmap to create my V3 bitmap and it works well Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

BitmapV3 convertion problem

2004-07-07 Thread Chris Apers
Hi, I'm trying to convert a simple 8bit or 16bit bitmap to a V3 Double Density. but when i draw the new V3 bitmap it shows me a broken image. here is the definition used in my PilRC file : BITMAPCOLOR ID skinButtonGameAddNormal pics/skinButtonGameAddNormal.bmp COMPRESS and the code :

BitmapV3 convertion problem

2004-07-07 Thread Chris Apers
Hi, I'm trying to convert a simple 8bit or 16bit bitmap to a V3 Double Density. but when i draw the new V3 bitmap it shows me a broken image. here is the definition used in my PilRC file : BITMAPCOLOR ID skinButtonGameAddNormal pics/skinButtonGameAddNormal.bmp COMPRESS and the code :

Re: Help on VFSDirEntryEnumerate is urgently [tetsuo Nagamatsu]

2004-07-01 Thread Chris Apers
You can't use sizeof() on a pointer allocated with MemPtrNew use MemPtrSize instead. But as you are enumerating i don't think you need to allocate fileName each time. Better and faster to use Char fileName[256] and then you can use sizeof(). - Original Message - From: Helmut A. Bender

Re: [General]In CW 9.3 , What's Different between Debug mode and Release Mode?!

2004-05-27 Thread Chris Apers
The only difference will be the config you use in your debug and release targets. debug and release are just names of the config of your targets with no particular sense for CW, so i advice you to check the config of this these 2 targets (segments, etc ...) and see where is the problem.

Snd Stream

2004-05-13 Thread Chris Apers
Hi, I try to use 8bit/mono/8khz sound with the simulator but the sound has a very bad quality compare to the same sound played under windows. if i use 16bit sound instead it's better. Is this problem only on the simulator, or this API can't use low quality sampled sound properly ? thanks Chris

PalmSG MP3 lib

2004-04-28 Thread Chris Apers
Hi, I saw on the lastest PalmSG SDK a MiniMP3 sample trying to find a CodecLibrary, does anyone know what is this lib ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Error after Converting to multisegment

2004-04-27 Thread Chris Apers
Did you try to change the Code Model to Smart or Large in 68k processor ? - Original Message - From: Mike [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, April 27, 2004 9:05 PM Subject: Error after Converting to multisegment I got

Re: ARM Callback

2004-04-26 Thread Chris Apers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Apers Sent: Saturday, April 24, 2004 12:03 PM To: Palm Developer Forum Subject: ARM Callback Hi, I'd like to know how to use an ARM callback with SndStream ? I tried to return

Re: Debugging Pa1Lib app without need to buy Sony Clie

2004-04-26 Thread Chris Apers
HI, AFAIK there is no way to debug this if you don't own a Sony device. The Pa1Lib is no more supported in newer Sony device and so don't expect an emulator/simulator update :( But i can help if you want. Chris - Original Message - From: Michal Bacik [EMAIL PROTECTED] To: Palm

ARM Callback

2004-04-24 Thread Chris Apers
Hi, I'd like to know how to use an ARM callback with SndStream ? I tried to return the function address from the ARMlet_Main but creation crash the palm, any idea ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Calling WinScreenGetAttribute on OS 4.x

2004-04-22 Thread Chris Apers
Hi, The only OS4 device i know to have Hi-density is the Tungsten|W and this test works fine on emulator/simulator. What code are you using exactly ? Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Calling WinScreenGetAttribute on OS 4.x

2004-04-22 Thread Chris Apers
Ok, Here is an example : // err returned if the feature doesn't exist, but it exist on all device err = FtrGet(sysFtrCreator, sysFtrNumWinVersion, version); // so you need to test the version, (not the version of the OS but the Window Manager) if (version = 4) {

Re: MemoryMgr.c Line 4365 SysFatalAlert

2004-04-22 Thread Chris Apers
How are you adding bitmaps ? Did you try a step by step debugging to know where this error occured ? - Original Message - From: Steve A [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, April 22, 2004 5:59 PM Subject: MemoryMgr.c Line

Re: Can i store a handle in the application preferences block.

2004-04-21 Thread Chris Apers
You cannot store handle or memory pointer on app pref because the system free all handles/memory blocks when you exit your app you need to store this in another way in a database for example as records. - Original Message - From: Pit [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm

Re: Can i store a handle in the application preferences block.

2004-04-21 Thread Chris Apers
Chris Apers [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] You cannot store handle or memory pointer on app pref because the system free all handles/memory blocks when you exit your app you need to store this in another way in a database for example as records

Re: Problem with MemHandleResize - memErrChunkLocked

2004-04-20 Thread Chris Apers
in your typedef, instead of : MyPtr it;// where MyPtr is the actual type you are using use MemHandle it; - Original Message - From: Pit [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 12:45 PM Subject: Re:

Re: Problem with MemHandleResize - memErrChunkLocked

2004-04-20 Thread Chris Apers
in the temp1-char** It looks like that all is correct, but the error still occur! Best Regards Peter Chris Apers [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] You store your char** in the handle using MemHandleLock Each time you need to read/write access the data you use

Re: SampleCollapse_R3- vskResizeVertically?

2004-04-20 Thread Chris Apers
It is in SonySilkLib.h, do you have the lastest sony SDK ? http://www.cliedeveloper.com - Original Message - From: Keith Wolcott [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 5:18 PM Subject: SampleCollapse_R3- vskResizeVertically? When

Re: Problem with MemHandleResize - memErrChunkLocked

2004-04-19 Thread Chris Apers
You call MemHandleLock before MemHandleResize this is why you have this error. - Original Message - From: Pit [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:54 PM Subject: Problem with MemHandleResize -

  1   2   3   4   >