Shared library And Global variables

2007-01-11 Thread hvreddy
Hi All, As every body knows we can't use global variables directly in the shared library so i created a structure as a global variable and used global variables inside structure. Then i tryed to allocate memory for the structure variable in LibOpen finction using MemPtrNew and free in LibClose

Index Out of Range error

2007-01-10 Thread hvreddy
Hi All, In my application some times i am getting error as below. Emul 68K Common.c Line:1648,Index out of range It is not happening regurarly.But some times it is happening. I am useing Zire22 Palm. Any suggestions are greately welcome. Thanks, Regards, Harsha -- For information on

Again Multi segment Shared library issue

2006-12-09 Thread hvreddy
Dear All, I am trying to create multi segment Shared library in Metrowerks CW-9.2 for my Z22(PALM 5.1).But in MWCW for shared libraries we can create only one segment.But I saw in this forum some of them already tryed and done this.But I couldn't find any where how to do this or how they done

__RuntimeModule__:Near data segment is bigger than 64K

2006-12-08 Thread hvreddy
Hi , I am using CW-9.2 for my Application development for Z22 (PALM OS). I have one big my own Library application which is occupying more than 64K size. When i compile this i am getting the following Linker error message. Segment 'Segment_1' is greater than 64000 bytes it will create an

How to create global variable more than 64K size

2006-11-12 Thread hvreddy
Hi All, Is it possible to create a global variable of size more than 64K in palm os? I tryed to create more than 64K size of array but the linker is giving error.Even i tryed using memptrNew also .Here also it gives the same error. Is there a limitation for global variable size should not be

Re: How to link object file ......

2006-05-20 Thread hvreddy
Hi Thanks for ur reply. But can yo explain that in detail because i could't get it.How to make a static library using a 68K linker out put of my programm. Or else if any documents are available on net kindly provide a link. Thanks in advance. -- For information on using the PalmSource

How to change the text on button in runtime

2006-04-12 Thread hvreddy
Hi all, Is there any API to change the text(label)(button name) on the button in programm at runtime. Thanks in advance, Regards, Harsha. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Battery Charging Indicator on Zire22.

2006-03-31 Thread hvreddy
Hi All, I developed an application in Z22. In that application i want to include battery charging indication when the palm is getting charged .The charging indication should be like actual Z22(Palm) way. Because i can able to display by using SysBatteryInfo WinDrawLine . Here i am getting the

How to set the contrast of pam Z22

2006-03-31 Thread hvreddy
Hi All, How to set/adjust the contrast of a palm(Z22) without using UIContrastadjust() or UIBrightnessadjust() APIs. If i use UIContrastadjust() it will open contrastadjust dilog ,which i don't want in my application.Instead i should be able to set the contrast by sending some digital values.