Nope, if an application is large enough the handlers for different forms
could be in different source files and, in this case, could not be declared
as static as they generally must be visible to the AppHandleEvent
function.
From: rguevara [EMAIL PROTECTED]
Reply-To: Palm Developer Forum
http://lthaler.free.fr/ and see The sources... section.
From: RĂ©gis Daniel de Oliveira [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Source Code for LFTP
Date: Fri, 24 Oct 2003 11:56:40 -0200
Does anybody know where can i
The problem may be that the unit is running out of resources because the
created sockets are 'lingering' after they are shutdown. I had the very
same issue before that the ftp client could not create or connect sockets
after a certain number of data connections had been made. The following
You can't establish a PPP connection via serial cable automatically. The PC
must be set up to accept an incoming connection via the serial port. If you
are running Windows 2000 or NT then take a look at the following link
http://www.users.globalnet.co.uk/~echobase/network/win2k/#linkdirect
It
Unless you're running Linux or Unix, of course.
Pardon my Windowcentricity :)
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
_
Add photos to your
Your device is not able to establish a network connection for some reason.
The reason the emulator works without a problem is that it is using the
hosts tcp/ip stack and therefore is already on a network (most likely).
Therefore NetLibOpen will succeed automatically. Are you sure you have set
I had exactly this requirement for a project but I approached it
differently. I wrote two functions, the first to draw an unchecked
checkbox and the second to draw a checked checkbox (functions used
WinDrawLine). Each of the records to be displayed on the list began with a
Boolean value to
Take a look at http://www.whizoo.com/index.php or www.petereaston.com if
you're willing to spend a few bob. I've asked a similar question quite a
few times (i.e. how to programmatically change the current network service)
and never really got an answer.
Ger
From: Jim [EMAIL PROTECTED]
I am creating a test bitmap (160x120 16 bit depth, BitmapV2) and trying to
save it as a bitmapRsc resource in a database. I create the bitmap,
associate it with a created offscreen window, draw some simple lines. After
its created BmpGetSizes results in the expected header size of 24 bytes and
Try 'Palm OS Network Programming' by Greg Winton or the source code to the
LFtp application at http://lthaler.free.fr/.
Regards,
Ger
From: Alexandre Barreto [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Where can i find a
correction, should be
err = MemHandleResize(h, MemHandleSize(h)+(len+1));
From: Gearoid Murphy [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Re: newbie question: how to read a string from a MemHandle?
Date: Thu, 07 Aug 2003
for your reply. However, when i try to access strP my
programm crashes telling me it read memory from the memory manager data
structures. Any idea what i did wrong? i locked the handle to write it,
unlocked it, locked it again by
strP = (Char *)MemHandleLock(h);
accessed strP and it crashed.
Gearoid
Char *strP;
strP = (Char *)MemHandleLock(h); // h is a MemHandle
if (strP)
{
// Do stuff with strP
}
// Make sure to unlock MemHandle
MemHandleUnlock(h);
From: blaman [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: newbie
I think its a good idea to look at Greg Winton's book. It gave me a great
introduction to how the net library works (although I still have a lot to
learn). I would suggest that you take a look at the LFtp application at
http://lthaler.free.fr/. You can download both the application and the
I would very much like to devise my own means by which a user could view a
list of the available network configurations and select the one to be made
active (I don't want to go to the Network preferences panel).
The functions NetLibConfigList and NetLibConfigMakeActive look perfect to
achieve
You can untick the fields 'Editable' attribute in Constructor and
programmatically set the fields text using FldSetText, FldSetTextHandle or
FldSetTextPtr (FldSetTextPtr only to be used with non-editable fields).
Regards,
Ger
From: Jeremy Roberson [EMAIL PROTECTED]
Reply-To: Palm Developer
What about doing something like the following? In your application, re-map
the contrast button so that it launches some application (e.g. Calc) using
PrefSetPreference.
Create a global variable that delermines whether or not you allow an exit
from your application:
Boolean bAllowAppExit;
Come to think of it I'm not sure if you're able to re-map the contrast
button.
From: Gearoid Murphy [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Re: Handling the contrast button on Palm V and Palm IIIx
Date: Thu, 27
Palm applications such as Calc, Memopad etc are installed on the ROM and
therefore can only be deleted by reconfiguring the ROM and downloading it to
the unit. Why don't you install your application in flash memory using
something like FlashPro by Handera. That way your application won't show
The Symbol 1700/1800 SDK (3.10 is the latest, I think) seems to include the
types that were discontinued in the Palm OS SDK from version 3.5 onwards
(e.g. DWord, Word, SWord etc). Is it possible to include the Symbol SDK in a
project that uses the latest Palm OS SDK? Do you use the
Hi,
Is it possible to have the HotSync Manager running on a Windows machine and
sending and retrieving files via a Samba connection to and from a UNIX
machine during synchronisation? Can this kind of network drive be treated as
any other drive? The HotSync manager would only be installed on
Can anyone tell me why the following code would cause a bus error in POSE
when the added connection is viewed in the Connection Preferences Panel. The
AddMyProfile function is taken directly from the documentation on
CncAddProfile in the kb.
// found in documentation for CncAddProfile
void
Thanks lads, I was looking at old documentation.
Regards,
Ger
ps: I think the bus error in the Emulator may be a problem with the Emulator
adding connections in this way. The reason is that I completely transcribed
the AddMyProfile example in the documentation on CncAddProfile. Even when
this
I know I've asked this before and the fact that I haven't got a definitive
answer should tell me to let it lie but here goes anyway. Is there any way
to programmatically change Network preferences? I'm thinking specifically of
the connection that a Windows RAS network connection uses. Does
In the Network Preferences Panel you can set the Connection to
-Current-. I'm not sure how the current connection is determined. Is it
possible to set the current connection programmatically beforehand so that
when a Network HotSync is done it will use this connection?
Regards,
Ger
I know this is a long shot but is there anyway to force a Palm unit to
retain its user details when the battery goes flat or after a hard reset. Is
there a database that can be flashed that will allow the unit to retain the
userID etc.
The reason I am asking is that we are doing a network
I've noticed that some applications (ScoutSync for example) have access to
the Network preferences panal so that the user can configure network
settings from the application. The 'Done' button returns the user to the
main application. I want to have access to this in my application but the
Hello everyone,
On the Network Preferences panel you can configure a Windows RAS type
connection and specify a particular connection method and phone number etc.
You can then press the connect button to make the connection to the host.
Once this RAS connection has been configured is it
I have asked this question before in a round about way but haven't been able
to solve the problem. Does anyone know where the HotSync settings are stored
and if it is possible to access or modify them from another application? I
have 2 remote connection configurations configured on the unit
Hello everyone,
My application launches HotSync programmatically after asking the user to
choose between a remote or direct serial connection.
if (commsMode==REMOTE_COMMS)
{
err=SysUIAppSwitch(cardNo, dbID, sysAppLaunchCmdSyncRequestRemote, 0);
}
else if (commsMode==LOCAL_COMMS)
{
Hello everyone,
Here is just something I noticed. If you call another application within
your application and then set an alarm, any pop-up lists in the called
application will close when the alarm is triggered. This is really
problematic when the alarm is called continuously until some
Hello everyone,
This is a simple problem. I have a checkbox that when ticked causes the
backup bit for a database to be set and when unticked causes the backup bit
to be unset. The problem is that I don't know the syntax for unsetting the
backup bit:
error = DmDatabaseInfo(0, dbID, NULL,
Hello everyone,
My problem is very similar to Marta's. I would like to launch my application
directly after a (soft) reset so that no key has to be pressed.
Since SysUIAppLaunch cannot be used as a response to a
SysAppLaunchCmdSystemReset launch code I have tried sending my application a
launch
Does anyone know what version of CodeWarrior you need to make use of the
Notification manager. I am using CodeWarrior Release 6 and NotifyMgr.h is
not present. Is it possible to upgrade without buying a new development
environment.
Regards,
Ger
Hi all,
I am wondering whether it is possible to launch HotSync programmatically
from an application I am developing. Ideally I would like to launch HotSync
as a subroutine so that it returns to the same point in my application once
it is finished. I haven't been able to find any code to do
I am using a lot of lists where each line in the list contains a number of
fields eg. product quantity price. However Constructor does not seem to
have any fixed width fonts making it very difficult to format the lines so
that a particular field in each line always starts and ends at the same
36 matches
Mail list logo