Hello,
I try to make some parts of code in assembler but I don't know how to
debug it (make steps and watch registers/memory). I can run it and see
if it works but it is insufficient to me unfortunately...
I tried to run POSE and PalmOSDebugger.exe from Palm OS developer suite.
I can run
Lynn Allan wrote:
I looked at the Palm docs, and found the info:
Call this macro to display an error message, source code
filename, and line number. This macro is compiled into the
code only if the compiler define ERROR_CHECK_LEVEL is set
to 1 or 2 (ERROR_CHECK_PARTIAL or
Hi Folks,
I want to add a button dynamically to a form that is popped up with
FrmDoDialogue.
I can dynamically add a button to my own test form with:
CtlNewControl ((void
**)frmP,NewButtonID,buttonCtl,2,37,129,18,23,stdFont,0,false);
Thanks worked well (rather tedious to do each size and bit-depth by hand,
but such is most of development)
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
I am working on a project that involves porting some ANSI C code into a Palm OS
5 application. The old code makes extensive use of the sscanf() function and
there is no equivalent in the Palm 5 SDK. Does anyone have some code or a
library with a function that works similiarly to sscanf()?
On 11/29/06, Horace Ho [EMAIL PROTECTED] wrote:
I used to PrefSetPreference(prefLauncherAppCreator, myid) to replace the
default launcher with my own.
It works well until some Treo 680 and 700p users reporting hitting the
Home button does not invoke my app anymore.
Since I don't have a
Hi
thanks so much. It works now. I can write to a database and retrieve the data
when I load the application again. The problem now is that I only retrieve the
first four characters. It does not matter if I write 5 or 10 characters, it
only retrieves four.
static void AppStop(void)
{
The only thing I would check is if you have around 32k records, and your
CW is set for 16bit integers, then your loop counter 'rec' will
probably not behave correctly when you get to the 32k'th record.
Jerome
Lynn Allan wrote:
alert comment=newbie using CW9.3 /
I've got a 4mb .pdb file
Hi,
I suspect you should be using StrLen(text)+1 which gives the number of
characters in the text string (pointed at by text) plus 1 for the null
terminator.
The sizeof operator gives the size in bytes of the object you give it. In
this case you have asked for the sizeof a pointer (text) which
a) test your popup without the dynamic control. Does your 5-way
still operate on the wrong form?
b) are you calling FrmInitForm and setting the event handler for the popup?
c) most of us use hide/show object and leave the dynamic UI as
static (but invisible) elements in the Constructor/PilRC
I have the same result
I've changed to StLen(text)+1 but I only retrieve the first four characters of
my record.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
On Thu, 30 Nov 2006, lulu wrote:
I have the same result
I've changed to StLen(text)+1 but I only retrieve the first four characters
of my record.
Did you change it in all the locations where you were using sizeof(text)?
--
For information on using the PalmSource Developer Forums, or to
Ops!
It's true, I forgot one in my MainFormHandleEvent
it works now
Thank you
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Greetings,
Does anyone know a way to programmatically change the DIA input method on
the T5/TX/LD, between Graffiti2, ABC, abc and 123 keyboards?
If I have the G2 DIA input method displayed, posting vchr 1292 changes to
ABC, 1293 changes to abc, and 1294 changes to 123. However, once I am on
I'm a newbie and I'm trying to import in my application a bmp. After
having created the bmp named heart.bmp:
http://nuthinking.com/temp/palm.png
I put in the .h:
#define HEART_image 5000
in the .rcp:
BITMAP ID HEART_image heart.bmp COMPRESS
and in the .c:
MemHandle rHandle =
15 matches
Mail list logo