Re: Cascaded frmUpdateEvent overwrites overlapping modal form

2009-10-23 Thread Michal Seliga
Luc Le Blanc wrote: I display a map in non-modal form that can launch a modal dialog upon a menuEvent. When the help form is closed in the modal dialog, the modal dialog receives a frmUpdateEvent, that gets ignored (nothing to do.) A frmUpdateEvent is then received by the parent (non-modal)

Re: Strange comm behavior on Palm TX

2009-10-08 Thread Michal Seliga
Luc Le Blanc wrote: My app receives 8-byte Bluetooth messages from a measuring device. I handle nilEvents in the EventLoop and call a proc every second to check for data availability with a call to SrmReceiveCheck. It works fine everywhere, except on *some* TX devices, like mine, where this

Re: C APIs to read/write PDB records?

2009-10-06 Thread Michal Seliga
Luc Le Blanc wrote: I would like to replace my HotSync conduit by a batch PDB-PC file converter that I could recompile on various OSes. Are there documented open-source C APIs to read/write PDB records? That would save me writing code for handling headers, offsets, etc. Luc Le Blanc

Re: Compiling GCC for Palm

2009-09-14 Thread Michal Seliga
Eric Bresie wrote: Just curious, Is it possible to recompile a recent version of gcc to produce Palm compatible code? If I read things, it already supports the Arm5te and m68k target. Maybe port newlib to provide the libc level libraries? -- Eric Bresie ebre...@gmail.com

Re: palm-dev-forum digest: June 15, 2009

2009-06-17 Thread Michal Seliga
brad.my...@cs.cmu.edu wrote: I have an old directory with Codewarrior in it, that I copied to my current machine. When I run the ide.exe file it says it is Codewarrior IDE version 4.1.0.2, which appears to be from 2000, so I guess that isn't the last version :-( no, it isn't, my version

Re: Problem catching penDownEvents with sysNotifyEventDequeuedEvent

2009-05-04 Thread Michal Seliga
on arm devices this notification comes in native format, not in what palmos developer would expect. so you have to compare with ByteSwap16(penDownEvent) Luc Le Blanc wrote: I'm trying to catch penDownEvents using the sysNotifyEventDequeuedEvent notification to restore screen brightness. My

Re: displaying Bitmaps correctly

2009-04-01 Thread Michal Seliga
luis maldonado wrote: Hello, BITMAP splashBM BEGIN BITMAP screen_saver.bmp BPP 8 DENSITY 2 COMPRESS TRANSPARENTINDEX 0 END use BPP 16, conversion from truecolor to palette almost always looks bad. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please

Re: MemHandleNew, MemPtrNew

2009-03-06 Thread Michal Seliga
make sure you don't try to free same chunk more then once storage memory or dbcache have no effect on MemPtrNew and MemHandleNew, so nand is definitely no problem i think you should check if all allocations were succesfull, maybe application which is running is eating so much memory that your

Re: Copying Tbmp/tAIB resources -- not working?

2009-02-26 Thread Michal Seliga
the safest would be to use BmpGetSizes to obtain size of header and size of data so you will know how much you need to store. and as others wrote, you are caching only (incomplete) header in your code, use BmpGetBits to get data Ryan Rix wrote: Hey guys, I am writing code to dynamically draw

Re: forum heart beat check

2009-02-08 Thread Michal Seliga
don't forget Android... i already work on application for it. but I don't forget palm, there is lot of devices out there and people won't just throw them away because company stopped selling them. its like with psion, oficially dead but still very alive... Christopher Stamper wrote: On Sat,

Re: forum heart beat check

2009-02-08 Thread Michal Seliga
from my experience customers want handhelds. if there are only smartphones available they would rather use tablet pc then smartphone. in company i am working for palmos version was killed by palm decision to stop handheld production - so far everyone moved to windows mobile or to tablets. reason

Re: Palm OS clock precision

2009-02-08 Thread Michal Seliga
Nikolai Filipov wrote: Hello, Jeff! Any suggestion for a free (or not) program that does network time sync? i am not jeff, but i recommend r.time its for free, http://r-time.en.softonic.com/palm Thanks, -Nikolai F. At 03:08 8.2.2009 'ã.', you wrote: Time is set during sync when the

Re: Debug problem in 320x480 devices

2009-01-15 Thread Michal Seliga
i have this problems too, i didn't found 100% working solution yet. sometimes it helps to delete everything from them before start (especially InternalDriveVolume), sometimes it works if you make sure that before debug starts in codewarrior device is 'sleeping' and you 'wake it up' only when

Re: WinHandles (TX OS5.49) help please

2008-12-18 Thread Michal Seliga
are you sure that you delete only windows you created and that you don't try to delete same handle twice? it could be some copypaste mistake... Darren wrote: Hello, am deleting windows on app close, like so; if (windowHandle) WinDeleteWindow(windowHandle, 0); everything appears to work

Re: Implimenting a countdown timer

2008-12-09 Thread Michal Seliga
there are many possibilities, but probably most simple approach is to use 1 second timeout with EvtGetEvent and then on every received event including nilEvent you can chack if second changed since last time and if yes update counter. it may be unprecise because processing of some events can take

Re: DmReleaseResource does NOT free resource

2008-12-08 Thread Michal Seliga
i guess it should be for(i=0;i6;i++) { MemHandleUnlock(orbs[i].orbH); DmReleaseResource(orbs[i].orbH); } important part was not change to MemPtrunlock, but change in for(;;) - 6 resources were got and locked and only 5 of them unlocked

Re: Getting information about other application in Palm Os

2008-12-02 Thread Michal Seliga
sorry, but this question about multithreading was answered in this forum many times already, you should really search a bit before you ask. Tiago wrote: I forgot one thing, my applicaton should retrieve theses information when other applications were using the internet, then only the Net

Re: Getting information about other application in Palm Os

2008-11-28 Thread Michal Seliga
Tiago wrote: Anybody know how to make this? if noone answers then probably noone knows, i was thinking about it when i read your post but i didn't found any good solution most probably you will have to override netlib api with your own functions which would do additional logging, but how to

Re: Debugging a bus error

2008-11-25 Thread Michal Seliga
before and after this variable which got overwritten create dummy variables and set them with some magic values (not zeros!) then just check these values very often (maybe with some macro) and show alert/stop on breakpoint as soon as they got changed. when you will know area where it happens you

Re: How many people exchange vCards?

2008-11-19 Thread Michal Seliga
Philip Sheard wrote: How many people exchange vCards on their mobile phones? I am thinking of adding a vCard handler to an application of mine. My feeling is that very few people would know how to beam their vCard, but I may be wrong. to my experience most of people don't even know what

PDI used to create VCARD object causes crash later in application (stack corruption?)

2008-11-14 Thread Michal Seliga
hi i am using PDI to create VCARD object in normal conditions (entries are ascii) everything works to write address part i use this code if(data-addr1) temp[0]=data-addr1; else temp[0]=; if(data-addr2) temp[1]=data-addr2; else temp[1]=; if(data-street)

Re: Displaying a colored graphic button

2008-11-14 Thread Michal Seliga
why don't you set depth to 16 when you set it? Luc Le Blanc wrote: I (Luc Le Blanc) wrote earlier: I checked and stepped through my code. Upon stating my app, and only once, I call UInt32 width = 160, height = 160, depth = 8; Boolean color = true; gError =

Re: Displaying a colored graphic button

2008-11-14 Thread Michal Seliga
little) and one double density 16bpp btw to set 16bpp mode i do this d=16; errc=WinScreenMode(winScreenModeSet,NULL,NULL,d,NULL); Luc Le Blanc wrote: Michal seliga: why don't you set depth to 16 when you set it? I had ruled out 16-bit color since I use 8-bit color indexes for drawing

Re: Displaying a colored graphic button

2008-11-13 Thread Michal Seliga
thats probably because t3 runs in 8bpp mode by default try to set mode to 16bpp when your application starts (all colour devices support it i think) Luc Le Blanc wrote: How can I get a colored graphic button to actually display in color? In Constructor, I picked the only color bitmap option

Re: Displaying a colored graphic button

2008-11-13 Thread Michal Seliga
Philip Sheard wrote: I thought that all devices defaulted to 8-bit colour, for legacy considerations. I could well be wrong, though. treo680 and newer and t|x default to 16bpp, its not problem, all applications work as expected because 8bpp bitmaps can be shown properly in 16bpp mode however

Re: datebook

2008-11-02 Thread Michal Seliga
datebook sources are available with PalmOS samples calendar sources are available with Palm SDK samples i am using these from Palm SDK, but only to add and read entries, i never delete them. it works, but its tested on on treos (650 and newer) Dirk Zabel wrote: Hi, I would like to enter

Re: new palmos compatible device, anyone knows more detailed information about it?

2008-10-23 Thread Michal Seliga
-mini Version 3?! What devices had version 1 and 2?! Edward Jones Christopher Stamper wrote: On Wed, Oct 22, 2008 at 5:45 AM, Michal Seliga [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: http://www.edelweiss-mobile.com/ warning, site is in russian only and its flash

new palmos compatible device, anyone knows more detailed information about it?

2008-10-22 Thread Michal Seliga
http://www.edelweiss-mobile.com/ warning, site is in russian only and its flash only so google translate probably will not help (i didnt tried) from specs and images it looks nice, but in general there is not much written. is here anyone who knows more? -- For information on using the ACCESS

Re: Recent GCC based Prc-tools

2008-10-07 Thread Michal Seliga
Eric Bresie wrote: Hey guys, I was wondering if anyone has compiled prc-tools with a newer versions of gcc and related build tools. Eric for m68k environment you must use this old gcc, there were too many patches to make it work with gcc 3 or newer, once i tried (young and naive) to

Re: Recent GCC based Prc-tools

2008-10-07 Thread Michal Seliga
What are the correct options and where are they documented? its easy to find, just google for palmos arm gcc , or palmos pno gcc but to make it simpler: arm-gcc -ffixed-r9 -fPIC -march=armv4t -lc -nostartfiles i guess for newer devices you can use -march=xscale, but it will not work

Re: Programmatically dimming down the screen

2008-09-26 Thread Michal Seliga
I get strange results on a Tungsten E2. First, the brightness level returned to this API when the UI slider is set on the leftmost position is 64, not 0 (but the rightmost position does correspond to 255). But my T3 reaches 0. It must depend on device. If I set the slider to high

Re: Programmatically dimming down the screen

2008-09-26 Thread Michal Seliga
Dmitry Grinberg wrote: the tool you used is my app called brightnessFix.NG (or the older version called brightnessFix.TX) Best Regards, Dmitry Grinberg (847) 226 9295 right, i didn't remembered how it was called, big thanks for it, you saved my eyesight :) -- For information on

navigation problem with gadgets

2008-09-25 Thread Michal Seliga
hi i have form which contains gadget. gadget is in fnav resource NAVIGATION ID ListForm INITIALSTATE ObjectFocus INITIALOBJECTID ListFilterField JUMPOBJECTID ListSalesorgPopTrigger

Re: Access files on Garnet Simulator SD Card

2008-09-21 Thread Michal Seliga
use another simulator. on most of them sd card is simulated with subdirectory Card in directory where simulator is installed so you can access it normally this garnet simulator is i think only exception... Harald Schlangmann wrote: Hi, can anybody guide me how to access files on the

Re: Logging program flow

2008-08-07 Thread Michal Seliga
in such cases i add to the beginning of each function call to add text to log i don't know if there is tool which would make it but i doubt it you may try to connect device to pc and debug directly on it, with well placed breakpoints it would show you stack trace. Edward Jones wrote: Hi, does

Re: Logging program flow

2008-08-07 Thread Michal Seliga
directly on it, how do I do this? Regards Edwrad Jones Michal Seliga wrote: in such cases i add to the beginning of each function call to add text to log i don't know if there is tool which would make it but i doubt it you may try to connect device to pc and debug directly on it, with well

Re: Old Palm OS headers

2008-08-05 Thread Michal Seliga
Alphasmart User wrote: How can I include the old Palm OS headers from the 3.1 SDK into the current SDK? I want to use headers such as SystemPrv.h. try to copy them there, but are you sure they will work? from what i found they contain internal structures which could change with time -- For

Re: phone lib registration err??

2008-08-01 Thread Michal Seliga
?. give me some code samples also please. Sumesh N R Michal Seliga wrote: Don't do this always open generic phone library and don't differ between CDMA and GSM version. Sumesh wrote: Hi Bismi, Yes I opened the library before calling the register function err = HsGetPhoneLibrary

Re: phone lib registration err??

2008-07-31 Thread Michal Seliga
Don't do this always open generic phone library and don't differ between CDMA and GSM version. Sumesh wrote: Hi Bismi, Yes I opened the library before calling the register function err = HsGetPhoneLibrary (PhoneLibRefNum); if(err) return err; HsAttrGet (hsAttrPhoneType, 0,

Re: RES: One-and-a-half and triple density custom fonts

2008-07-17 Thread Michal Seliga
definitely not by writing this question 4x... go to http://news.palmos.com/read/?forum=palm-dev-forum and do it there -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: One-and-a-half and triple density custom fonts

2008-07-16 Thread Michal Seliga
maybe very stupid idea, but if 16.5 is correct, 16 doesn't work, did you tried 17? -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Bitmaps distorted in PODS

2008-07-11 Thread Michal Seliga
gimp saves good files, i am using it and i never had problem with bitmaps it creates. gimp 1.2 i mean, i didn't used gimp 2.x so far Tam Hanna wrote: Hi Dmitry, I know that it is a 24bit bitmap - but can't find a way to transform it in GIMP. Cant you recommend something? All the best Tam

Re: C++ Exception handling on Palm OS

2008-07-09 Thread Michal Seliga
for even medium size projects i always had to always switch it off because exception tables and such things consume a lot of memory for global variables which is of limited size. because of this you must also be sure you will not use it in launchcodes where globals are not available if your

Re: Linking a single Glue API in the midlle of a C file

2008-07-08 Thread Michal Seliga
in such case i think all you can do is reorder functions a bit or with switched optimizations you can make sequentional jumps to glue library (from place where you need LstGlueSetIncrementalSearch call small not inlineable function placed somewhere in the middle which will call

Re: LstGlueSetIncrementalSearch API unusable in global-less mode?

2008-07-07 Thread Michal Seliga
i am not sure about global but can't be that you have this glue library in other than first segment? Luc Le Blanc wrote: After I implemented incremental search (LstGlueSetIncrementalSearch()) on a list of local DBs in my custom Beam Accept dialog, I notice my app crashes when calling this

Re: MemPtrNew fragmentation

2008-07-01 Thread Michal Seliga
John Gruenenfelder wrote: Unfortunately, at 308 bytes per item, the index is limited to ~210 total items before the 64K allocation limit is reached. forget about limit, you can use MemGluePtrNew from glue library with which you can allocate more then 64kb in one block and it works from

Re: Unable to get Label of Phone Number

2008-06-25 Thread Michal Seliga
Arun wrote: Hi everyone, I have written a sample program in which I am retrieving Phone numbers from the Address DB. But the problem lays in identifying them which one is fax, home, office . Thnx in advance Arun Kumar. download pim sdk from pdn.palm.com, there you will have headers

Re: Connection with the mobile network

2008-06-25 Thread Michal Seliga
but go to prefs application on your palm and take a look to network preferences. and if you have device which doesn't have phone integrated then also connection settings to make it work with some phone or pc if you have everything properly configured then all network applications will work

Re: ARM Native programming

2008-06-21 Thread Michal Seliga
if you want to create small pnolets only for critical parts of program and these will be completely standalone (no calls to palmos api) then you will learn it very fast. all you need is to check some example (one comes with palmos sdk i think). this is what i recommend, in most cases its enough

Re: Tracking winEnter/Exit events to toggle on screen Graffiti

2008-06-17 Thread Michal Seliga
As for detecting form changes, I also tried trapping frmLoadEvents in my main handler but modal dialogs don't seem to go there :( in modal dialogs you can do anything which you would normally do in frmloadevent and frmopenevent just before calling FrmDoDialog also everything what would be

Re: Open web browser programatically

2008-06-15 Thread Michal Seliga
On treos you can use HsBrowseUrl(char *url), it will openn url in browser which is set as default one in system prefs. on others there is no such setting so i guess you will have to make detection for various browsers and use one which is available Tam Hanna wrote: Hello Folks, I have

Re: Bogus Invalid Index error

2008-06-09 Thread Michal Seliga
ithey may be valid but check that frmP really points to form where is ToolbarGadget. maybe you used this frmP temporarily somewhere else and check if there is no typo in name of gadget i use extended gadgets a lot and i never noticed any problem which wouldn't be my bug at the end Tam

Re: PLEASE - REMOVE-ME from this list

2008-06-03 Thread Michal Seliga
you can login to palm-dev-forum web page and set to your account that no emails will be sent. http://news.palmos.com/read/?forum=palm-dev-forum Alexandre Umino (Spin) wrote: Can anyone remove me from this list. I tried several times, but without success. Thanks. Spin -- For information on

Re: Getting the inverted color

2008-06-01 Thread Michal Seliga
i would convert color to rgb, invert all components and find nearest color in palette corresponding to this Luc Le Blanc wrote: I wrote earlier: Given a color index or RGB color value, how can I find the inverted color I would get if I used an API like WinInvertPixel on a pixel of the said

Re: Getting the inverted color

2008-06-01 Thread Michal Seliga
i use new_value=0xff-original_value. Luc Le Blanc wrote: How do you invert a RGB component? XOR with 0xff? Add 0x7f and % 0xff? Michal Seliga wrote: i would convert color to rgb, invert all components and find nearest color in palette corresponding to this Luc Le Blanc wrote: I wrote

Re: Ultralite

2008-05-28 Thread Michal Seliga
We use ultralite in our project. If your application needs database engine and if it will NOT be very large it is a good thing. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

CodeWarrior and variables

2008-05-28 Thread Michal Seliga
Hello Our project in C++ is quite large and now we run out of global variables space. Codewarrior shows, that we use 45kB of data and MAP file generated by linker shows that we use 32kB of data section below A5 and 18698 bytes above A5. We wanted to know where we take so much space, because

FrmCustomAlert

2008-05-28 Thread Michal Seliga
Greetings In our project we use FrmCustomAlert for error messages. Resource named Universal is defined with string ^1 and we call FrmCustomAlert(UniversalAlert,any_text,,), where any_text is variable of type char[]. It crash. Everytime this function is called it throws fatal exception. Stack

Too big first segment

2008-05-28 Thread Michal Seliga
Greetings... We fell into very serious problem. Our PalmOS application is very big, therefor multisegmented. In project we use Ultralite functions generated by ulgen from Sybase ASA 7.0.1.918. And we use CW r6. At the moment our application is only a bit smaller then 500kB (without

Re: List Object HowTo

2008-05-28 Thread Michal Seliga
On 17 Oct 2000, at 7:29, Palm Developer Forum digest wrote: Are you sure that frmP is still valid? Becuase when you create objects in form dynamically , form data move sometimes... Try to place frmP=FrmGetActiveForm() one line before using frmP Subject: List Object HowTo From: Patrick Ouellet

Re: How to print using IR?

2008-05-28 Thread Michal Seliga
On 17 Oct 2000, at 7:29, Palm Developer Forum digest wrote: Try to find sources of IrPad on the net - it's free and it works (GNU C++) Subject: How to print using IR? From: Farzin Ashraghi [EMAIL PROTECTED] Date: Mon, 16 Oct 2000 10:43:47 -0500 X-Message-Number: 17 Hi everyone: For

RE: Built-in list arrows

2008-05-28 Thread Michal Seliga
On 7 Oct 2000, at 0:00, Palm Developer Forum digest wrote: We had the same problem and we solved it with very ugly way Thereis no event (or at leas we haven't found it) while scroll, but there is one, when some record is selected. So we update scroller only if user selects any record from

Re: Re: PrcTools, Ultralite, Data segment

2008-05-28 Thread Michal Seliga
On 23 Sep 2000, at 0:00, Palm Developer Forum digest wrote: Subject: Re: PrcTools, Ultralite, Data segment From: Aaron Ardiri [EMAIL PROTECTED] Date: Fri, 22 Sep 2000 11:45:58 +0200 (MET DST) X-Message-Number: 9 Can anyone help me withthat? Problem is, that generated ultralite file

PrcTools, Ultralite, Data segment

2008-05-28 Thread Michal Seliga
I have one big problem with PRC-Tools 2.0 too... I just cannot compile any of mine programs (they use Ultralite from Sybase). Or better, I can compile eachof surces, but I cannotink them together, because it writes something about too big .data segment. Metrowerks CW has no problems with

Slooow Ultralite PalmOS emulator (reply)

2008-05-28 Thread Michal Seliga
I reply to all of you in once... I hope it's not a problem for you all... original message: We are developing an application for palm with Ultralite support (sybase). There is one big problem. Synchronizing with emulator takes more then 1 hour. I would believe that it takes so much with

Ultralite sloooow PalmOS Emulator

2008-05-28 Thread Michal Seliga
Greetings We are developing an application for palm with Ultralite support (sybase). There is one big problem. Synchronizing with emulator takes more then 1 hour. I would believe that it takes so much with real palm connected by serial cable (not tested), but why is the emulator so slow?

FrmDrawForm problems (..unstable state after FrmGetNumberOfObjects)

2008-05-28 Thread Michal Seliga
Greetings My problem is with the form which include dynamically created objects. Initialisation works fine, debugging shows, that all data are correct, all controls and labels created and filled with right data... But when FrmDrawForm is called it always crash with message, that I read from

Re: LstSetListChoices limit?

2008-05-16 Thread Michal Seliga
32767, because all functions which work with list wotk with Int16 +i noticed that on some devices if you have many items and you scroll to position more then 2800 or something near it list will start to behave bad - it will draw items and then delete them all so items will be visible on screen

Re: LstSetListChoices limit?

2008-05-16 Thread Michal Seliga
with your approach there would be problem with scrolling, search based on typed character and such things. all this could be solved, but it wouldn't be simple for such cases it may be better to use table+scrollbar, or custom control based on gadget. Eduardo Orea wrote: My two cents. You

Re: HTTPLibTest crashes on www.google.com/

2008-05-13 Thread Michal Seliga
P REEDER wrote: The sample TCP peer functions log info to a filestream called httplog. Is there a utility to read this filestream (or, I guess, any filestream that contains text)? par will convert it to ordinary file. http://www.djw.org/product/palm/par/ or if log is not long just view

Re: DmSyncDatabase error

2008-05-11 Thread Michal Seliga
Vivian Chen wrote: Hi all: When I call DmSyncDatabase(), it alerts (sync 0505)(0,1142). What does this error mean? 2008-05-08 Vivian Chen that on this devicve there is no such api supported because device doesn't

Re: How to determine if device has wireless connection?

2008-05-01 Thread Michal Seliga
J Wilson wrote: Yeah, I want to know even if it's not connected (i.e. want to know if a connection is _possible_). you may try to read network settings, if there is something...i believe problem is that every device can connect somehow. so themost safe will be probably let user choose,

Re: How to run an application in real device

2008-04-28 Thread Michal Seliga
Ekra wrote: I guess u can test on simulator he can't, he said he made pno program -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: how to exit the application?

2008-04-22 Thread Michal Seliga
karthik wrote: hi everyone, i don't know how to exit the application, i have used appstopevent but the application doesnt exit properly, i used treo 680 simulator, please anyone tell me how to do this. Thanks with karthik you may try to start launcher (by posting vchrLaunch keyDownEvent),

Re: How can I know the size of dynamic heap

2008-04-21 Thread Michal Seliga
check memory manager functions in docs. especially MemHeapFreeBytes, MemHeapSize btw, if you would try to look into docs before asking here i am sure you would find it... even search in palmos headers would be enough Vivian Chen wrote: Hi all: I want to know the size of dynamic heap. How

Re: Phone off Notification??

2008-04-15 Thread Michal Seliga
Sumesh wrote: I need Phone turn off event notification i tried to register the phone event like this err = PhnLibRegister(PhoneLibRefNum, appFileCreator, phnPowerOff); check once more how PhnLibRegister works (in header or docs) /** * @brief Register or unregister (when services == 0)

Re: HTTPLibTest crashes on www.google.com/

2008-04-14 Thread Michal Seliga
definitely not in httplib, i am using it and it works well. but if i remember correctly there were bugs in sample program itself maybe this is one of them. P. Douglas Reeder wrote: I've noted that the HTTPLibTest sample program crashes when you ask it to GET from http://www.google.com/

Re: HTTPLibTest crashes on www.google.com/

2008-04-14 Thread Michal Seliga
on httplib, httplibtest or the API functions. On Apr 14, 2008, at 4:22 AM, Michal Seliga wrote: definitely not in httplib, i am using it and it works well. but if i remember correctly there were bugs in sample program itself maybe this is one of them. P. Douglas Reeder wrote: I've noted

Re: How to activate dinamically the alt of treo devices?

2008-04-07 Thread Michal Seliga
John Spence wrote: Hello, Could you please be a little more specific - it's been a long time since I did any Palm Development, and I'm using the R5 version of the Palm SDK in which I find nothing about HsGrf. I need to do something similar to setting the Alt key on a Treo. Would you please

Re: hexadecimal to decimal conversion

2008-04-02 Thread Michal Seliga
Geetha Arasu wrote: Yes I checked the google too.. For the link given below, to use the function strtol(), need library files stdlib.h.. If I use that function ,it shows undefined reference is there any header files? Thanks! use StrAToI -- For information on using the ACCESS Developer

problems with handling hard buttons on Centro

2008-04-02 Thread Michal Seliga
in my application i register for sysNotifyVirtualCharHandlingEvent notification and i try to detect if user pressed home button and depending on settings i launch my application instead of default launcher my code reacts on vchrLaunch on Treo650 and vchrHard4 on Treo680,700p,755p to detect if

Re: problems with handling hard buttons on Centro

2008-04-02 Thread Michal Seliga
Luc Le Blanc wrote: Michal Seliga wrote: my code reacts on vchrLaunch on Treo650 and vchrHard4 on Treo680,700p,755p to detect if home button was pressed. so far it worked everywhere Perhaps running EventInspector or InputInspector on a Centro would help you track the problem. http

Re: sanjay sent you a friend request on Yaari...

2008-03-31 Thread Michal Seliga
Ekra wrote: what type of message is this ? its called junk and person who sent it should be banished from forums (and beaten with big stick ;-) ) -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Is there any static analyzer for Palm OS?

2008-03-19 Thread Michal Seliga
Hudo Rodrigues de Almeida wrote: Hi, all... Do you know any static analyzer for Palm OS? I am asking this question because we’ve been facing a “frozen screen” after quitting my application. We tried so hard to check for the de-allocation of memory we had allocated, but it seems ok.

Re: Copy picture into simulator

2008-03-19 Thread Michal Seliga
Oleg Ignatov wrote: Hello All, How can I copy any picture into the simulator (for example Treo680)? I tried dragdrop but it failed. every simulator has in its folder subfolder Card1 which emulates vfs. everything you copy there emulator will see as if it was on sd card in slot dragdrop

Re: Get VoiceMail count on Treo

2008-03-17 Thread Michal Seliga
i checked my project, i do exactly same thing and i am sure it works at least on sprint treos - and it never worked on mine which is unlocked gsm. so maybe your problem is also not in code but in provider Oleg Ignatov wrote: Hello All, I am trying to get the count of voice mails. Please

Re: Get VoiceMail count on Treo

2008-03-17 Thread Michal Seliga
Oleg Ignatov wrote: Michal Seliga could you please sent me example how to init phone library for using PhnLibBoxInformation function. I resolved all possible trouble with my provider and I believe that I initialize phone library incorrectly. Michal Seliga [EMAIL PROTECTED] mailto:[EMAIL

Re: bad window?

2008-03-14 Thread Michal Seliga
karthik wrote: hi everyone, i got the runtime error like, window.c, Line:78, Bad window if i give debug it points to the line, WinSetDrawMode(winOverlay); what its mean? anyone know please help me. Thanks with karthik. it means you are using this operation without having walid draw

Re: NULL handle?

2008-03-13 Thread Michal Seliga
i think that you should first learn how to do programming in C, there is lot of available literature and websites about it Karthik Jaganathan wrote: hi oleg, i cant understand what do u mean? From: [EMAIL

Re: SysLibFind() returns sysErrLibNotFound

2008-03-11 Thread Michal Seliga
Oleg Ignatov wrote: Hello All, I am trying to load telephone library but the following code err = SysLibFind(kTelMgrLibName, m_TelRefNum); returns an error: sysErrLibNotFound. I do tests on Treo680 real device. How can I resolve this trouble? Thanks. such library simply doesn't exist on

Re: Hide the pushbutton Frame??

2008-03-10 Thread Michal Seliga
Sumesh wrote: Hi, I am creating an application with several Graphicpushbuttons, these buttons are showing the default frame. Is there any way to remove the frames.I don't want the frames for some push buttons. Thanks in advance. Sumesh NR yes, specify it in your resource file. or use

Re: Hide the pushbutton Frame??

2008-03-10 Thread Michal Seliga
soory, i am blind... i wrote about ordinary button and with this i can't help Sumesh wrote: I tried with CtlGlueSetFrameStyle but its not working, And what about the other method. I'm using the constructor how to disable using constructor. Michal Seliga wrote: Sumesh wrote: Hi, I am

Re: Palm OS on Linux

2008-03-07 Thread Michal Seliga
Viswanathan wrote: Hi all, Now i am creating palm OS applications in metrowerks codewarrior in Windows OS. Can i use the same prc in Linux os which is created in the Windows platform. yes, it will behave the same, it will do same nothing in linux as it does in windows. prc is usable only

Re: Downgraded Software Performance on Palm Centro

2008-03-06 Thread Michal Seliga
a bit offtopic question did you tried to compare also with Treo680? in my application i noticed a huge slowdown between treo650 and treo680 where processor speed is the same but something else is not.I want to know if centro is at level with 680 or even worse.I don't own centro so i can't

Re: One T3's slider not firing winDisplayChangedEvent

2008-03-06 Thread Michal Seliga
maybe he doesn't have these additional prc's installed which are distributed with almost every program? Luc Le Blanc wrote: A friend lent me his T3 for testing and I notice that on his machine, unlike on my own T3, opening or closing the slider does not fire a winDisplayChangedEvent

Re: Change Bitmap ID of a Form Bitmap

2008-03-04 Thread Michal Seliga
not directly but you can draw your own bitmap when you will process frmUpdateEvent and use formbitmaps position for drawing - this is general method and will work with any bitmap (i mean it can be from resources, or dynamically created or whatever you want) or you can use graphics button,

Re: PNG to BMP

2008-02-26 Thread Michal Seliga
there is no library i am aware of which would create .bmp. you will have to create it yourself. its simple format so its not difficult to convert palm bitmap to .bmp. file format description is for example here: http://www.martinreddy.net/gfx/2d/BMP.txt to decode png to palm bitmap you have 2

Re: Dynamically changing items in menu

2008-02-25 Thread Michal Seliga
one possibility is to have 2 menubar resources and set needed one with FrmSetMenu when you need to change it another possibility is to react on menuOpenEvent and use MenuHideItem for item you currently want to disappear. details about how this event work are in reference docs, read it, there

Re: Dynamically changing items in menu

2008-02-25 Thread Michal Seliga
Szymon Ulatowski wrote: Michal Seliga wrote: one possibility is to have 2 menubar resources and set needed one with FrmSetMenu when you need to change it another possibility is to react on menuOpenEvent and use MenuHideItem for item you currently want to disappear. details about how

Re: HsSoundLib

2008-02-22 Thread Michal Seliga
this is famous problem and it was mentioned more then once palm makes headers for codewarrior only, for prc tools you must do some little changes. one of them is that trap definitions can't be enums, you must rewrite them to defines for example, from kHsSoundLibTrapOpen=1 make #define

  1   2   3   4   5   6   7   >