If it's a button, you should be responding to a ctlSelectEvent for that
button, which is generated by the Palm OS if a penDownEvent and a penUpEvent
occur within the bounds of the control.
Regards,
Steve
-Original Message-
From: thomas [mailto:[EMAIL PROTECTED]]
Sent: Friday, September
Try using OffsetOf, and include PalmTypes.h.
Regards,
Steve
-Original Message-
From: Jason Partyka [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 16, 2000 2:54 PM
To: Palm Developer Forum
Subject: weird C error with builtin macro
Hi,
I'm trying to compile an application with the
Possibly, you're trying to access global variables when the Palm receives a
sysAppLaunchCmdSystemReset. In your PilotMain, make sure that you have
if (launchCode != sysAppLaunchCmdNormal) return 0;
as your first statement or, a switch statement that handles the different
launch codes.
You can
It's in the SDK for the 3.5 OS. The define that they use for the macro in
that header is:
#define OffsetOf(type, member) ((UInt32) (((type *) 0)-member)).
You should download the latest SDK, it's available at:
http://www.palmos.com/dev/tech/tools/
Regards,
Steve
-Original Message-
-Original Message-
From: Jason Simpkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 1:08 PM
To: Palm Developer Forum
Subject: Re: Chunk Over Locked over on launch, Update
Yes, I miss typed, 10 times. I have gone over my code a billion (yes
1,000,000,000) times and
Possibly, you're trying to access global variables when the Palm receives a
sysAppLaunchCmdSystemReset. In your PilotMain, make sure that you have
if (launchCode != sysAppLaunchCmdNormal) return 0;
as your first statement or, a switch statement that handles the different
launch codes.
You can
Jason,
Even though you have matched all of your MemHandleLock calls with a
corresponding MemHandleUnlock call, your code may not be performing those
calls because of the program logic. I haven't seen your code, but that's my
guess. Check to make sure that you don't branch, or exit the form,
DmGetDatabase will return a local ID. You must pass it the database index.
The index can range from 0 to DmNumDatabases -1.
Regards,
Steve
-Original Message-
From: Farzin Ashraghi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 6:30 PM
To: Palm Developer Forum
Subject:
No, use MemMove instead, it actually works like MemCopy in that it doesn't
erase the existing memory. It will also handle overlapping memory (in which
case, it will overwrite some of the original memory).
Regards,
Steve
-Original Message-
From: Ralph Krausse [mailto:[EMAIL PROTECTED]]
You must lock a database record to get a pointer to it. You need the
pointer to write to the database. You lock a record by calling
MemHandleLock with the record's handle. Each MemHandleLock call must be
balanced by a MemHandleUnlock call. The records must also be released,
generally using
Make sure that function 'MainFormHandleEvent' is not declared as static.
You should also put a function prototype in the header file (MainForm.h) for
the module (MainForm.c) that includes 'MainFormHandleEvent'. You must do
this for any function that you call from outside the module (.c file)
Try using DmGetNextDatabaseByTypeCreator, using type 'appl' and the creator
ID of the application you're searching for. It returns dmErrCantFind if it
can't find the database.
Regards,
Steve
-Original Message-
From: Charles Rezsonya [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27,
but then i found that it doesn't work with open dbs.
anywaz, say i have a string "XX22", and i want to use that as the search
pattern,... i would normally pass 'XX22' which is an int. how do i convert
the string into the ' ' format?
-Original Message-----
From: McMicken, Ste
You could just define the name as a constant in a header file, then you only
have to make one change to the code. Barring that, you could step through
all of the databases by index using DmGetDatabase, which will give you a
local ID. Use the local ID to call DmDatabaseInfo, which will return a
if you want to write ansi compatable code.. do this:
#define memset(ptr,size,val) MemSet(ptr,val,size)
This is already done for you in the unix_string.h header file.
Regards,
Steve
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
It's online at:
http://www.palm.com/devzone/docs/pptdg/TableOfContents.htm
Neil's working on the second edition, you might want to wait until that
comes out to buy it.
Regards,
Steve
-Original Message-
From: Richard Anderson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 8:45
You can "cancel" any event by indicating that you have handled it. The
system handles alerts and popups in separate loops outside your program.
You must either provide your own handler for these situations, or you can
intercept appStopEvents to prevent the user from exiting.
Regards,
Steve
You should include the header files from the System\Unix include directory.
The specific header that you want is "unix_stdarg.h" I've used it
successfully in Palm OS 3.1.
Regards,
Steve
-Original Message-
From: Anne Srinivas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 7:29
I think it means that the value is not assigned. I would check the types
for precord and hrecord, and make sure that you've allocated memory for
hrecord. If that line of code is causing the crash, your problem is
probably with the value being assigned to hrecord. That's my guess.
Regards,
If you're trying to set memory to zero, and your using the parameter order
for 'memset', MemSet will act as though it is not doing anything, i.e., set
zero bytes to a value equal to the number of bytes that you wanted to set.
Regards,
Steve
-Original Message-
From: DCU [mailto:[EMAIL
I'm pretty sure that you cannot pass a null string as an argument to StrCat.
Does your program check for that? Other than that, somewhere in the "some
code in between", you are not setting parameters up correctly for the if
statements to evaluate to true.
Regards,
Steve
-Original
dmMaxRecordIndex is not a function. It is defined in DataMgr.h as a
constant equal to 0x. It represents the highest record index you can
have in a database.
Regards,
Steve
-Original Message-
From: Mr. Somnath Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 9:26
Your array should be of size 5 (4 characters plus the end of file
character). Also, you cannot assign strings, use StrCopy. Hope that helps!
Regards,
Steve
-Original Message-
From: Patrick Ouellet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 12, 2000 12:48 PM
To: Palm Developer
I've used SyncReadUserId, which returns user information in the CUserIDInfo
class. Then PltGetUserDirectory will give you the user's directory.
Although I haven't used them, you could also possibly use the User Data
APIs, but I think you need a user index, which you might be able to derive
from
11, 2000 2:55 PM
To: Palm Developer Forum
Subject: Re: StrIToA
"McMicken, Steven" wrote:
Before using the pointer, you must allocate space for the string using
MemPtrNew (LengthOfStringPlusOne) or by setting the pointer equal to a
character array name, such as,
char str[5]
To: Palm Developer Forum
Subject: RE: Constructor for Palm OS Bug
Dan,
Could you send me your resource file so I can take a look at it? I'll be
glad to report it if I can reproduce it.
-hkmlt
-Original Message-
From: OBrien, Dan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 10, 2000 8:0
Should 0xEF actually be 0x7F?
Regards,
Steve
-Original Message-
From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 2:16 PM
To: Palm Developer Forum
Subject: Re: bits of string
If you want to clear the bits...
char *ClearFirstLastBits(char *TheString)
{
See KnowledgeBase article #1674.
http://oasis.palm.com/dev/kb/article.cfm?id=1674
It tells you how to HotSync through the COM ports, or using a network
HotSync.
Regards,
Steve
-Original Message-
From: "Löfving, Christer" [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 7:50 AM
The CharPtr points to a location in memory. When you set it equal to 0, you
are pointing at location 0.
Before using the pointer, you must allocate space for the string using
MemPtrNew (LengthOfStringPlusOne) or by setting the pointer equal to a
character array name, such as,
char
Look at the events that you are handling in your form handler. It could be
that you are returning true on events, thus, not allowing the system to
handle those events that the system needs to handle in order for your field
to work.
I'm sorry if that sounds like circular logic. Without code to
Hard keys are returned as keyDownEvents. Chars.h will give your their
values (vchrHard1 through 4). Handle these keyDownEvents in your handler
before passing the event to the system. Return true if you don't want the
system to handle the event at all.
Regards,
Steve
-Original
Many of the Unix functions map to PalmOS functions. You can keep many of
them, without rewriting code, by including the appropriate unix_.h
files. You can find the files in the \Palm OS 3.5
Support\Incs\Core\System\Unix folder/directory.
Regards,
Steve
-Original Message-
From:
See KnowledgeBase article #1674.
http://oasis.palm.com/dev/kb/article.cfm?id=1674
Regards,
Steve
-Original Message-
From: Samuel Tu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 1:44 PM
To: Palm Developer Forum
Subject: Using VC++ debug Conduit Question? Please Help
Hi
I setup VC++ and debug the conduit when I
press the hotsync button in POSE
Sam
-Original Message-----
From: McMicken, Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 2:04 PM
To: 'Palm Developer Forum'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Using VC++ debug Conduit Question? Please
Why don't you use StrAToI? The Palm OS Reference says to "Use this function
instead of the standard atoi routine."
Regards,
Steve
-Original Message-
From: Samuel Tu [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 5:28 PM
To: Palm Developer Forum
Subject: Linker Error: atoi
DateType puts all of the date information in a 16-bit unsigned integer.
Also, it only contains year, month, and day. DateTimeType breaks the hour,
minute, second, etc. into individual 16-bit integers (more memory, but
"easier" to deal with).
To see the years since 1904 from a DataType
Must you remove objects? As a workaround, can you hide them with
FrmHideObject?
Regards,
Steve
-Original Message-
From: Vikas Varshney [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 3:42 PM
To: Palm Developer Forum
Subject: FrmRemoveObject problem !!
Hello,
I am facing the
I use MemHeapFreeBytes to get the free memory and the largest free chunk. I
haven't compared the return value from this call with the value from
MemCardInfo. Just a thought, hope it helps!
Regards,
Steve
-Original Message-
From: Brian Mathis [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
You might want to use FrmHideObject and FrmShowObject instead. If I read
correctly, FrmRemoveObject may return a different pointer to your form, that
might be causing your problems.
Regards,
Steve
-Original Message-
From: vikas varshney [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June
You could use *saved* or *unsaved* preferences. Look at the Preference
Manager functions, particularly PrefSetAppPreferences. Just pass your
structure to this function and the system will save it for you.
Regards,
Steve
-Original Message-
From: Ben Hamby [mailto:[EMAIL PROTECTED]]
Is Strtok your own function, or are you trying to use the C function?
If it is the latter, Strtok is not defined in the Palm API, you will have to
use those defined under the String Manager (see the reference manual), or
create your own function.
If it's your own code, please post the code.
You can have a large 4MB database.
With that many records, though, it will take forever to HotSync. I have 4MB
databases that HotSync in ten minutes or so, but they only have about 100
records.
You also take an overhead hit. Each record will add eight bytes to your
database header, so you're
It sounds like you need to get a book on C programming, Kernighan
Ritchie's "The C Programming Language" is probably the best.
But briefly, you should put function prototypes of those functions you want
to call from another .c module in the header file. Then #include the header
file in the
In response to frmLoadEvent, you should set your event handler using
FrmSetEventHandler (if you have separate event handlers). In your form
event handler, you should put the code below under the case of frmOpenEvent.
Regards,
Steve
-Original Message-
From: Ben Hamby [mailto:[EMAIL
The parameters are card number (= 0) and the database ID (type LocalID).
DmFindDatabase will return type LocalID.
You should really get a copy of the Palm OS Reference, it comes with the SDK
(in PDF format) and has information like this. You can also find the
parameters in the header files.
Do you mean "fields" or "records"? DmNumRecords will return the number of
records when fed a DmOpenRef. If you want the number of fields, and it's
your database, you should know what structure you are saving in each record
and, thus, how to count them.
Regards,
Steve
-Original
have to tell it that there are 5 fields? Ex:
is there someway i could do something like:
Int NumOfFields = FunctionToCountFields(some kind of database ptr);
or would I have to just say:
Int NumOfFields = 5;
"McMicken, Steven" [EMAIL PROTECTED] wrote in message
news:13595@palm-dev-forum..
I have used:
MemHandle verH = DmGet1Resource( 'tver', appVersionAlternateID);
to get the version that I enter in the Constructor.
Regards,
Steve
-Original Message-
From: Ralph Krausse [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 02, 2000 3:16 PM
To: Palm Developer Forum
Try SyncWriteSysDateTime. I haven't tried it, the reference says it does
work on HotSync versions prior to 2.2. Hope this helps!
Regards,
Steve
-Original Message-
From: Silvia Brunet [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 2:22 PM
To: Palm Developer Forum
Subject:
In your event handler for the form, when a ctlSelectEvent occurs, if
eventPtr-data.ctlSelect.controlID == foobutton, put an F in field1, if
eventPtr-data.ctlSelect.controlID == barbutton, put a B in field1. Use the
field functions to enter text in the fields. You should probably make the
fields
Look at this thread:
http://www.egroups.com/message/palm-dev-forum/27282?start=26334
Regards,
Steve
-Original Message-
From: Sam Trimble [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 31, 2000 11:31 AM
To: Palm Developer Forum
Subject: DmNumRecords w/ DmDeleteRecord
Hey,
I'm using
r whatever it may be).
Regards,
Kevin Mckee
-Original Message-
From: McMicken, Steven [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 31, 2000 10:21 AM
To: Palm Developer Forum
Cc: '[EMAIL PROTECTED]'
Subject:RE: Ok, I'm drawing a blank...
In your event handler fo
The title is an object, it's index is zero (0). I found this out by trial
and error, Palm does not document it and, although FrmHideObject and
FrmShowObject will work on the title using index 0, it officially does not.
See this response from Palm and the associated thread:
The address book code is in the Examples folder in the SDK download. Look
at function AppHandleKeyDown in Address.c to see how they handle the
hardware button.
Regards,
Steve
-Original Message-
From: Josh Aversa [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 11, 2000 9:23 AM
To: Palm
Do you want to actually create an event, or react to a condition?
If it's a condition, you could use a global Boolean (or integer if you have
more than two conditions).
To create an event, you could use the System Event Manager routines.
EventAddEventToQueue will add it to the event queue. You
Do not free all of your memory before closing. If your form handler does
not intercept frmCloseEvent, FrmHandleEvent will be called. When called it
tries to release memory for your form, which you've already released, so the
handle is invalid. I don't know the details, but that is basically
Pass addresses for the first two parameters in the statement giving you
problems:
matchRec = alFindRecNum(keyElems[k], Values[j][k], Sizes[j][k],
RecNums[k]);
You were passing values, not pointers. I didn't look at the rest of your
code, but you may want to check this throughout.
The readme file says something about opening the Fonts folder in the Windows
subdirectory if you have problems with fonts. Simply open it and close it,
then reboot. If I remember correctly.
Regards,
Steve
-Original Message-
From: Raymond Chan [mailto:[EMAIL PROTECTED]]
Sent:
Two hours is excessive for 1 MB. Is there any way you can reduce the number
of records? HotSync Manager must call a "Sync" function each time it
accesses (or writes) a record, and this slows down the process. I sync 3.7
MB databases in ten to fifteen minutes, but they use about 900 4K records.
Bob,
The Palm OS Reference says to use FrmHideObject and FrmShowObject (in
certain cases) in the description of FrmSetTitle. FrmHideObject and
FrmShowObject require an object index. I use zero for the title's index,
and it works (so far), but I haven't been able to find it documented. Is
this
I believe that the first byte is the record attributes, the next three bytes
form the unique ID, so you want to ignore it, but not necessarily to zero it
out.
These entries form part of the database header, eight bytes per record. The
first four bytes are the record offset from the start of the
PROTECTED]]
Sent: Wednesday, April 19, 2000 12:36 PM
To: Palm Developer Forum
Cc: Palm Developer Forum
Subject: RE: Form Titles
At 3:41 PM +0100 19-04-00, McMicken, Steven wrote:
The Palm OS Reference says to use FrmHideObject and FrmShowObject (in
certain cases) in the description of F
Just a guess, but you are probably still unlocking something, that is being
unlocked by the system now that you are returning false from your handler.
Is DmResetDatabase your function? I cannot find it listed in the reference.
Regards,
Steve
-Original Message-
From: Jason Simpkins
Define your set flags as constants. Then do compares using logical bitwise
operators (e.g., (and), | (or), ~ (not), ^ (exclusive or) ).
Regards,
Steve
-Original Message-
From: DeAnna Davidson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 18, 2000 8:58 AM
To: Palm Developer Forum
If you are using a switch statement, make sure you have a break statement at
the end of each case and that the brackets are properly aligned. If memory
serves, the frmLoad should occur first and that is where you want to assign
your event handler. That's my guess without seeing the code.
Just a quick guess, but I would not return true when handling the
appStopEvent. The system needs to handle this event, also.
Regards,
Steve
-Original Message-
From: Haagensen, Brandt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 18, 2000 4:51 PM
To: Palm Developer Forum
Subject:
IMHO, the best book on the Palm OS API's is the Palm OS Reference. You can
find a code repository at the Palm Developer's site:
http://www.palm.com/devzone/
Regards,
Steve
-Original Message-
From: Meir Rotfleisch [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 14, 2000 6:01 AM
To: Palm
What types are you passing as your parameters? Are they what the API
expects?
Regards,
Steve
-Original Message-
From: Tim Astle [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 14, 2000 9:51 AM
To: Palm Developer Forum
Subject: FplFToA question
I tried to use the Float Manager
(); before and after the
call,
but it didn't work either.
I later tried what was suggested here, but to no avail. (NewFloatMgr.h)
http://www.developer.com/directories/palm/knowledgebase/1089.html
Tim Astle
McMicken, Steven [EMAIL PROTECTED] wrote in message
news:8297@palm-dev
Have you localized the problem to the GetValue function? The problem could
be in the UnpackValue code. Are you allocating memory for the CharPtr in
the program that calls GetValue? These are just guesses, without more code,
I can't suggest much more.
Regards,
Steve
-Original
You could download CDK 3.0, which I believe has hotsync version 3.0.
Download from this site:
http://www.palm.com/devzone/cdkwin/cdkwin.html
Regards,
Steve
-Original Message-
From: Pete [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 10:10 AM
To: Palm
The index should be of type UInt16, the maximum index is dmMaxRecordIndex (=
0x). Another possible problem with DmGetRecord is not releasing the
record to clear the busy bit before using DmGetRecord on it again. Look at
the index you're passing, is it a signed variable? Hope this helps.
Step through your program using the debugger. Check the value of UniqueID
when you get to the VoidHand declaration. It sounds as though you are
asking for a record index that does not exist (yet). How are you setting
the value of UniqueID?
Regards,
Steve
-Original Message-
From:
You put your Palm in console mode using shortcut 2, which is cursive l,
period (dot dot), and 2. You'll have an easier time debugging using the
emulator, though. On the menu, under Edit Preferences, choose Palm OS
Emulator as your target in the Palm Connection. You probably want to check
I think it's complaining about your use of 129 in place of enumerated type
fontID. The fontID enumeration can be found in header file font.h. Try
defining a variable of type fontID and assigning it a value of 129, or cast
129 in the function call to (fontID). Hope this helps.
Regards,
Steve
The page up and page down keys on the keyboard act as the up-down button on
the emulator. It works in HotSync to get the "Developer's Back Door." I
usually have to try a couple of times to get it to work during reset. Hope
this helps!
Regards,
Steve
-Original Message-
From: Tom
DmFindDatabase returns type LocalID, which I believe is defined as a DWord,
not an int. Your problem may be there.
Regards,
Steve
-Original Message-
From: Al Macy [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 07, 2000 3:10 PM
To: Palm Developer Forum
Subject: ?Unable to
It depends on your application. You could actually use one database, but
store the three sections in three different records of your database. Three
databases is probably cleaner, though.
Regards,
Steve
-Original Message-
From: Timothy Astle [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Just a guess, but are you calling DmReleaseRecord after you are done with a
record? DmGetRecord returns a record and marks the record as busy. If you
try to read again before the busy bit is cleared, you will get an error.
Regards,
Steve
-Original Message-
From: Stephen Bentley
FWIW, MemHandleLock returns a Void *. Try casting your assignment to type
PackedChemical *, e.g.,
PackedChemical *packedChemical = (PackedChemical *) MemHandleLock(h);
Regards,
Steve
-Original Message-
From: Nicholas Breau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 05, 2000
Define a structure to hold the state of your app. Call
PrefSetAppPreferences in your AppStop function. Keith Rollins had a good
description about the difference between saved and unsaved preferences that
you should refer to (they were sent on Sunday, March 26). Hope this helps!
Regards,
SysRandom (seed) will generate a random number from 0 to sysRandomMax. Hope
this helps!
Regards,
Steve
-Original Message-
From: daniel john wheadon [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 24, 2000 4:42 PM
To: Palm Developer Forum
Subject: Random Number
Is there a random
Yes. HotSync Manager (HSM) will create a separate folder for each device
that HotSync's with that particular computer. HSM also stores information
on the Palm (I think, someone please correct me if I'm wrong) to track which
PC the Palm last HotSync'd with.
Just a note, HSM will do a slow sync
In your project settings, check the optimizations settings. For debugging,
it should be none, or very low. If the optimizations are turned on, CW
cannot stop on those lines that do not have a "-" in the left column.
Regards,
Steve
-Original Message-
From: Luca [mailto:[EMAIL
lity topic. But, I looked for a option in CW
R6 to enable that feature with no success. The error message appear when
I try to build the application (F7 key). How can I enable International
Feature Set?
Regards
Roberto
"McMicken, Steven" wrote:
TxtCharIsDigit requires the International
Officially, I believe one tick is approximately one millisecond (it's
different on the emulator and the actual device). You can use
SysTicksPerSecond to find out the actual number and proceed based on the
return value.
Regards,
Steve
-Original Message-
From: Sumit Gupta [mailto:[EMAIL
In general, I've had to restart my computer to clear this up. Occasionally,
restarting CW and the emulator will work. Toggling "Use TCP/IP sockets" is
also effective sometimes. I don't know what the underlying cause is,
though. If I did, I'm sure there's an easier, and more dependable, fix.
Download SDK 3.5 and the documentation from
http://www.palm.com/devzone/tools/sdk35.cgi.
That should have just about everything you need!
Regards,
Steve
-Original Message-
From: gilfether, ryan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2000 10:10 AM
To: Palm Developer Forum
If I read correctly, StrNCaselessCompare compares out to n characters. You
might try StrStr if you are trying to find a string within a string, but
it's not caseless.
Regards,
Steve
-Original Message-
From: Nuno Basto [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 21, 2000 12:43 PM
I posted this question before and have received minimal response. Perhaps I
didn't amplify enough.
Our customers use our application to look at, and record, control data on an
automobile. On occasion, they give their Palm device to one of their
customers (a vehicle owner) who is having a
EvtSysEventAvail looks for low-level events. Buttons return higher level
events. Try EvtEventAvail, which returns true on any event.
Regards,
Steve
-Original Message-
From: Feng Wang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 15, 2000 5:20 PM
To: Palm Developer Forum
Subject:
If you want a specialized conduit, you have to write a .dll that will work
with HotSync Manager. The Conduit Development Kit (CDK) will get you
started.
http://www.palm.com/devzone/conduits.html
Also, take a look at the Conduit Development Forum.
Look in the reference manual under the "Event Reference" section. It
describes all of the events and lists the functions that send the event.
Regards,
Steve
-Original Message-
From: Richard Hartman [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 10, 2000 8:20 PM
To: Palm Developer
MemSet will set a range of memory to a specific value. To allocate memory,
you should use MemPtrNew (x) or MemHandleNew (x), where x is the amount of
memory, in bytes, that you want. x should be of type unsigned long.
Regards,
Steve
-Original Message-
From: Michael Sendrove
Have you allocated memory to charRatio? If you don't assign memory to it
with MemPtrNew, the memory that it points to can change without notice,
since your program hasn't reserved it from the system.
Regards,
Steve
-Original Message-
From: Robert C. Thayer [mailto:[EMAIL PROTECTED]]
Look at SysAppLaunch and SysUIAppSwitch. You supposedly use SysAppLaunch
when you want control to return to your calling app. Use SysUIAppSwitch to
close your app and start another app. I haven't gotten them to work for me,
yet.
Regards,
Steve
-Original Message-
From: [EMAIL
When you create the database, assign the creator id of the prc to the
database. That will cause the database to be deleted with the application.
Regards,
Steve
-Original Message-
From: gcw [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 08, 2000 9:51 PM
To: Palm Developer Forum
You could try using PrefSetPreference with prefSysBatteryKind as the choice.
I haven't looked up what values you can set it too.
Regards,
Steve
-Original Message-
From: McCollister, Mike [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 8:54 AM
To: Palm Developer Forum
Subject:
It's a standard C header file (.h). You should enter the file name in the
Prefix file box on the C/C++ Language Settings panel in your project
settings.
Regards,
Steve
-Original Message-
From: Sumit Gupta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 09, 2000 3:48 PM
To: Palm
Labels are controls. You probably want to use the CtlGetLabel and
CtlSetLabel APIs.
Regards,
Steve
-Original Message-
From: Luca [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 07, 2000 3:09 PM
To: Palm Developer Forum
Subject: labels
Could someone tell me to what class of UI
1 - 100 of 105 matches
Mail list logo