using Treo smartphones. I started using the Hs library but
there I wasn't able to find a function for this purpose.
Does any one know how to do this? To be clearer, I need to send AT commands to
the modem, and then use it as a serial port.
BrownB
--
For information on using the PalmSource
resourcesdatabase.
At the next program start, I load those bitmaps from the database and drawthem
on the screen: the result is now ok!
Thank you,
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
ul effect, while
in previous versions of PalmOS this wansn't happening, and the bitmap saved
before as a 8bit data was displayed as when created.
Any help on this?
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
version 5.4.9.
Any useful hint will be appreciated,
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
;slow": is this due to the way
the system uses the Bluetooth library/Serial Manager? Is there a solution(for
example, a different library, a third part product, a hack ) to solve this
problem?
Thank you for any hint,
BrownB
--
For information on using the PalmSource Developer Forums, or
Hello, my application needs to get accounts settings from VersaMail accounts:
is this possible? For example by knowing the data format of the pdb which
contains this data.
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com
ng mail.
I'm thinking about making my own smtp/pop client: if this was the solution, can
I get the account settings from a VersaMail account?
Thank you very much, any advice and suggestion will be appreciated,
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubs
Hello I'm lloking for a way to write graphic data in PDF format, sending then
the file so obtained by e-mail. Does anyone know a good application/library to
do this?
Thank you very much,
BrownB
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
Thank you, using -O2 works!:D
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Actually, I resolved some problems, which was due to an "extern" declariation
withous the segment specification...
But the explained problem is still present in the main object file, where is
placed the PiltMain() entry point.
BownB
--
For information on using the Palm Developer Forums, or to
gister needed by the GCC subroutine call
system, but I'm not sure.
Thank you very much for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Thank you Ben, but I'm using PRC-Tools...any other suggestion?
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
w if there's an ARM compiler which works better now?
Thank you for your help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
ent segment from the one the code
knows.
I really can't find out what could be the problem...
Thank you anyway,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
My problem isn't related to the memory usage, because if I use MemPtrNew() to
allocate the object, I have no errors.
In which segment do you place the contructor? Is this detail important?
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.co
problem...
Thank you for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
I found also that:
jmp 10598(a3) = jmp 0x2966(a3)
and in the map file, in the .text segment at location 0x2966 I found:
0x2966__builtin_new
So it would be ok if a3 = start of program, right? Instead I've got a3 =
0x30006a50...
The source line is this:
myClassPtr = new MyClass
ss, which is always the same:
jsr 10598(a3)
And a3 = 0x30006a50
The strange thing is that I compiled my program and it was working. After some
days, this error came out, and I don't remember what I've changed in my tools.
I guess this problem is related to some unlinked header..
Any i
gment and is calling a
function in another segment.
Any idea? Thank you also for links to any useful site,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
RELOC
You can see that the .text total sie is this:
TOTAL TEXT SEGMENT SIZE: 0x3F34 = 16.180
So why this problem? I'm linking only PalmOSGlue.a.
If anyone has any hint I'd appreciate it, thanks!
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Thank you all, actually I defined them before the need of their use, I'm still
writing the static library that will use them.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
"unknown code section SEGMENT9"
SEGMENTn is the name I used for that segment in the def file.
Note that for the SEGMENT2, SEGMENT3 and SEGMENT4, which are declared in the
same way, the compiler gives no error.
Thank you for any advice,
BrownB
--
For information on using the Pal
any help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
such that the functions inside are all located in another segment?
Thank you all for any help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
rectory of the PalmOS SDK, and included it with
the linker option -lLibName
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
ere I can find the best way to buils a static library?
Thank you for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
Hello, I developed some code files which I'm going to link with other projects
in future.
I need to compile them all togheter, obtaining a file which can be linked to
other projects. Should I make a library? How?
Thank you for help,
BrownB
--
For information on using the Palm Deve
with
the m68k-palmos-g++.
Thank you
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
function declariation, but I'd like to avoid this on the functions of my lib,
because it will be used with other Operating Systems / compilers.
Is this possible?
Thank you all for any help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www
ere could be difficulties using it? Has anyone adopted
this solution before?
Thank you for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
would be done by the
user.
I tried to use EvtEnqueueKey() but it doesn't work.
Any suggestion?
Thanks very much for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
have a look into
> the FrmXXX functions.
I found it, thank you.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
tried LstDrawList() but I need to set the list attribute 'usable' to false (in the
resources script) if I want to show it on demand, and I can't access to that bit to
set it to true on run time.
Thank you for any help,
BrownB
--
For information on using the Palm Developer Forum
olling the pen position
on a pendown event, all this inside the draw cycle;
- in someway, making a temporization for the popup list, closing it after a short time
and reopening it after the draw update, using global flags to memorize the state of
the list;
If you know a better way please let me kn
Hello everybody! I'd like to know if there could be any problems saving databases on a
SD card instead using the Storage Memory, only changing the cadNumber setting of
DmCreateDatabase(); for example, are there problems retrieving resources?
Thank you very much for any advice!
BrownB
--
Can I add resources with the same type and ID of a present resource? Will this
overwrite the previous one or will there be two resources with the same type and ID
but with different type index?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe
Hello, I need to know if the sequence of indexes in a resource database remains
complete after a resource removal, like happens for record based databases.
Thank you very much for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
t
0|MyStruct1
1|MyStruct2
2|MyStruct4
...
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hello, I need to use arm-elf-gcc to compile a PNO function, but I can't find support.
Can someone give me a good site where to find documentation?
Thanks a lot,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
piler can't find the included file PalmOS.h
Can anyone help me?
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
he -g flag...
The problem remains: I can open "app.prc", append the COFF file "app" but can't see
any code...
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
to get resgisters values I get an error.
I tried to search on Internet but I can't find a solution..please help!:D
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
o you get it using m68k-palmos-gcc.exe?
Thanks very much for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Look at old threads:
http://news.palmos.com/read/messages?id=172408
http://news.palmos.com/read/messages?id=172755
I used BmpRsrcType instead of BmpType, you'll find the definitions and some utility
functions in the Knowledge Base link given by Ben Combee in the first link above.
BrownB
--
Ok, I still can't debug, here are my new steps:
-get "file.o" with -g compiler option;
-get "file" (without extension) after linking with -g option;
-built "file.prc";
then, in the PODebugger, I did this:
-open "file.prc"
-"append symbolic"->opened file named "file" (without extension)
now, I see
I understand. So, since I'm using PODS I need to get a COFF symbol file..I took a look
in to the GCC manual page, it's possible to get many formats for symbol file, using
-g.
The best way seems to be using -g which creates an output file with debug symbols with
the native format of the OS u
output
is always file.o...should I change the output name in something like file.PSYM?
I'm sorry to bother you, but I hope this thread could help someone else too:D
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
How can I fix the path? I'm looking around Eclipse menus and configuration files, but
I can't find any path setting...is this the windows PATH variable?...I'll try.
Thanks,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www
I substituted each m68k-palmos-gcc.exe line in my makefile with
c:\PalmOSCygwin\m68k-palmos-gcc.exe, but windows can't run it because it can't find
cygwin1.dll, which is in c:\PalmOSCygwin\bin\
So I think I miss something like a PATH variable..can somebody give me help?
--
For information on usi
I see now that my problem is this: it seems that Eclipse run make, but can't find
m68k-palmos-gcc.exe, which is in the standard installation directory:
C:\PalmOSCygwin\bin
How can I make this "reachable" from Eclipse?
--
For information on using the Palm Developer Forums, or to unsubscribe, ple
y a myApp.prc.pud file;
-started PODebugger and loaded myApp.prc.pud;
now, I can't see any code to set breakpoints, and in the tab "Memory" is show this
message:
Address Bytes
0x8000 ERROR
What should I do?
Very very thanks for help,
BrownB
--
For information on using the Pal
Hello, does someone know how can I debug a PRC made with PRC-Tools and installed on a
TungstenT3 connected to USB port? Possibly using PalmDebugger.
Thanks a lot for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev
Anyway it seems to be 'dmInvalidRecIndex' = NULL...
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
on fail?
Thanks very much,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
t;slightly less than 64kb". So how can I save my data? Must I use multiple resources
to collect all the data of each resource?
Thanks
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I found the solution by myself: using a hex viewer, I found that every text line was
CHR(13) terminated, while for gcc it must be CHR(13) CHR(10) ended, so I substituted
all and now it works..
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
After trying some ways, I guess the compilation error is due to "BitmapRsrc.h", now
the error changed to this:
In file included from BitmapRsrc.c:45:
BitmapRsrc.h:1: warning: garbage at end of `#ifndef' argument
The error line is this:
#ifndef __BMPRSRC_H__
#define __BMPRSRC_H__
#include
...
/
I don't know if I'm doing well using BmpRsrcV3Type instead of BitmapTypeV3, I need to
have some hints about storing high density bitmaps realized in realtime into a
database for fast recall on program start.
Thanks for help,
BrownB
--
For information on
ared (first use in this function)
BitmapRsrc.c:149: `BmpRsrcType' undeclared (first use in this function)
BitmapRsrc.c:149: parse error before `)'
And so on.
I use PRC-Tools with gcc 2.95.3
Any suggestion?
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hello,
is it possible that a block of data bigger than 64kb can't be sent by IrDA in one
shot? I try to beam a chunk of data of about 120kb, but on my PC I get only the first
64kb of that chunk...
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubs
't drawing functions for this type... casting to BitmapType?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
This error comes out when I call WinBounds() with a valid handle of a window: what
does it mean?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I'm trying to save a bitmap drawn with palmOS api in a resource database. I'm working
with nativeCoords, how can I save high density bitmaps in a resource database?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
nt);
MemHandleUnlock(memH);
}
WinSetCoordinateSystem(kCoordinatesStandard);
[/code]
where gCourier129 is FontID typed and pFont is FontPtr typed.
This will load high density (native format) fonts.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Can I put structures or other "non-resource" data in a resource database?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I'm using BmpCreateBitmapV3() to get raw data saved in a record using BmpGetBits().
How can I convert it to BitmapType? Can I just do a cast like
(BitmapType*)ptr_to_myBitmapV3?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
er segment, but I'm
shure that I declared that function as extern in the module's .h file, included in the
module which calls that allocateWindow().
Can someone help me?
Thanks,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
iling:
m68k-palmos-gcc.exe -c app.c app_segments.s
linking:
m68k-palmos-gcc.exe -o app app.obj app_segments.ld -lPalmOSGlue
Hope this will help.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
the bitmap data, and the copying data with DmWrite();
Now, how can I create a new bitmap retrieving the bits I saved before?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hello, I need to save a group of windows after drawing in a database. Is it possible
to copy the window structure in such a way that I can take it again later? Or the only
way is to save the bitmap of the content?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or
Hello, I have a structure as this:
typedef struct{
WinHandle win1;
WinHandle win2;
...
}MyWindowsStruct;
After all the windows are created with WinCreateOffscreenWindow(),
how can I save those windows in database with DmWrite()? Should I lock every winHandle
and make a copy with DmWrite()?
--
F
Hello, can anybody give me some hints about how to sort a database? At the moment I'm
reading records just by record index. How should I use the sortInfoId field of the
database header?
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Sorry to everybody, I found my STUPID ERROR: I didn't #include the header containing
the extern declariation of those functions...
Now it works.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hello, I'm currentrly using xFont to convert Windows fonts to PilRC readable format,
and it works well. The only thing is that it is poorly automated: you know that to be
able to compile a font usable with the native resolution we actually need of a
standard resolution font and a native resoluti
Hello, I'm using PRC-tools to compile a multisegment application. My app is composed
of 3 segments, each obtained by the usual way:
#define Seg1
#define Seg2 __attribute__((section("SEGMENT2")))
#define Seg3 __attribute__((section("SEGMENT3")))
and then for each function declariation:
void func(
vailable by their own ID, which you declare
in appResources.h. So, in your code you must #include that file.
Goo luck;D
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I found some problems passing pointers to allocated memory chunks between functions
located in different segments. For example:
//#defines for multisegmentation
//Seg1 is .TEXT
//Seg2 is .SEGMENT2
#define Seg1
#define Seg2 __attribute__ ((section("SEGMENT2")))
//declariations
//func1() in .TEXT
tions go on
working when relocated, and some other ones cause errors.
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I need to write many rows of text with WinPaitnChars(), but this function doesn't
manage the '\n' char, right? How can I easily write a long message formatted as above
with WinPaintChars()?
Thanks a lot for help!
BrownB
--
For information on using the Palm Developer Forums, or
(section("SEGMENT2"))
>Int16 MyFunc(param1, param2, ...) Seg2;
Than, using multigen as the makefile and including generated scripts and asm code as
shown, the application will easily be working.
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I know it's just a beta version, but I'm just anxious to use this environment:D I
think the next step in this sense should be a Class navigator only for variables and
methods/functions of the project, and not for all the Palm headers, like the one of
VisualC++ or of the free IDE Dev-C++.
I hop
mplete class members, or show functions declariations while
writing a function call?
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
You should use WinCreateOffscreenWindow(), get the handle of that and set it as the
draw window. After drawing operations, you can copy offscreen bitmap data to the
current ActiveWindow with WinCopyRectangle().
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe
Hello, I'm looking for some infos about working with database, to understand what's
the best way to store informations, for example how to use UniqueIDs and record
indexes. First of all: when I Delete a record, what's about that record's index?Will
it be associated to another record or will it b
Hello, can someone tell me how can I obtain a PalmOS 5 Rom file for POSE? I
need it to test a Bt app but the latest rom version on the Palm site is
PalmOS4.
Thanks for help!
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev
quot;:
how can I debug my code?
Thanks for reply,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
ot;visible" some
included files like "crt0.c", "dreloc.c", "hooks.c" without copying those
files in my directory? And where can I find a description of the use of
these files?
Thanks for help,
BrownB
--
For information on using the Palm Developer Forums, or to u
for BT or must I use the BT lib directly?
Does it mean that there are not devices with PalmOS which support BT?
Thanks a lot for help,
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Can someone suggest me the best version of Metrowerks CodeWarrior to buy to
develop for PalmOS?I'm a bit confused reading some threads in this newsgroup
about problems with the latest version (9.2?). Thanks very much for help!
BrownB
--
For information on using the Palm Developer Forums,
Does anybody use it to develop for PalmOS? Is it a good chice or should I
use Metrowerks Codewarrior? I'm using PRC-Tools with Cygwin, and I heard of
this strange Borland IDE...
Thanks for help!
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hello, can somebody tell me the bigger differences between WinCE and PalmOS?
Or give me a link to some interesting site! I'm deciding what platform use
to make a program to connect a palmtop to a special bluetooth device.
Thanks a lot!
BrownB
--
For information on using the Palm Deve
91 matches
Mail list logo