er from this dictionary application's perspective?
PDB contains ordered records which would make it easier to access a
specific record assuming you have an index to speed lookups.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-F
eap flags for the heap ID with MemHeapFlags(). If the
memHeapFlagReadOnly bit is set, the database is in ROM.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on u
o
> while the row does get filled properly, the borders separating each column
> is not being colored.
>
> Any ideas?
Use TblSetColumnSpacing and TblSetColumnWidth to ensure that the columns
use up the entire row with no space between them.
--
Dave Carrigan
Seattle, WA, USA
[EM
#include "sections.h"
class Foo {
public:
Foo() DATA_SECTION;
~Foo() DATA_SECTION;
UInt32 GetValue() constDATA_SECTION_OFF;
};
I use the *_OFF macros to easily move a method into the main section
(usually for debugging).
Also, inlines and sections don'
ber, one for the trailing NUL). Otherwise, you won't be able to
use any of the Str* functions.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Jo
the value to false and received that strange error
> message. The call follows... any advice?
>
> PrefGetAppPreferences('mine', UInt16(1), &pDateSet, sizeof(pDateSet),
> false);
The 4th argument takes a pointer, not an integer.
--
Dave Carrigan
Seattle, WA, USA
[EMAI
is still a too-large code jump problem, so you need to split your
code into more/smaller segments.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Bo
done is use a different type for each database, then
DmOpenDatabaseByTypeCreator would work as you were hoping.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listenin
can't use MathLib.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Jim Carroll Band - Catholic Boy (Live, 1980-12-20)
--
For information on us
On Mon, Apr 19, 2004 at 02:36:03PM -0600, Eric Yun wrote:
> Many documents indicate that if I am using some MathLib functions, the
> users must install MathLib.prc. Is this correct? If this is true, it
> seems I have to write my own math functions
What makes you say that?
--
Dave
Palm just runs the code that the C compiler
generates.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Developer Forums, or to unsubscribe, p
I get "Chunk over-locked..." after 15 runs starting
> from HotSync. I am not sure what is the corelation between these
> errors.
Same thing. If you keep locking your appinfo block without unlocking it,
you will eventually reach the lock limit.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL
ture and send the serialized stream. On
the other side, you unserialize the stream and populate the
structure. You will have to design the communication protocol so that
both sides know what each byte in the stream means.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org
On Mon, Mar 08, 2004 at 08:18:35AM +, Thu Zar Thein wrote:
> I couldn't emulate Network Hotsync with Palm OS
> Emulator.
Make sure network hotsync is enabled in the Setup dialog (right click
the hotsync icon and choose setup).
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTEC
On Fri, Mar 05, 2004 at 12:07:41PM -0300, Alexandre Luz Barreto wrote:
> Dave Carrigan wrote:
> >DmSearchStateType search;
> >UInt16 cardno;
> >LocalID dbid;
> >DmGetNextDatabaseByTypeCreator(true, 'calc', 'appl', true, &cardno, &dbid);
meter.
DmSearchStateType search;
UInt16 cardno;
LocalID dbid;
DmGetNextDatabaseByTypeCreator(true, 'calc', 'appl', true, &cardno, &dbid);
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP
mize the
vmware window, and just ssh in.
I've been running vmware since 1999 (v. 1.0), and have happily paid for
every upgrade since. And I'll pay for the 4.5 upgrade too.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-
.
In the latter case, the browser never sees the php code; it's interpreted
by the server before the response is sent to the client.
In the former case, this would surprise me. I've never heard of a
PocketPC port for PHP.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http:/
I had to
> expand the virtual disk to add the extra 670 megs to install it all
> =).
I thought I heard you say once that you got a simulator running in
Wine. Or was I imagining things?
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Ap
shell script could ever do, without doing more work than is
necessary.
Make is a just a general-purpose system to manage production rules, and
to dismiss it out of hand as being "outdated" or "no longer necessary",
is to completely miss the point of the tool.
--
Dave Carrig
rect, and it actually leads to another pitfall: the section
that the template methods belong to can grow quite large quite
fast. You're often better off putting a template class into its own
section rather than sharing it with another section.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL
as the intermediary for the generic
cast and handles all the type casting duties.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Developer F
I can address one or both of these
> issues.
Features may not solve this problem, but they're still easier to use
than a temp database. We would need to see the code you're using to
store the bitmap to see why it's corrupted.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] |
Are you actually checking the results of the call to SysGetROMToken? The
docs clearly say:
If this function returns an error, or if the returned pointer to the
buffer is NULL, or if the first byte of the text buffer is 0xFF, then
no serial number is available.
--
Dave Carrigan
Seattle, WA, USA
On Sun, Jan 11, 2004 at 08:35:59PM -, Karl R. B. Jones wrote:
> Could someone tell me how to re-program the 'home' button on the silkscreen.
> I want to replace the lancher with my own program.
Read the docs on PrefSetPreference().
--
Dave Carrigan
Seattle, WA, USA
[EMAIL P
app: memo
Apps registered for type text/x-vCalendar: date; default app: date
Apps registered for type text/x-vCard: addr; default app: addr
Target app returned from ExgGetTargetApplication: lnch
My question is WHY? What am I missing that I can't override the target
app on a 5.x device?
--
Da
oms that support hi density
screens. For that you need to test on the actual device or using the
tungsten simulator (windows only :-()
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-M
For
development, use a PalmOS 4 rom such as the m515. You won't be able to
test any tungsten features, but there aren't very many right now unless
you're doing graphic intensive stuff.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
either. At least, no more bitter than me... :-)
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Tom Robinson - Coldharbour Lane (Cabaret '79)
--
fortunately I can't since the Conduit SDK doesn't work together with
> the development environment I'm using.
What development environment are you using?
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-
y() and UmGetUserDirectory() to build the path
to the user's directory.
I wouldn't recommend trying to glean the "active user" from the Palm
Desktop, as I suspect this would confuse a lot of users. Instead, your
app should probably enumerate the list of users using UmGetU
s
> and this needs globals.
>
> HOW CAN YOU PROGRAM IN C++ IN THOSE CONDITIONS ???
Don't use objects and new/delete when you don't have
globals. Realistically, you won't be doing much when you don't have
globals, so you don't really need a lot of C++ there
d I save the state of graffiti and then restore it on
> winEnterEvent.
This issue was just discussed - and solved - yesterday on this very
forum. Doesn't anybody read the archives any more?
See http://tinyurl.com/r5yq
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://ww
On Wed, Oct 15, 2003 at 04:19:15PM -0500, Hildinger, Robert wrote:
> "Dave Carrigan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> > I'm having a strange issue with the dynamic input area on the T|3.
> I don't believe this is expected be
.
If I launch the app when the screen is landscape/collapsed, then posting
another window will always cause the app to revert to
landscape/collapsed.
This will be very disconcerting for my users, so I hope there's
something I'm missing to fix this problem.
--
Dave Carrigan
Seattle,
Char* putHere = 0;
>putHere = (Char*)(thisone + i );
Exactly what kind of problem are you encountering? I.e., what are you
expecting, and what are your actual results?
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Fi
be in the form of
#ifdef MAC_RESOURCES_H
...
#endif
Defining it to be an empty value or defining it to be a numeric value
won't affect that conditional.
Ben is correct that it would be better that pilrc handles empty defines,
but in the meantime, this is as good a workaround as any.
--
Dave Ca
mited memory device. You especially don't want to do
this if all you're planning to do is copy data from a file stream into
the allocated memory.
Instead, change the architecture of your application so that it uses standard
databases instead of streams, so that you can access the data
ven considering IDs
whose bytes have the high bit set.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Developer Forums, or to unsubscrib
r MemPtrNew, but the
ability to resize handles is not one of them.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Red Rockers - Dreams Fade Away (Go
255,
depending on what the first character is in the string. If the string
was "A bug", then it would allocate 65 bytes (ascii A == 65).
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-Postgre
s pretty much the
best example there is, and it's very interesting reading even if you don't
actually need it for anything.
You're specifically interested in dreloc.c.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache
quot;. Is there a
> similar way to do so with PRC-TOOLS?
Add these flags to your link command:
-Wl,-Map -Wl,myapp.map
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
7;s prc-tools, what does your
linker command look like.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Teenage Fanclub - Song to the Cynic (Thir
On Tue, Sep 16, 2003 at 12:54:49PM -0500, Eric Potter wrote:
> Is there a was to get MemPtrNew to call the contructor when you craete
> a new class?
Use the new operator; that's what it's for.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | IC
On Fri, Aug 08, 2003 at 12:50:21PM -0300, rguevara wrote:
> more clean:
> i can resize one handle what was assignaded with DmGetRecord() ?
Don't use MemHandleResize, use DmResizeRecord.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
image after PL3/16x.
What are you talking about? That's simply not true for any C compiler
I've ever seen.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For info
real pointer to FldGetAttributes:
FieldAttrType* fldAttr;
fldAttr = MemPtrNew(sizeof(FieldAttrType));
FldGetAttributes(fldP, fldAttr);
...
MemPtrFree(fldAttr);
Hint: don't do it this way, but it might give you some insight on what
was wrong with your code.
Also, find a good book on C that exp
you ask on any C forum, they'll have lots of suggestions. It's
probably even in a FAQ somewhere.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listeni
x27;re going to rely on that kind of unsupported behavior, you might
as well bypass BmpCreate and call MemChunkNew directly. Neither method
is likely to be guaranteed to work under later versions of PalmOS, but
at least the latter is cleaner.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://w
f bugs in
your code that may not cause problems the device you happen to have
right now, but might cause problems on other devices or other versions
of PalmOS. A well-written app will not trigger any errors from the
emulator.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.o
ontains the list is closed. Do the
MemHandleFree when you handle frmCloseEvent, and don't forget to call
LstSetListChoices with a null pointer just to be on the extra safe side.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-
e form. My guess is that it was 20,
since your error message was "Application just read from memory location
0x14", and 0x14 == 20.
You should get a good book on C and programming with C pointers. If the
people on the C forum had read your code more carefully, they would have
seen
the
PalmOS API? If the compiler you're using is C++, then you can use new
and delete.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm
);
>FrmEraseForm(frmP);
>handled = true;
>break;
Don't set handled to true; it prevents PalmOS from doing some of its own cleanup.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-P
until there is no chance that the list will be popped up. Also,
you don't need the LstDrawList call.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listen
ck.
It's perfectly safe to allocate long-lived pointers with new. The only
thing is that it can cause memory fragmentation (this is generally true
in any OS, but on small-memory systems it can be more of a
problem). However, the same thing can be said if you allocate a handle
and lock it for
ould have to ask the PalmOS development team why they chose that
number.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to Neil Young - Helpless (U
lly get a chunk that the
memory manager has decided it can have.
The 64K limitation I think is an arbitrary choice. If I recall
correctly, the chunk header allows up to 16M chunks, but they limit it
to 64K because the hotsync protocol only supports up to 64K record
sizes.
--
Dave Carriga
On Fri, Aug 08, 2003 at 03:41:24PM -0400, bullshark wrote:
> On Fri, 8 Aug 2003 09:51:28 -0700, Dave Carrigan <[EMAIL PROTECTED]> wrote:
>
> >
> >On Fri, Aug 08, 2003 at 12:26:13PM -0400, bullshark wrote:
> >
> >> >static char* gPlateString =
> >&
b,v $
use strict;
use Palm::PDB;
use Palm::Raw;
use Data::Dumper;
Palm::PDB::RegisterPDBHandlers("Palm::Raw", "");
Palm::PDB::RegisterPRCHandlers("Palm::Raw", "");
my $pdb = Palm::PDB->new;
$pdb->Load($ARGV[0]);
print Dumper($pdb->{records});
--
SysFormPointerArrayToStrings). This is a memory leak because you'll
never be able to free that pointer.
You should be doing
MemHandle h = SysFormPointerArrayToStrings(gPlateString, 6);
gListString = (char**)MemHandleLock(h);
...
MemHandleFree(h);
--
Dave Carrigan
Seattle, WA, US
ill compile in C, but it is very unlikely what a
programmer wants:
UInt32 x = "abcd"; // Assign something to x; the value is compiler dependent.
In C++ this won't even compile without a cast, and EVERY time you need
to cast anything that isn't a pointer, you should be do
source databases. As long as your resource database
is open, FrmAlert will find the alert resource.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using th
or, myCreatorID);
Handle the sysAppLaunchCmdSystemReset launch code to do it at system
reset.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Pal
Studio
In your event loop, look for keyDownEvents when the character is one of
vchrHard1, vchrHard2, calcChr, findChr, etc. If you get such an event,
do not pass it to SysHandleEvent().
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Lin
fo().
These steps are correct.
> I think this is correct, but I am a little concerned because doesn't
> MemHandleNew give me a handle to the dynamic heap?
Your concern is well-founded. That's why you should use DmNewHandle().
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECT
unctions, but I don't see a function
> to list or search files
> with a specific extension, for exemple.??
You have to write your own. VFSDirEntryEnumerate() would be a good
starting point.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669
y. This is what I do:
Set up socat's pty's:
socat PTY,link=/tmp/host-pty PTY,link=/tmp/pose-pty
On the pose side, set up the serial port to be /tmp/pose-pty
On the host side, set the serial port of the host software to be
/tmp/host-pty. I.e.,
pilot-xfer -p /tmp/host-pty -l
--
could possibly used 1 bytes of stack on a
> machine that's supposed to have a 3.25K stack, etc).
A map file will help you with this.
--
Dave Carrigan ([EMAIL PROTECTED])
Seattle, WA, USA
http://www.rudedog.org/
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL
hat contain string
data often terminate their records with NUL. This is a side effect of
working with NUL-terminated strings, not a requirement of the OS.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++
50% of the time, depending on the length
of the string that precedes the two-byte integer. The best way to get a
UInt16 back from a location that is not necessarily aligned on an even
boundary is
UInt16 dest;
Char* source
MemMove(&dest, source, sizeof(dest));
--
Dave Carrigan
Sea
ck. The best workaround is to always ensure that the size of
your input block always a multiple of 8, probably by padding it with
NULs.
Also note that StrLen will not correctly determine the size of the block
if you have multibyte characters, so you'll have to use some other
method to determine
ally
deleted from RAM once it's finished running (which is the only other
thing the launcher does that you can't do). There's no good way to do
that. In fact, even the launcher doesn't always do it right (for
example, if you do a reset while inside the copied app).
--
is waiting,
> launch POSE with the -run_app option.
You might want to look at putting some of that stuff in a .gdbinit file.
Certainly the target palmos command can be put there. There are probably
other things you can do from inside gdb.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED]
function that will encode all the blocks in your
plaintext.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Developer Forums, or to unsubscribe
y automated solution to
> this problem.
Use cron to run the program as often as you want. man cron
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on usin
; watch in nilEvents to see if the time limit has passed, but what code do I
> use to close the dialog - do I call a function or create an event?
After the time limit expires, use CtlHitControl to simulate hitting a
button on the dialog.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] |
2
Basically, you have to use a static method and the static method can
call the class method after somehow acquiring the pointer to the
appropriate object. You will have to decide on the mechanism to use to
allow the static method find that pointer.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED
p set the bit itself after it
starts running. Only works for PalmOS 4.0+, but then almost all VFS
support is 4.0+ anyway. I don't know for sure if it will work, but it's
worth a try.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache
he hidden bit.
But, we really need to know what you want to do before we can give you
the best solution.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
Dave is currently listening to
fter handling
the sclRepeatEvent. This will cause problems. Second, is it possible
that you're setting the clip rectangle in the handler and forgetting to
reset it before leaving the handler?
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apach
ll of the builtin apps, so your best bet is
to check there.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Developer Forums, or to unsubs
"/xyz.txt" );
> ...
>
> The VFSFileCreate always fails. What Am I missing here ?
The magic number returned in the err variable probably provides a
valuable clue.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-
On Fri, 2002-06-28 at 21:15, Dave Lippincott wrote:
> DmGetNextDatabaseByTypeCreator and use type 'appl'
> Its documented in the OS reference
Or even better, SysCreateDataBaseList(), since it looks like it was
custom written for application launcher type problems.
--
Dave Carr
ng lookup table, indexed on language.
>
> My problem is the strings used in the recource file, such as help strings,
> button text, window titles, menu text etc.
You can't do it in a single .prc, but you can do it with an overlay.
Read the docs on the overlay manager.
--
Dave Car
a similar problem with the 1-2 version of the patch. I reverted to
the 1-1 version.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For information on using the Palm Develop
On Sun, 2002-06-09 at 21:06, Craig Belson wrote:
> FldSetTextPtr(tempfieldptr,tempcd.artistname);
> FldDrawField(tempfieldptr);
You need a call to FldRecalculateField.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apach
ll the form via FrmDoDialog, do:
frmP = FrmInitForm(FrmTypesForm);
my_initialization_stuff(frmP);
FrmDoDialog(frmP);
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL
--
For inform
, which can result in inexact
calculations. If you're planning to represent currency and require exact
decimals, you should use integers.
--
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-My
o the
> proper locations. Recalibrating the stylus only temproarly corrects the
> problem. This happens straight out of the box with no additional software
> installed.
http://ask.slashdot.org/article.pl?sid=02/05/31/1633203&mode=thread&tid=100
--
Dave Carrigan ([EMAIL PR
is.
Here is how I would do it (untested code with no error checking):
UInt16 s,e;
Char* text;
FldGetSelection(field, &s, &e);
text = MemPtrNew(e - s + 1);
StrNCopy(text, FldGetTextPtr(field) + s, e - s);
text[e - s] = '\0';
--
Dave Carrigan ([EMAIL PROTECTED])|
a problem with your code. That's the whole point of using a debug rom;
it simulates less-than-perfect conditions that you might not be able to
simulate otherwise, so that you ensure that you are correctly handling
them.
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! I'm in ATLA
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Is it possible to make a single sound like "bip".
If you can live with one of the existing system sounds (i.e., the little
beep it plays when you tap on a control), then you could use
SndPlaySystemSound().
--
Da
ent, so it can't set breakpoints on functions in
different segments. There's a patch available; see these archives or the
prc-tools archives on Sourceforge.
> 4. I moved a function out of the first segment and it doesn't seem to be
> called at all?
Can't help without more in
ling, specifically the difference between
char *x;
char x[20];
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! I've got to get these SNACK
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | CAKES to NEWARK by DAWN!!
Seattle, WA, USA|
http://www.rudedog.org/
esides on RAM but how can you get around that?
Store it in flash memory, assuming that the device has enough free flash
memory.
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! Mr and Mrs PED, can I
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | borrow 26.7% of the RAYON
Seattle, WA, USA
oesn't make my spider
sense tingle:
iDiff = cPos - cString;
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! My haircut is totally
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | traditional!
Seattle, WA, USA|
http://www.rudedog.org/ |
f the new version has the same creator id, and you don't have any extra
data in databases that needs to be deleted, then you should just be able
to install the new version over top of the old one.
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! The appreciation of the
UNIX-Apache-Perl-
when the tips button is tapped, before they
pop up the ugly tips dialog. However, for your specific problem,
I think that FrmGlueSetHelpID() will work for you.
--
Dave Carrigan ([EMAIL PROTECTED])| Yow! Can you MAIL a BEAN CAKE?
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS
101 - 200 of 341 matches
Mail list logo