Creator ID

2003-08-26 Thread Julio Sejtman
Hello
I have a question. I have to use the same CreatorID for all of my
aplications Or I have to to use differently for every program?


PLEASE answer me,

Julio



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Silkscreen popup keyboard crashes Palm

2003-08-26 Thread steve
When the keyboards (alph,num) pops up, it first tries to copy the data
of the current selected control (if the no control is selected, or is
not editable it beeps).

I think your crash must be linked to it. Probably a bad handling of your
controls (ex a field with a bad memhandle assigned).

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 10:55 PM
To: Palm Developer Forum
Subject: Silkscreen popup keyboard crashes Palm

I am using CW8.0 with POSE running PalmOs 3.x.

I have a simple form with a field. When I tap the abc or 123 to bring up
the system keyboard, my app crashes with a bus error. Any suggestions of
how to fix it?

Thanks
L.J. van Alphen


-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Creator ID

2003-08-26 Thread Ben Combee
At 06:15 PM 8/25/2003, Julio Sejtman wrote:
Hello
I have a question. I have to use the same CreatorID for all of my
aplications Or I have to to use differently for every program?
Each program should have a different creator ID.  If you don't do that, a 
user deleting one of your apps from a device would end up deleting all of 
them.  Also, things like preferences and databases could conflict from one 
app to another.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Creator ID

2003-08-26 Thread Tom Hoelscher
Join the Developer's Pavilion on the PalmSource site, and register creator
IDs for your applications, typically one ID for each.  Registering them
helps ensure that other developers do not use the same IDs.


-Tom

 Hello
 I have a question. I have to use the same CreatorID for all of my
 aplications Or I have to to use differently for every program?
 
 
 PLEASE answer me,
 
 Julio
 
 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Creator ID

2003-08-26 Thread Julio Sejtman
Thanks A Lot

Julio
- Mensaje original -
De: Tom Hoelscher [EMAIL PROTECTED]
Para: Palm Developer Forum [EMAIL PROTECTED]
Enviado: Lunes, 25 de Agosto de 2003 20:28
Asunto: Re: Creator ID


 Join the Developer's Pavilion on the PalmSource site, and register creator
 IDs for your applications, typically one ID for each.  Registering them
 helps ensure that other developers do not use the same IDs.


 -Tom

  Hello
  I have a question. I have to use the same CreatorID for all of my
  aplications Or I have to to use differently for every program?
 
 
  PLEASE answer me,
 
  Julio
 
 


 --
 For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

 ---Publicidad
 Juega con Ventura24.es, loterĂ­a inteligente y multiplica tus
 posibilidades!! http://www.iespana.es/_reloc/email.ventura




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: memory leaks vs. unallocated chunks

2003-08-26 Thread Meg Walraed-Sullivan
For anyone who might be interested or doing a similar function, my problem
was in AddPickedItem, where the very first item of the dynamic list was set.
( pickedListStringP.stringListP=itemToAdd;)  Because I was doing this by
pointer, when the second item was added, the first list was freed, thus
unintentionally freeing itemToAdd as well, which was a pointer to an item in
another list.  So two things were getting deallocated without my knowledge,
and since the only time the program crashed was when I added more than one
item to the list, I (mistakenly) assumed the problem was in the addition of
items after #1.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


PalmUSBD.sys Causing BSOD on Win2k Dual Processor.

2003-08-26 Thread Alan Ingleby
Not really sure if this is the right forum for this...

My client hotsyncs to a pretty powerful machine running a dual Xeon
processor setup.  He occasionally gets a BSOD in Win2K caused by
PalmUSBD.sys.  I've advised him to upgrade to the latest version of Palm
Desktop, which may fix the problem, but was wondering if anyone else has had
similar problems.

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: MemSemaphoreReserve ????

2003-08-26 Thread Viren
Doug,

 No; it is the opposite problem.  He wants to *prevent* his code 
from being
 interrupted by another task.

Ok. Understood. He wanna put it in a critical section kinds stuff. 
Rite?


 He is looking for a mutex (mutual exclusion) type facility, so 
other tasks or
 threads (of which there are precious few) cannot interrupt him as 
they are now.

Okay so that boils down to MemSemaphoreReserve API again. What 
options does Damir have if he decides not to use un-documented API ? 
I am very much interested in knowing answer to that. 

I know many people have written drivers for some external 
hardware/peripherals in palm but I have yet to see any sample code on 
the internet. If anyone in the group here could possibly post the 
code for the learners like me, it would be a tremendous help in 
getting to know more details of Palmand enjoying it! :-) The 
deeper, the merrier!!

-Viren


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: MemSemaphoreReserve ????

2003-08-26 Thread Douglas Handy
Viren,

Ok. Understood. He wanna put it in a critical section kinds stuff. 
Rite?

Correct.

Okay so that boils down to MemSemaphoreReserve API again. What 
options does Damir have if he decides not to use un-documented API ? 

The semaphore is used for controlling write access to the storage heap.  That
does not necessarily have anything to do with ensuring a given section of code
is not interrupted.

Doug

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: MemSemaphoreReserve ????

2003-08-26 Thread Alan Ingleby
Viren [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 Okay so that boils down to MemSemaphoreReserve API again. What
 options does Damir have if he decides not to use un-documented API ?
 I am very much interested in knowing answer to that.

I thought MemSemaphoreReserve dealt with memory protection not task
switching, or does it do both?

Is there any documentation on these undocumented features? :-)

Alan



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: setting graffiti 2 state

2003-08-26 Thread Ken Krugler
I'm trying to set the graffiti 2 state but the GrfSetState() function says
that the caps lock and num lock parameters are ignored for Graffiti 2.  How
can I set this otherwise?
I don't think you can, unless you patch the get/set state functions. 
This was a known problem with the first release of Graffiti 2. I 
believe it's been fixed in more recent versions of Palm OS 5 (e.g. 
5.2.1?)

-- Ken
--
Ken Krugler
TransPac Software, Inc.
http://www.transpac.com
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: HTML Formatting

2003-08-26 Thread L.M. Fridael

Alucard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 This anyone know how to format a html into simple text in sony.
 example:
 babc/bidefg/i

 the output will be : *abc*/defg

I'm not sure what you mean here exactly, but Palm OS does not have a rich
text label or field. If you want to display formatted text you have to draw
it manually, for instance in a gadget.


Regards
-Laurens



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: feature set usage

2003-08-26 Thread rajan
Hi,
You can use FtrPtrNew for this purpose.HTH.

regards,
rajan

---
Hello ,
How can I store an entire structure in the feature set and access it later 
? 
Also how can I set its value because FtrSet expects an UInt32 value as the 

new value . How can I store a structure instead of an UInt32 ?
Regards ,
DK

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: MemSemaphoreReserve ????

2003-08-26 Thread Viren
Hey Alan,

 Is there any documentation on these undocumented features? :-)

Found this thread on MemSemaphoreXXX()

http://lists.squeakfoundation.org/pipermail/squeak-dev/1998-
August/018867.html

And of course, this again this one on Palms' site...:-P

http://www.palmos.com/dev/support/docs/palmos/SystemUseOnlyApdx.html

Please dont forget to read the article written by Darrin Massena ... 
although its very old, it should give you better ideas as to what 
happens beneath the stuff we all call PalmOS. :-)

-Viren


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


WinScreenMode causing a callback or a notification?

2003-08-26 Thread kcorey
Hi All,

Got a strange problem here, and I'm racking my brains to figure out
where it all goes pear-shaped.

I'm using Falch.net's DevStudio, with the latest multi-segment patches.

I have these global variables:

RectangleType dispRect;
UInt32 swidth, sheight, sdepth;
Boolean coloron;

Later on, I have this function:

void funcname(...)
{
  UInt32 scrwidth, scrheight, scrdepth;
  Boolean scrcolor;
  Err err;

  [...]

  // at this point swidth x sheight x sdepth x coloron is 320x320x8x1

  scrwidth = swidth;
  scrheight = sheight;
  scrdepth = sdepth;
  scrcolor = coloron;
  err = WinScreenMode(winScreenModeSet, 
  scrwidth, scrheight, scrdepth, scrcoloron);

  // at this point swidth x sheight x sdepth x coloron is 160x160x8x1!

  [...]
}

The strange thing is that the locals scr* aren't changed in the call to
WinScreenMode, but the globals s* *are* changed.  Even stranger is that
the global dispRect is also set to be {{0,0}{160,160}}.

The only three reasons I could come up with that could perhaps cause
this were
1) compiler optimisation errors
2) A notification or callback that my code is mangling somehow.
3) Something I don't know about (*grin*)

#1 was easy enough to test for...I've turned off all optimisation in my
code.

Can anyone suggest where to RTFM about either #2 or #3 to learn more?

-Ken



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Where do i specify my CreatorID for my application?

2003-08-26 Thread Frank Schaeckermann
[EMAIL PROTECTED] wrote:
hi, i m trying to use the command 'AppLaunchWithCommand' but i 
do not know my application's CreatorID, which is need in the command.

Please help... Thanks.
You DO realise that you have to get this CreatorID from the Palm Source 
web-site, right?

Every application (or maybe better application-group) on the Palm OS 
platform is supposed to have its own, unique CreatorID.

For this to be possible, Palm Source offers a service on their web-page 
to reserve such a CreatorID for YOUR use. This reserved CreatorID will 
then have to be entered in - i.e. - the PRC Settings panel on CW V9. And 
that is also the CreatorID you have to use in 'AppLaunchWithCommand' to 
identify which application is to be launched.

Frank

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Silkscreen popup keyboard crashes Palm

2003-08-26 Thread someog
steve [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

 When the keyboards (alph,num) pops up, it first tries to copy the data
 of the current selected control (if the no control is selected, or is
 not editable it beeps).

 I think your crash must be linked to it. Probably a bad handling of your
 controls (ex a field with a bad memhandle assigned).

I've run into this as well, but my field had a valid MemHandle.  Eventually, I
simply caught the keyboard vchar, and prevented it from being displayed, which
is an awful solution.  However, it was better than a guaranteed crash.

LJ, did you ever find the cause of this?

Thanks,
David



 Steve

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 [EMAIL PROTECTED]
 Sent: Monday, August 25, 2003 10:55 PM
 To: Palm Developer Forum
 Subject: Silkscreen popup keyboard crashes Palm

 I am using CW8.0 with POSE running PalmOs 3.x.

 I have a simple form with a field. When I tap the abc or 123 to bring up
 the system keyboard, my app crashes with a bus error. Any suggestions of
 how to fix it?

 Thanks
 L.J. van Alphen


 --
 For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/support/forums/







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: MemSemaphoreReserve ????

2003-08-26 Thread steve
What about disabling the interrupts for a small amount of time?

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Douglas Handy
Sent: Tuesday, August 26, 2003 6:40 AM
To: Palm Developer Forum
Subject: Re: MemSemaphoreReserve 


The semaphore is used for controlling write access to the storage heap.
That
does not necessarily have anything to do with ensuring a given section
of code
is not interrupted.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: Feb PalmSource Dates

2003-08-26 Thread Steve Mann
Has anyone heard anything specific about dates for the February 
PalmSource conference in San Francisco? Thanks.

Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Feb PalmSource Dates

2003-08-26 Thread Aaron Ardiri
 Has anyone heard anything specific about dates for the February 
 PalmSource conference in San Francisco? Thanks.

nope.. i was hoping to nag some people over at Munich event for
those.. i need to plan some decent/cheap flights *g*

---
Aaron Ardiri[EMAIL PROTECTED]
CEO - CTO   +46 70 656 1143
Mobile Wizardry  http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Graffiti shift indicator OS 5.2

2003-08-26 Thread peter
Even though the documentation says to call FrmSetFocus which will call 
FrmGrabFocus, making a direct call to FrmGrabFocus worked!

Thanks Tom.

Any idea about the graffiti shift indicator on OS 5.2?



Tom Hoelscher wrote:
FldGrabFocus would do this, though unless you're working in a table, the
documentation recommends using FrmSetFocus.
-Tom



Hi,
Is there a way to determine, using Graffiti 2, when the user has
turned on the graffiti shift indicator? I'm calling GrfGetState and
get 0 back for temp shift and auto shift. But the gsi is clearly
showing in the shifted case. The documentation says GrfGetState
parameters numslock and capslock are ignored in Graffiti 2 but temp
shift should still work right?
Also, I'm having trouble redisplaying the blinking insertion point in
edit fields. I've tried calling FldSetInsertionPoint,
FldSetSelection, FldSetInsPtPosition, FldDrawField... but nothing.
However, when I enter text, the character is inserted correctly. Any
clues?
Thanks
Peter






--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Feb PalmSource Dates

2003-08-26 Thread Steve Mann
nope.. i was hoping to nag some people over at Munich event for
those.. i need to plan some decent/cheap flights *g*
Pity. Makes planning tough doesn't it?

Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: need help w/pilrc: can't get rid of frame border on modal form

2003-08-26 Thread Dave Lasker
Thanks for the reply, Matt!

You are right - it doesn't really need to be modal, here's what I am really
trying to do...

I am modeling my app after the built-in Address application, and would like
to make the UI look as similar as possible to Address. In the case of adding
a Note, I want a form that looks similar to the NewNoteView that is built
into the OS. In particular I want the title to be centered in the title bar,
and no borders. I was trying to avoid all the cruft that goes on in
AddrNote.c function PrvNoteViewDrawTitleAndForm where the title bar is built
manually.

So I was hoping there was some way to convince pilrc to build a form
resource with a centered title but no borders. Is there???

Thanks...

Dave

Matt Graham [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Dave Lasker [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 
  I saw traces of a frame border in the corners, and when I reduced the
form
  size to (2,2,156,156) the border was there in all its glory. I see no
  difference in behavior between FRAME and NOFRAME. Eliminating MODAL gets
 rid
  of the frame, but the title is no longer centered. Plus, this is really
  supposed to be a modal dialogue.

 Modal dialogs have a border, if it's really supposed to be a modal dialog,
 why does it need to have no border?

 Matt







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


How to check the socket connection??

2003-08-26 Thread Aaron Yang
Hi all,

I have some questions about checking the socket connection. I'm
developing an app which has to connect to a server through socket.
Sometimes the server will break the connection without giving any
message and I can't send any packet through this socket, cus' it has
been disconnected. If I try to verify the connection by sending
packets, the server will disconnect immediately. How can I check the
connection without sending any packet?? I've read all the NetLib APIs
but still do not know how to do.

Rgds,
Aaron



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: fatal exception on switch off with SysLibRemove on Net Libref

2003-08-26 Thread Kevin OKeefe
In general one shouldn't remove a library if one didn't load it.  The Net lib is 
loaded by the
OS, so you'll typically Find it using SysLibFind and you won't need to SysLibLoad it 
(and therefore,
shouldn't SysLibRemove it).

The real question is why SysLibFind isn't finding the network library...  My guess is 
that you've reset 
the device with an Up-arrow reset and extensions haven't been loaded.

Because the net lib is typically loaded at startup by the OS, many applications may 
make some assumptions
about it being around - assumptions you may be breaking by removing it.

Hope this helps,
Kevin

-Original Message-
From: Ben Summers [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 2:00 AM
To: Palm Developer Forum
Subject: fatal exception on switch off with SysLibRemove on Net Lib ref



Hi,

I'm having a weird problem, where on a Palm Vx I get a fatal exception when 
I switch the handheld off. On the emulator, this is reported as random 
applications (not mine) trying to access address 0x.

I have narrowed it down to a call to SysLibRemove of a reference to Net 
Lib. If this call is present, then the exception happens. If it isn't, 
nothing goes wrong. (The code is at the end of the message). The library 
works fine if I use it through the reference obtained. The call to 
SysLibFind is failing, so it's using SysLibLoad to open the library.

Even if all the application does is open the library, and then close it at 
the end without doing anything with it, this happens. I have tried linking 
in the NetSocket library, but it doesn't seem to make any different.

I'm writing the software in C++ using gcc and the prc-tools, with a 
multi-segment program (although all functions which access the library are 
in the default segment). Exceptions and RTTI are switched off. The problem 
also occurs in a simple adaption of an example program, compiled as a 
single segment program.

I'm very puzzled, and as someone a bit new to Palm development unsure of 
what to try next. Any help would be very much appreciated.

Thanks,

Ben


in .cpp file...

const char *library_Net = Net Lib;


in .h file...

extern const char *library_Net;

class SomeClass
{
...
public:
Libraryfalse, library_Net, sysFileTLibrary, sysFileCNet Net;
}


in definition .h file...

templatebool IsRequired, const char **LibName, UInt32 LibType, UInt32 
LibCreator
class Library
{
enum
{
NotLoaded = 0,
PreLoaded = 1,
ThisLoaded = 2
};

public:
Library()
: mLoadStatus(NotLoaded),
  mLibRef(0)
{
}

int Load()
{
// Attempt to load...
UInt16 preloadRef = 0;
if(::SysLibFind(*LibName, preloadRef) == 0)
{
// Was pre-loaded
mLibRef = preloadRef;
mLoadStatus = PreLoaded;
}
else
{
// Attempt to load it
UInt16 ref;
if(::SysLibLoad(LibType, LibCreator, ref) == 0)
{
// Loaded it ourselves.
mLibRef = ref;
mLoadStatus = ThisLoaded;
}
}
if(IsRequired  mLoadStatus == NotLoaded)
{
// Error
return BPL_ERR_CouldntLoadLibrary;
}

return BPL_NO_ERR;
}

int Unload()
{
if(mLibRef != 0  mLoadStatus == ThisLoaded)
{
if(::SysLibRemove(mLibRef) != 0)
{
return BPL_ERR_CouldntRemoveLibrary;
}
mLibRef = 0;
}

return BPL_NO_ERR;
}

~Library()
{
Unload();
}

private:
Library(const Library rToCopy)
{
}

public:
operator UInt16 () {return mLibRef;}
bool IsLoaded() {return mLoadStatus != NotLoaded;}

private:
char mLoadStatus;
UInt16 mLibRef;
};




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


--
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.

About SslLib...

2003-08-26 Thread Aaron Yang
Hi all,

There's another question.
Palm OS 5.0 provides the SSL library. If I try to use the library, I have to
open the library first. I found some code in the Palm Os Companion Vol. II
and I follow the step to open the library. But everytime I call SyLibFind(),
it tells me that there's no such library. Thus, I read a lot of articles and
found it is named SslLib.prc but I still don't know where I can find this
library. Can anybody tell me?? Thanx!!

Rgds,
Aaron



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: About SslLib...

2003-08-26 Thread Ben Combee
At 01:01 PM 8/26/2003, Aaron Yang wrote:
Hi all,

There's another question.
Palm OS 5.0 provides the SSL library. If I try to use the library, I have to
open the library first. I found some code in the Palm Os Companion Vol. II
and I follow the step to open the library. But everytime I call SyLibFind(),
it tells me that there's no such library. Thus, I read a lot of articles and
found it is named SslLib.prc but I still don't know where I can find this
library. Can anybody tell me?? Thanx!!
It wasn't included on devices until Palm OS 5.2.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: MemSemaphoreReserve ????

2003-08-26 Thread Kevin OKeefe
The kernel has event synchronization capabilities, but as has been mentioned, the 
build of the kernel
in Palm OS is specifically created to have only the resources required by the Palm OS 
tasks, and so trying
to create additional tasks, semaphores, mutexes, etc. will eventually cause problems 
for the OS when
the tasks for which those resources are intended tries to use them.

Way back when I was involved with a project to put a Motorola pager on the PalmPilot.  
I had the pleasure
of working within a license of the Kadak kernel and a special build of Palm OS to do 
just the things you guys
are talking about.  It was quite interesting to actually create tasks and do 
multitasking on the Palm OS!

But alas, the pager card never quite made it in the market (a bit ahead of its time).

If you are interested in what's going on under the covers (with no real way of getting 
to it of course), check out 
www.kadak.com/manual/amx/AMX_UGD.PDF and others up there...

Kevin

-Original Message-
From: steve [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 26, 2003 8:50 AM
To: Palm Developer Forum
Subject: RE: MemSemaphoreReserve 


What about disabling the interrupts for a small amount of time?

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Douglas Handy
Sent: Tuesday, August 26, 2003 6:40 AM
To: Palm Developer Forum
Subject: Re: MemSemaphoreReserve 


The semaphore is used for controlling write access to the storage heap.
That
does not necessarily have anything to do with ensuring a given section
of code
is not interrupted.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


--
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.
--



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: About SslLib...

2003-08-26 Thread Aaron Yang
I have a Tungsten C which is running Palm OS 5.2.1. There's no such file on
it.

Ben Combee [EMAIL PROTECTED] ???:[EMAIL PROTECTED]

 At 01:01 PM 8/26/2003, Aaron Yang wrote:
 Hi all,
 
 There's another question.
 Palm OS 5.0 provides the SSL library. If I try to use the library, I have
to
 open the library first. I found some code in the Palm Os Companion Vol.
II
 and I follow the step to open the library. But everytime I call
SyLibFind(),
 it tells me that there's no such library. Thus, I read a lot of articles
and
 found it is named SslLib.prc but I still don't know where I can find this
 library. Can anybody tell me?? Thanx!!

 It wasn't included on devices until Palm OS 5.2.

 --
 Ben Combee [EMAIL PROTECTED]
 CodeWarrior for Palm OS technical lead
 Palm OS programming help @ www.palmoswerks.com






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: About SslLib...

2003-08-26 Thread Ben Combee
At 01:17 PM 8/26/2003, Aaron Yang wrote:
I have a Tungsten C which is running Palm OS 5.2.1. There's no such file on
it.
True, but the Tungsten C does have libraries called Secure Sockets Layer 
Crypto Lib and Secure Sockets Layer Library.  While the name doesn't 
match kSslLibType's definition, the creator and type codes do, making the 
call to SysLibLoad work correctly.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Creator ID

2003-08-26 Thread Steven Fisher
In article [EMAIL PROTECTED], Ben Combee [EMAIL PROTECTED] 
wrote:

 At 06:15 PM 8/25/2003, Julio Sejtman wrote:
 Hello
 I have a question. I have to use the same CreatorID for all of my
 aplications Or I have to to use differently for every program?
 
 Each program should have a different creator ID.  If you don't do that, a 
 user deleting one of your apps from a device would end up deleting all of 
 them.  Also, things like preferences and databases could conflict from one 
 app to another.

I've got a similar problem...

What do I do if I have two or more applications sharing one database? 
Should I still use multiple creator codes? How do I make sure that my 
conduit is called on Windows regardless of what combination of 
applications is installed?

I wish the Windows HotSync behaved the same way as the Mac one with 
regards to conduits without corresponding applications, this would be so 
much easier...

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: setting graffiti 2 state

2003-08-26 Thread Steven Fisher
In article [EMAIL PROTECTED], Matt Graham [EMAIL PROTECTED] 
wrote:

 I'm using a tungsten C, which has a keyboard on it.  The users can set caps
 lock or num lock. In between each keypress, I'm changing focus on the form
 which erases the shift status. I need to be able to restore the shift status
 for the next keyboard press.

This might be a bad idea. I'm not sure. It's just an idea at this 
point...

Can you still read the shift status with Grafitti 2? If so, you can 
probably just not show the shift indicator and remap the keys in code.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: About SslLib...

2003-08-26 Thread Aaron Yang
Dear Ben,

Thanks for your reply!
Does it mean I can load it directly?? And one more question, if I have to
use this library on other OS5 device which not includes SSL Library, what
should I do?? Can I dump this library from Tungsten C??

Rgds,
Aaron

Ben Combee [EMAIL PROTECTED] ???:[EMAIL PROTECTED]

 At 01:17 PM 8/26/2003, Aaron Yang wrote:
 I have a Tungsten C which is running Palm OS 5.2.1. There's no such file
on
 it.

 True, but the Tungsten C does have libraries called Secure Sockets Layer
 Crypto Lib and Secure Sockets Layer Library.  While the name doesn't
 match kSslLibType's definition, the creator and type codes do, making the
 call to SysLibLoad work correctly.

 --
 Ben Combee [EMAIL PROTECTED]
 CodeWarrior for Palm OS technical lead
 Palm OS programming help @ www.palmoswerks.com






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Codewarrior 9, PilRC, and Resources

2003-08-26 Thread Nicholas Pleis
I'm in the process of converting some .rsrc style
resource files over 
to PilRC..

I do have a bit of confusion about one thing, however.
In the mac 
resource world we are able to define arbitrary
resource types in (by 
convention) .r files. IE:

type 'Ttst' {
unsigned longint;   
};

I beleive the rez is responsible for turning this
notation into an 
actual resource entry.

How do I achieve the same thing when Rez is no longer
in the picture? 
(using the Palm linker). I would REALLY like to free
up the post 
linker to smooth over our build process, but my
familiarity with 
PilRC has been of the fairly straightforward variety.

Thanks,

Nick


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Codewarrior 9, PilRC, and Resources

2003-08-26 Thread Ben Combee
At 02:01 PM 8/26/2003, Nicholas Pleis wrote:
I'm in the process of converting some .rsrc style
resource files over
to PilRC..
I do have a bit of confusion about one thing, however.
In the mac
resource world we are able to define arbitrary
resource types in (by
convention) .r files. IE:
type 'Ttst' {
unsigned longint;
};
I beleive the rez is responsible for turning this
notation into an
actual resource entry.
How do I achieve the same thing when Rez is no longer
in the picture?
You just directly create resources in your RCP file using the DATA or HEX 
commands.  You can't create a format template for your resources; you just 
directly specify the binary data.

For this, you'd say something like

HEX 'Ttst' ID 1000 0x00 0x00 0x01 0x02

(check PilRC docs for more info)

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


[OT] PrintBoy question

2003-08-26 Thread Brad Figler
This is a bit off topic, but due to the overwhelming amount of knowledge 
possessed by the people who monitor this NG I figured I would throw this 
question in to the mix.

We use the printboy SDK to do IR printing in our product.  PrintBoy has 
been pretty responsive to us and has made improvements to the SDK to 
allow seamless printing (and configuration) without ever leaving our app.

With the popularity of WI-FI we decided to do some testing using 
printboy's own software to print a memo from the palmos memo app.  We 
have had zero luck getting a single page out of our printer.  We have 
combed their website and NG for info and it seems that everyone is 
having zero success actually printing via a TCP/IP connection.

My question is, has anyone actually seen this work?  I wonder if anyone 
knows what the underlying protocol printboy is using to talk to the 
printer.  We have a printer here that has a JetDirect card in it as well 
as print servers that support LPR (on another printer).  Does anyone 
know how printboy is attempting to connect to the printers?  We see our 
print server's busy light flash very quickly and printboy acts as if it 
successfully printed the job, however, nothing happens.

Again, my apologies for posting this here, but printboy's NG has not 
responses on posts that are very similar to this one.

Thanks,

Brad Figler

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


SSL....

2003-08-26 Thread JYTsrng
Hi,

Can anybody tell me if there's any SSL solution on Palm OS 3.5??

Best Regards,
J.Y.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: uncompressing bitmaps

2003-08-26 Thread Steve Mann
what I do is create an empty bitmap
that is big enough to uncompress into, copy the data in,
and then call BmpCompress with BitmapCompressionTypeNone.
Nothing jumps out after a quick read. I use similar code and it works 
for me. Sorry that doesn't help much.

Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Retrieving AP's MAC address.

2003-08-26 Thread Carl
I am working on an application for the Tungsten C palm device and there is a
point where my application needs the MAC address of the AP that is currently
associated with the radio device, or in this case the Tungsten C. I have
installed the PalmSG_SDK.exe, from pluggedin.palm.com site, and previously I
have installed the Palm OS 5 SDK (68K) R2. I am using the function
NetLibIFSettingGet with the parameter netIFSetting80211AccessPointBSSID, as
per the Palm_OS_Reference.pdf. But on each execution, of the
NetLibIFSettingGet, I am receiving a System error of unknown setting
(0x1281). I have used other params, such as netIFSettingActualIPAddr and
other's with no problems, it only seems that the params declared in the 'New
Settings as of PalmOS 5.1 of the NetMgr.h file are not being recognized by
the NetLibIFSettingGet function.
Is there something somewhere I am missing? What library has the
implementation for the NetLibIFSettingGet function?

I have followed both the automated and manual instructions for updating my
CodeWarrior with the proper files as per the Palm OS 5 SDK (68K) R2 upgrade
and the PalmSG SDK. Maybe I am missing something simple or something that is
not documented, but any suggestions at this point would be greatly
appreciated.

 Any sample code using the netIFSetting80211AccessPointBSSID param?

Thanks to all

Carl



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Automated Testing

2003-08-26 Thread Eric Potter
Are there any automated testing products out there that are less
expensize than TestQuest Pro but more mature than AutoEmul.

Thanks

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/