The problem came from a NULL pointer in the form's window structure. The
debug ROMs does not support the Window structure field AddrV20; in the
source code it says it is cleared on purpose to enforce engineers use the
proper API (thanks, Roger).
:)) direct access to screen hey? :)
We
If you had it running on NT Workstation then you had it running on NT
Server. If you are checking on the possibility of running NT Server as a
LocalServer service, I don't think that it's possible due to the way the app
is written plus the way the conduits are written. You would need the access
Can anybody tell me how to hide a scrollbar?
I have tried FrmHideObject() function, but it doesn't seem to work.
thanks,
Flora
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Currently, it seems Microsoft's latest push (which seems the most
successful yet) to switch Palm users to PocketPC deals with encryption.
Now we all know that the Palm's software based encryption is good enough
to protect data, but before there's too much Palm market share lost,
perhaps Palm
I don't know much about Sybase, but given that you were doing a string compare, which
is by bytes, it is unlikely an alignment
error.
So it is either a bad pointer, or the program is trying to write to the storage heap
without going through DmWrite. The latter is
also unliekly for a tested
Hello.
I made a program with lite codewarrior, and I want to launch my application
when the hotsync is complete after to push the cradle´s button. How can i do
?
thanks...
_
Get Your Private, Free E-mail from MSN Hotmail
on 3.5 you have BmpGetBits() - so, on pre 3.5, you still use the old
system :(
Yep. The thing is, you want the old devices to continue using what you had
already developed there while incorporating support for color without having
to create separate application.
however, i believe, you
Hello All,
When I debug using the emulator, the NetLibReceive call returns a
netErrParam error. The code below works fine on the actual device.
/
SWord recv;
short SocketReceiveErr;
CharPtr msg;
MemSet(msg,size,'\0');
recv =
I have a serial IO application created using the 3.1 stationary in Code
Warrior for a handspring visor deluxe. Basically the app receives data from
the serial connection (via the cradle) and updates a field on the screen.
The program works fine for a while but shortly after the fields no longer
Dear all,
Where can I download SDK 4.0 and its documentation? If I using SDK 4.0 for
development, can the program still run on OS3.5?
Oscar
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Hi,
I've found some very strange behavior in my code, and I've distilled the
problem down into these few lines of code:
char s[10];
double d;
s[0] = '4';
d = (double) (s[0] - '0');
HostTraceOutputTL(appErrorClass, "Number is %ld", (Int32) d);
StrCopy(s, "4");
On the windows version of Codewarrior 7 I noticed that when I highlight
a code selction and then try to do a replace string within that section
(checking the box), that it only replaces the first occurance.
I suspect this is a recursive bug, i.e., once it finds (and replaces) a
selction, it
It was very easy. It actually installs itself to a different directory. You
can continue to use R6 if you want (but you need to run the regservers.bat
for each time you switch).
I am talking about the Windows version, BTW.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
In looking at the discussion below, I wonder why you want to install HotSync
on an NT server as a service. Why not just install the HotSync Manager as
an application, the same way you did on NT Workstation?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
My app displays grayscale bitmaps in Palm OS 3.5 (i.e., by using
ScrDisplayMode() to set the correct depth and using Bitmap Families to
choose the correct image). However, I now need to draw a "gray" line on the
screen (not a bitmap) and don't know how to use similar pre-3.5 trickery.
Ideas?
i seem to be getting expression syntax error when I try
datatype* var = ( datatype ) ptr;
the memory pointer is breing created fine. I just cant seem to use it for
my variable??
also, once I have var, how do I set it with some data?
can I just say:
var = {"some stuff","some more
I have a file which is open in the fileOpDestructiveReadMode and I want to
split it up into several regular 32K sized Palm records using FileDmRead.
This is easy.
The trick is that I want to split it up into approximately 32K sized records
so that the split happens exactly which we have a space
Inside the Palm is a CPU, FlashRom, and Ram. There are no other chips.
Adding a chip like this would significantly affect the cost of a Palm IMHO.
Regards,
Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
"DIAMOND JEFF" [EMAIL
-BEGIN PGP SIGNED MESSAGE-
John Wick wrote:
I'm trying to port a VB6 windows app to palm via appforge.
The app reads a vending machine via a serial link and retrieves a data
stream of 70 -200 CRLF lines ~ 4k of data per machine. Typ 30 per day.
The existing program writes the
Jun-Kiat,
Thanks for your help. I found the problem. The Linker/68K Linker/Fast Link
option needs to be checked in an UltraLite application in order for the
Sybase UltraLite Runtime library to divide itself into three small segments.
My problem was caused by this library getting included
how to you free the pointer? and should I be freeing all of my other
pointers?
On Mon, 29 Jan 2001, Steve Mann wrote:
how do I allocate some memory, clear it out, and then set my variable type
to use it???
There are a few different ways to do this. Here's my preferred method:
MemPtr
If you set the values of a scroll bar to 0s, it should hide itself:
SclSetScrollBar( barP, 0, 0, 0, 0 );
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Flora_Mahdavi
Sent: Tuesday, January 30, 2001 2:55 PM
To: Palm Developer Forum
Subject:
Hello everybody,
Could you help me please, I try to divides the aplication in some
modules, but I got the following message "
Regards,
Marco Barrionuevo
Link Error : CobranzasUI.cpp: Global Object 'PPharm' was already
declared in File: 'PharmUI.cpp'.
Link Error : CobranzasUI.cpp:
I know this is probably an easy question, but I just can't seem to find the
answer anywhere. I've looked in the Palm site, and through the reference
and companion docs for 3.5.
I have an app where I use a bitmap to set the background color of the app to
green (white on non-color machines). As
I want to make all the cells of a perticular column in a table to work as
links. If anybody clicks on any cell in that column it should display a new
form based upon the value of that cell.
Keep in mind the cell value is char*
Please help me asap.
Thanx,
Dharm
--
For information on
Thomas Ward [EMAIL PROTECTED] wrote:
s[0] = '4';
d = (double) (s[0] - '0');
HostTraceOutputTL(appErrorClass, "Number is %ld", (Int32) d);
StrCopy(s, "4");
d = (double) (s[0] - '0');
HostTraceOutputTL(appErrorClass, "Number is %ld", (Int32) d);
The output from these
here is my typedef struct:
#define NAME_SIZE 25
#define TITLE_SIZE 25
#define DETAIL_SIZE 1000
#define RECORD_SIZE (sizeof(TestType)
typedef struct{
char name[NAME_SIZE + 1];
char title[TITLE_SIZE + 1];
char detail[DETAIL_SIZE + 1];
}TestType;
then, I create
Hi to all.
Suppose I have the following string:
"1112-Hello"
"11-How"
"474983-are"
What I want to do is to get only the numbers, how can I do this? Which
functions should I use?
Thanks,
Nicolas
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
At 13:56 30/01/2001 -0500, you wrote:
Hi,
I've found some very strange behavior in my code, and I've distilled the
problem down into these few lines of code:
char s[10];
double d;
s[0] = '4';
d = (double) (s[0] - '0');
HostTraceOutputTL(appErrorClass, "Number
Post DatosCliente, and it might be more obvious.
"Nicolas Raitman" [EMAIL PROTECTED] wrote in message
news:37421@palm-dev-forum...
Hi to all. I am having some problems when attempting to read some records
from a Database. The Database consists on:
Cliente (char *) NCliente (UInt16).
I have
Presuming "buffer" contains the string, and you don't mind writing over the
string's contents this is the easiest way:
*StrStr(buffer, "-") = 0;
Regards,
Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
"Nicolas Raitman" [EMAIL
Hi Jason
I'm developing a pqa. I want to dynamically fill a select list based on the current
year.
Is there anyway I can retrieve the current year with a system call to the PalmOS
dynamically fill the html list?
use UInt32 TimGetSecounds() to get the seconds since 1/1/1904
and
Try
var-name instead of var.name.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chad
Harrison
Sent: Tuesday, January 30, 2001 8:27 AM
To: Palm Developer Forum
Subject: cannot StrCopy
here is my typedef struct:
#define NAME_SIZE 25
#define
how to you free the pointer?
MemPtrFree (ptr)
and should I be freeing all of my other pointers?
Eventually, yes. When depends on your code.
Regards,
Steve Mann
--
---
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
but, then when I try
StrCopy(var.name, "some text");
I get "not a struct/union/class" error at compile
StrCopy ( var-name, "some text") should work.
You need to get a basic C programming book and read everything it has
in it about pointers and structures.
Regards,
Steve Mann
--
Dude...you want us to figure out why you're getting a netErrParamErr, yet you
don't even show us your parameters???
I know that one thing is wrong: you're lying to NetLibReceive with regards to
the fromLenP parameter. It wants a _pointer_ to a UInt16. You're passing in
just a UInt16! Just
I am getting the error above when I call the code below for a second time.
info = DmGetRecord( DriversLogDB, CurrentTrip);
Basically, it restores the current info from the DB.
It works fine the first time I enter the app.
But if I leave the app and go back into it it gives me the error.
It is
Alessandro,
Sometimes, the user need to do a network hosync
with the corporate server to obtain new data.
Can you not just handle this in your conduit? Sometimes do a sync with
the server and sometimes do nothing?
Cheers,
Jim Cooper
_
Jim Cooper
Sure you can! I'm attaching an old post with good information.
Ah, I was assuming a PC application.
Cheers,
Jim Cooper
_
Jim Cooper [EMAIL PROTECTED]
Tabdee Ltd http://www.tabdee.ltd.uk
TurboSync - Writing Palm conduits with Delphi
Is there a way to modify the menu titles programatically? For example,
if I have an "Options" menu and I want to change its title to
"Settings".
I know you can use FrmSetMenu() to switch the menubar to a different
one, but that doesn't solve my problem because I don't know ahead of
time what's
i seem to be getting expression syntax error when I try
datatype* var = ( datatype ) ptr;
the memory pointer is breing created fine. I just cant seem to use it for
my variable??
datatype* var = (datatype*) ptr;
also, once I have var, how do I set it with some data?
can I just say:
var =
If after your code was done with the record you didn't do a DmReleaseRecord,
your next attempt to get the record could fail, since the system thinks
you're not really done with it. If you're not modifying the record, use
DmQueryRecord instead, and this won't be an issue.
Mark Peters
in article
I am getting the error above when I call the code below for a second time.
info = DmGetRecord( DriversLogDB, CurrentTrip);
Basically, it restores the current info from the DB.
It works fine the first time I enter the app.
But if I leave the app and go back into it it gives me the error.
You cannot simply typecast between two incompatible types!!! Have you
heard
of stol() or stod() or whatevet they're called... Can't remeber now, my
mind is on /^perl$/o at the moment...
A little too much so, I think. There are no invalid casts in Thomas's
code.
Converting chars to doubles
I don't know what changed (compiler? Win98 vs WinMe?) or what
I can change in my code to make it work.
You could follow John Marshall's advice in his reply to your posting.
-- Keith Rollin
-- Palm OS Emulator engineer
"Thomas Ward" [EMAIL PROTECTED] on 01/30/2001 04:44:16 PM
Please
I downloaded the source but am having problems compiling it (missing
headers, etc). Does anyone have a copy of this application and the prc file?
Can I get a copy email to me pls?
Thanks
Ralph Krausse
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
At 16:21 30/01/2001 -0800, you wrote:
You cannot simply typecast between two incompatible types!!! Have you heard
of stol() or stod() or whatevet they're called... Can't remeber now, my
mind is on /^perl$/o at the moment...
A little too much so, I think. There are no invalid casts in
StrCopy(var.name, "some text");
^
Try "var-name". Best regards, Paul
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
The first message went out during the troubles the mail server was
happening, so I am sending it again... can anyone help?
Hey all.. I'm trying to spawn a modal dialog on a table click, but I'm
having trouble removing the table's highlight and resetting the focus when
the dialog finishes...
When trying my application on different roms, I noticed that the form save behind
feature didn't work on some. On 3.5 and above debug roms the screen redraws after a
form (or alert) has been closed eventhough the form has savebehind enabled. I get a
frmUpdateEvent on those roms (Palm OS
At 17:11 30/01/2001 -0800, you wrote:
Instead, this integral value of 4 is cast via (double) into a double
value. The
string "s" is not converted! Just the result of the expression (s[0] - '0').
-- Keith Rollin
-- Palm OS Emulator engineer
Incidentally,
#include stdio.h
char S[10];
char
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
I try to divides the aplication in some
modules, but I got the following message "
Link Error : CobranzasUI.cpp: Global Object 'PPharm'
was already declared in File: 'PharmUI.cpp'.
Link Error : PedidosUI.cpp: Global Object 'PPharm'
This is what I was talking about A better approach would be to use
proper library transforms instead of type-casting...
Is what you are talking about is that the last few values in your printout
should be "4" instead of "-48"? Perhaps if you took the bugs out of your
program, it would
Does anyone know of a "legal" (by not directly accessing the data
structure) way to set the hasScrollBar and search attributes of a
list? You can't do it in Constructor, you can't do it by dynamically
creating a list with LstNewList, and there is no API to get and set
list attributes like you
On Wed, 31 Jan 2001 01:57:05 +, Igor Mozolevsky
[EMAIL PROTECTED] wrote:
At 17:11 30/01/2001 -0800, you wrote:
char S[10];
char SS[10];
char SSS[10];
...
(unsigned int) (SS[0]) = (S[0]-'0');
This line is wrong. The cast on the left hand side doesn't do
anything. ss[0] is still a
At 18:09 30/01/2001 -0800, you wrote:
This is what I was talking about A better approach would be to use
proper library transforms instead of type-casting...
Is what you are talking about is that the last few values in your printout
should be "4" instead of "-48"? Perhaps if you took
... Good point... Nevertheless, ato*() and strto*() wouldn't exist if you
could just simply type-cast...
You're talking about converting strings to and from integral values, Igor. The
original question was about converting integral values to and from other
integral values. There are no,
At 18:39 30/01/2001 -0800, you wrote:
... Good point... Nevertheless, ato*() and strto*() wouldn't exist if you
could just simply type-cast...
You're talking about converting strings to and from integral values,
Igor. The
original question was about converting integral values to and from
You could follow John Marshall's advice in his reply to your posting.
Whoops, sorry! I could swear his reply didn't appear on the escribe page
when I saw the other responses. Anyway, thanks John and Keith, the floating
point library was indeed the problem. When I got my new computer, I
Igor Mozolevsky [EMAIL PROTECTED] wrote:
call me stupid but why would one want to use char then t/c it to double
then t/c it to uint?
The original author was not wanting to typecast a char to a double then
to a uint. He wanted to convert the *distance* between two characters
(in an
At 22:09 30/01/2001 -0500, you wrote:
Igor Mozolevsky [EMAIL PROTECTED] wrote:
call me stupid but why would one want to use char then t/c it to double
then t/c it to uint?
The original author was not wanting to typecast a char to a double then
to a uint. He wanted to convert the *distance*
At 22:10 30/01/2001 -0500, you wrote:
You could follow John Marshall's advice in his reply to your posting.
Whoops, sorry! I could swear his reply didn't appear on the escribe page
when I saw the other responses. Anyway, thanks John and Keith, the floating
point library was indeed the problem.
I know this is probably an easy question, but I just can't seem to find the
answer anywhere. I've looked in the Palm site, and through the reference
and companion docs for 3.5.
I have an app where I use a bitmap to set the background color of the app to
green (white on non-color machines). As
I don't want to surprise you but there's a library function for that in
the
standard C library, ...
That doesn't suprise me.
... and I'm sure folks at PalmHQ managed to port it to palm...
Ah, now that WOULD surprise me. Tell me, O Wise One, what is the name of the
Palm OS function that does
I finally found the problem. In PalmMain, my sysAppLaunchCmdSyncNotify was
creating a database and NOT creating the AppInfo correctly. It didn't
appear in the emulator because the app loaded automatically (without the
HotSync) and my Viewer program which examined the database never saw the
doh! thanks to all for the obvious oversight.
On Tue, 30 Jan 2001, Steve Mann wrote:
but, then when I try
StrCopy(var.name, "some text");
I get "not a struct/union/class" error at compile
StrCopy ( var-name, "some text") should work.
You need to get a basic C programming book
You can do something like:
RGBColorType color;
color.r = 0x0;
color.g = 0xFF;
color.b = 0x0;
WinSetBackColor( WinRGBToIndex( color ) );
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike
Walters
Sent:
This will help me set the background color if I know the RGB value.
However, the bitmap I need to place the text on top of was created in
Constructor using the palatte of colors available, and I'm not sure which
shade of green it is. Is there any way to query the bitmap to get its
color?
What is the strategy for developing apps which work on 3.0-3.5, using the
3.5 SDK? It seems that some portions of my app work great on 3.5, but seem
to crash 3.1. Are there any docs for the 3.1 SDK? I know that there are
docs which point out the changes in the OS and SDK from in 3.5, but so far
Keep in mind that I'm not an authority on this, but I don't see that the
"hasScrollbar" bit is supported. Yes, there's mention of it in the SDK
documents, but I think the tech writer just filled in a description for a field
that's not supported. There are a few checks of "hasScrollbar" in the
I missed the part about drawing text on top of the bitmap... Given that, I
think you _are_ headed down the wrong path. I would focus on trying to find
a way to have a transparent background color. I'm not sure of the exact
solution but looking at WinPaintChars with WinDrawOperation looks
Hi to all... is there any reason for which I cannot declare this:
typedef struct
{
UInt32 test;
} Test;
the problem here is in declarating the static UInt32. I do not know why but
when I do this:
void foo (void)
{
Test test;
foo2(test);
/* here test.test will be equal to 0,
From: Kristian Adrup [mailto:[EMAIL PROTECTED]]
On 3.5 and above debug roms the screen redraws after a form
(or alert) has been closed eventhough the form has savebehind enabled.
I get a frmUpdateEvent on those roms
This is correct and intentional. The debug ROM does this to exercise your
Thanks Keith. I figured someone might have _some_ information.
Keep in mind that I'm not an authority on this, but I don't see that the
"hasScrollbar" bit is supported.
Sounds like it's time to check the Source Code.
As for "search", the only place I could find it being set is in the Expense
Won't (and shouldn't) POSE complain about that?
Not if that's the only way to set a flag that users should be able to set.
Poser has only just (in the last few days) had the ability to check for accesses
to certain dynamic data structures (specifically, windows, forms, and form
objects).
When i tap on the Aelfred icon i get an error message saying Error verifying
class EventDemo please help me out solve this problem
Thanx
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Try:
WinPushDrawState();
back_color = WinSetBackColor(WinGetPixel(x, y));
...
back_color = WinSetBackColor(back_color);
WinPopDrawState();
the coor is anywhere on the background bitmap.
Regards
horace
"Mike Walters" [EMAIL PROTECTED] wrote in message
news:37620@palm-dev-forum...
Please follow the "Palm OS 4.0 Tools" link on:
http://www.palmos.com/dev/
Regards
horace
"Oscar" [EMAIL PROTECTED] wrote in message
news:37601@palm-dev-forum...
Dear all,
Where can I download SDK 4.0 and its documentation? If I using SDK 4.0 for
development, can the program still run on
From: sa Godin [mailto:[EMAIL PROTECTED]]
is it possible / recommended or not to use C++ exception handling
with try/catch when developing for PalmOS?
It's possible but with some issues to be aware of. First, of course
exceptions increase code size. At least in CodeWarrior, using try/catch
79 matches
Mail list logo