Re: Palm OS 3.5 :SelectDay() -different events on normal rom anddebug roms

2003-03-10 Thread Jayanarayanan M N
I have a form with to select a date. In the normal form, selecting date does not generate a frmUpdateEvent(and application works fine). In a debug rom- Palm OS 3.5-en-colordbg.rom- selection generates and frmUpdateEvent. Is this correct behavior? Am I making some trivial mistakes? Palm OS

ordering of FrmDispatchEvent and AppHandleEvent

2003-03-06 Thread Jayanarayanan M N
Hi, I have seen the Metrowerks tutorial and other sample codes which have the EventLoop code in this way.. static void AppEventLoop( void ) { UInt16 error; EventType event; do { EvtGetEvent( &event, evtWaitForever ); if ( ! SysHandleEvent( &event ) ) if ( ! MenuHandleEvent( 0, &even

Palm OS 3.5 :SelectDay() -different events on normal rom and debugroms

2003-03-05 Thread Jayanarayanan M N
I am testing an application on 3.5 ROMS. I have a form with to select a date. In the normal form, selecting date does not generate a frmUpdateEvent(and application works fine). In a debug rom- Palm OS 3.5-en-colordbg.rom- selection generates and frmUpdateEvent. Is this correct behavior? Am I

Table with Horizontal Scrolling

2003-01-12 Thread Jayanarayanan M N
I have a table with five columns. The display looks very ugly with all of them in one screen http://www.palmos.com/dev/support/docs/ui/UI_Scrolling.html says that Palm does not support horizontal scrolling( third party tools does provide a mechanism). Where can I find details to implemen horizont

Re: Link error for Filename.cpp : Near data segment bigger than64k

2002-11-14 Thread Jayanarayanan M N
Understood. Thank you. We had some big global objects. Now we made global pointers to them where actual objects are created on heap at the startup. Works for now. Need to implement ideas from http://www.metrowerks.com/pdf/Expanded_Mode.pdf. But that can wait, hopefully. -Jayan Ben Combee wrot

Link error for Filename.cpp : Near data segment bigger than 64k

2002-11-14 Thread Jayanarayanan M N
Dear All, I have rather big application.Today we added some more file to project. Now we get link error. "Near data segment bigger than 64k" I found in code warrior help to "Select the Far Data and Far Strings checkboxes in the 68K Processor settings panel." I am on Codewarrior 8.2 Windows 2000

Re: StrCopy gives exception-resolved

2002-11-04 Thread Jayanarayanan M N
. thanks for your help (setting the pointer to null after delete, could have been useful to catch the error in an early stage) -jayan Keith Rollin wrote: At 12:37 PM +0530 11/4/02, Jayanarayanan M N wrote: Sorry, cut paste error. Here is the code that crashes.. thisField= FrmGetObjectPtr( thisForm

Re: StrCopy gives exception

2002-11-03 Thread Jayanarayanan M N
Jayanarayanan M N Sent: Monday, November 04, 2002 12:24 PM To: Palm Developer Forum Subject: StrCopy gives exception I am trying to copy value from a field to local character array. fldPtr = FrmGetObjectPtr( thisForm , FrmGetObjectIndex( m_pForm, controlID )); StrCopy ( strBig, fldPtr ) Gives warning on

StrCopy gives exception

2002-11-03 Thread Jayanarayanan M N
I am trying to copy value from a field to local character array. fldPtr = FrmGetObjectPtr( thisForm , FrmGetObjectIndex( m_pForm, controlID )); StrCopy ( strBig, fldPtr ) Gives warning on emulator. "...just read from memory location 0x000139E7, which is in an unallocated chunk of memory." If

SelectOneTime crashes

2002-10-01 Thread Jayanarayanan M N
I could use time related functions with out any problem. SelectTime, SelectTimeV33, SelectDay . OS Version is PalmOS 4.0. When I used SelectOneTime program crashes. Int16 s1=6, s2=40; SelectOneTime ( &s1, &s2,"lll"); What do I miss here? Regards Jayan -- For inf

API to increase stack size?

2002-09-17 Thread Jayanarayanan M N
Is there a way to increase the stack size available to a PalmOS application? Is there an API to do this.? I saw some third party applications to do this. regards Jayan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forum

Re: Palm Bitmap to BMP

2002-08-30 Thread Jayanarayanan M N
I guess there is no code to do the conversion today. there some code at http://entropymine.com/jason/bmpsuite/ . This tells how to create bmp files. Enrico Pavesi wrote: >I transfer a series of pdb to the PC. > >In the PDB every record is a Palm bitmap. > >Is there a tool or program to extract

WinGetBitmap to return image of specified pixelDepth?

2002-08-28 Thread Jayanarayanan M N
( this question is some what related to my mail with subject " Can I change pixelSize on Palm device/emulator" ) Consider the following sequence. I Have a gadget. I Create a window handle to it, using WinCreateOffscreenWindow(). draw some thing on gadget area. Use WinGetBitmap to get bitmap

Re: Can I change pixelSize on Palm device/emulator

2002-08-27 Thread Jayanarayanan M N
-depth of the retrieved bitmap. If you want to >change the screen-depth look at WinScreenMode. > > >Gavin. > >Jayanarayanan M N <[EMAIL PROTECTED]> wrote in message >news:94390@palm-dev-forum... > > >>I used WinGetBitmap() get image from screen. >> The pi

Can I change pixelSize on Palm device/emulator

2002-08-26 Thread Jayanarayanan M N
I used WinGetBitmap() get image from screen. The pixelSize it shows is 8(for m505). Can change any setting on device/emulator so that I get different values for pixelSize? Regards Jayan -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.

Re: Palm bitmaps to Windows bitmap conversion. is it possible?

2002-07-18 Thread Jayanarayanan M N
t also used in >CW thanks to this plugin) into the .r file for your app. In bitmaps.c is a >function called BMP_ConvertWindowsBitmap, and if you can figure out how this >works, you can write a vice versa algorithm. This will probably be a last >resort for you, as it's an arguous task.

Re: How to demangle function names

2002-07-16 Thread Jayanarayanan M N
Keith Rollin wrote: > At 9:46 AM -0700 7/16/02, Ben Combee wrote: > >> In article <91176@palm-dev-forum>, [EMAIL PROTECTED] >> says... >> >>> >> > In the trace file of POSE I see entries like : >> >>> >>> 3173.113:Non-relocatable chunk leaked at 0x0003B65A, size = 294 >>> 3173.113:Chun

How to demangle function names

2002-07-16 Thread Jayanarayanan M N
Hello, In the trace file of POSE I see entries like : 3173.113:Non-relocatable chunk leaked at 0x0003B65A, size = 294 3173.113:Chunk allocated by: 3173.113:__nw__FUl 3173.113: How to identify the actual function name of __nw__FUl? Regards Jayan (Using Codewarrior 8.2 )

Palm bitmaps to Windows bitmap conversion. is it possible?

2002-07-13 Thread Jayanarayanan M N
(Subject changed . was "Re: Screen Capture using WinGetBitmap- Viewing the BMP on desktop") Where can find a conversion program. -Jayan --- Joe Malone <[EMAIL PROTECTED]> wrote: > --- Jayanarayanan M N <[EMAIL PROTECTED]> wrote: > > I am trying to capture im

Screen Capture using WinGetBitmap- Viewing the BMP on desktop

2002-07-12 Thread Jayanarayanan M N
Hi All, I am trying to capture image from a form on a palm and display back it on browser. Here is outline. =>WinCreateOffscreenWindow- Create an offscreen window =>WinGetBitmap()- get bitmap =>BmpSize() -to get size of bitmap. =>Save bitmap to a local database. Send this to enterprise database(