Re: NetLibReceive does not return on PalmOS Simulator

2002-05-29 Thread Alan Ingleby
I encountered a similar issue. It turns out that I was requesting zero bytes (bufLen). On a real device or emulator, this works fine, but the simluator doesn't like it. Hope this helps. Alan Miron Ophir [EMAIL PROTECTED] wrote in message news:87498@palm-dev-forum... Hello, I have

Re: DES in PDA

2002-05-26 Thread Alan Ingleby
My question is, can I implement DES or any other algorythm in a prc file. If you just need *any* type of encryption, I would suggest an easier to implement (but weaker) algorithm, such as RC4. There are many examples of this simple algorithm on the web. Try

Re: Vx/C3 cannot work?? But m505/m500 can!!

2002-05-20 Thread Alan Ingleby
, Kirpheaice. Alan Ingleby wrote: Are you using a newer compression format on your graphics? Or perhaps using an os 4.0 specific function? What does the emulator say when it crashes? Alan ¿cªøÂ@ (¤p¿c||¦Nº¸µá¦ã´µ) [EMAIL PROTECTED] wrote in message news:86617@palm-dev-forum... Hello all

Re: Vx/C3 cannot work?? But m505/m500 can!!

2002-05-19 Thread Alan Ingleby
Are you using a newer compression format on your graphics? Or perhaps using an os 4.0 specific function? What does the emulator say when it crashes? Alan ¿cªøÂ@ (¤p¿c||¦Nº¸µá¦ã´µ) [EMAIL PROTECTED] wrote in message news:86617@palm-dev-forum... Hello all, I got a problem on my program,

CW - PRC Tools

2002-05-15 Thread Alan Ingleby
any existing PRC Tools users about which combination products they use. Thanks guys. Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PPP Connection between PalmOS and Window

2002-04-17 Thread Alan Ingleby
I've also researched this recently, and can confirm that there is no solution for Windows. Scott Johnson [EMAIL PROTECTED] wrote in message news:83521@palm-dev-forum... From: Borislav Kolev [mailto:[EMAIL PROTECTED]] We didn't actually implement PPP server, we implemented a simple proxy

Re: Finding the size of the dynamic heap

2002-04-17 Thread Alan Ingleby
Why not just try and launch the plugin, and fail gracefully if you don't have enough memory? Joe [EMAIL PROTECTED] wrote in message news:84102@palm-dev-forum... --- Brian Smith [EMAIL PROTECTED] wrote: What I'm wondering is how to guage the size of the dynamic heap, so I'll know whether

Re: PROPOSAL: display controller detection utility

2002-04-11 Thread Alan Ingleby
is a FATAL :) writing is definately another issue - especially if you turn of semaphores :) Yeah, the only time I've EVER lost data due to a crash was when trying to speed up Lemmings with Afterburner... 8-P Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe

Re: New Channel for OS 5

2002-03-26 Thread Alan Ingleby
Stringer [EMAIL PROTECTED] wrote in message news:80929@palm-dev-forum... Subject: New Channel for OS 5 ? From: Regis St-Gelais [EMAIL PROTECTED] Date: Thu, 21 Mar 2002 10:08:19 -0500 Since OS 5 is in developpement phase, maybe it would be nice to have a specific forum channel for

Re: Unsigned char to a char *

2002-03-07 Thread Alan Ingleby
[EMAIL PROTECTED] wrote in message news:78786@palm-dev-forum... How do you convert an unsigned char[40] to a char *? Thanks! unsigned char a[40]; // Keep in mind that this creates a buffer of 40 bytes, and sets a to be a POINTER to that buffer. char* b; // So both b and a are pointers. b

Re: Still strugglin with bitmaps :/

2002-03-07 Thread Alan Ingleby
You definately don't need to use a resource database. It's just binary data after all. Write it where you feel like. Email me privately, and I can send you source code. Alan Matt Disher (TiBook) [EMAIL PROTECTED] wrote in message news:78781@palm-dev-forum... OK, I now have a gadget by

Re: Basic table question:

2002-01-23 Thread Alan Ingleby
I'm currently writing one... It's not much fun. I'd be interested in seeing what you've done if you want to send it..? James Barwick [EMAIL PROTECTED] wrote in message news:74380@palm-dev-forum... Peter Epstein wrote: The built in applications always use approach (B). That's not to say that

Re: Palm ARM multi-thread ?

2002-01-21 Thread Alan Ingleby
I won't be attending PalmSource, but am looking forward to getting this information. Will all the specs and so forth be released on the web at the same with as PalmSource? Jim Schram [EMAIL PROTECTED] wrote in message news:74116@palm-dev-forum... At 4:01 PM -0200 2002/01/21, Roberto Amorim

Re: select

2002-01-13 Thread Alan Ingleby
That would look a bit weird is only half the text was highlighted, but I'm sure you can do it. It's a roll-your-own unfortunately.. See gadgets. ramprasad jaganathan [EMAIL PROTECTED] wrote in message news:73373@palm-dev-forum... is it possible to make a selected text to be bold in a text

Re: SiPix printer

2002-01-08 Thread Alan Ingleby
I have used the SiPix printer recently, but found it to be very basic, and far too slow. I suggest you contact their developer support person, or otherwise try the people you bought it from. I (personally) like the Monarch 6015 because of it's tight integration with the III series, many font

Re: Potential drawing race condition

2001-12-19 Thread Alan Ingleby
The Palm OS is not multitasking, so there can be no race condition. Evan Wise [EMAIL PROTECTED] wrote in message news:71726@palm-dev-forum... Hey propellerheads, Hypothetically speaking, would it be possible to corrupt the window memory heap by calling WinDrawChars while the device is doing

Re: Urgent help

2001-11-08 Thread Alan Ingleby
Have you tried stepping through your code, and looking at what happened just before the error? Parhaps a short code sample from this point in your code would help us diagnose the problem.. Alan [EMAIL PROTECTED] wrote in message news:67334@palm-dev-forum... I am using this code to register

Re: The old float / record question...

2001-10-25 Thread Alan Ingleby
; } ItemType; The record is of size sizeof(ItemType), and contaqins whatever you feel like. (Here, two strings amd two doubles.) If this doesn't help, please post a (small) sample of your code, so I can get a better idea of what you are stuck with. Alan Ingleby -- For information on using

LstGetTopItem?

2001-10-03 Thread Alan Ingleby
What's the suggested method for determining the top items displayed in a list? Currently I use listPtr-topItem, but that's obviously a no-no. Seems strange that there's a LstSetTopItem, but not a LstGetTopItem. And clues? Alan Ingleby -- For information on using the Palm Developer

Re: LstGetTopItem?

2001-10-03 Thread Alan Ingleby
Scratch that. It's new in SDK 4.0. Alan Ingleby [EMAIL PROTECTED] wrote in message news:64074@palm-dev-forum... What's the suggested method for determining the top items displayed in a list? Currently I use listPtr-topItem, but that's obviously a no-no. Seems strange that there's

Re: YOU INTELLIGENT PEOPLE OUT THERE!

2001-08-30 Thread Alan Ingleby
If it's working find on the emulator, try and EXPORT the database from the emulator, and saee how that goes when put onto the device. manish jaggi [EMAIL PROTECTED] wrote in message news:61279@palm-dev-forum... Hello every one. I am stuck. The problem i am facing is - I have made a simple

Re: scientific notation to decimal conversion

2001-07-09 Thread Alan Ingleby
spits out scientific notation?? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Dave Lippincott [EMAIL PROTECTED] wrote in message news:55923@palm-dev-forum... Tons of code examples already posted to the forum on this topic

Re: Trouble in Window Type structure while converting into bitmap

2001-07-09 Thread Alan Ingleby
Are you using SDK 3.0??? This sample was designed for 3.0. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Vijay Raghavan [EMAIL PROTECTED] wrote in message news:55768@palm-dev-forum... Hi all Anybody gone through

Re: MathLib pow() function

2001-07-08 Thread Alan Ingleby
There are quite a few ways around this program. The most powerful (IMHO) is a set of public domain BigNum functions that let you represent arbitrarily large integers. I'll email you an attachment which contains all the functions. Regards, Alan Ingleby Aaron Ardiri [EMAIL PROTECTED] wrote

Re: lack of dynamic memory

2001-06-24 Thread Alan Ingleby
Try rewriting your app using straight C, or even better ASM 8-) Regards, Alan Ingleby Ben Combee [EMAIL PROTECTED] wrote in message news:54126@palm-dev-forum... Yoel Lanir [EMAIL PROTECTED] wrote in message news:54111@palm-dev-forum... Hi all, My application does not have enough

Re: Gamma Correction on the Color devices?

2001-06-18 Thread Alan Ingleby
Early versions of the OS4 ROMs for 16 bit color devices had Gamma problems, but were fixed for the final version. I presume this means that the final version does some sort of gamma correction, but I don't know any more than that, sorry. Look through the 4.0 SDK. Regards, Alan Ingleby Systems

Re: Link Error?

2001-06-13 Thread Alan Ingleby
Or if using CW, change the Code Model: to Smart instead of Small. This will tell the compiler to use 32 bit jumps where needed. It's a lot easier to use than jump islands, but results in slightly bloated code. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood

Re: Linux on the Palm

2001-06-13 Thread Alan Ingleby
Aaron Ardiri [EMAIL PROTECTED] wrote in message news:52882@palm-dev-forum... No, it wouldn't. Palm is an advanced notebook, and 16MHz processor can't run linux in graphics ... Nowadays linux requires more than 2 Mb of RAM and more than 16 (and even 33) MHz. There's nothing in the

Re: Linux on the Palm

2001-06-13 Thread Alan Ingleby
limit? Regards, Alan Ingleby Chris Faherty [EMAIL PROTECTED] wrote in message news:52988@palm-dev-forum... On Thursday 14 June 2001 12:27 am, Alan Ingleby wrote: http://www.uclinux.com/ Exactly... It *can* be done, but although these guys have a Linux kernel for the Dragonball, it's

Re: Please fix my penX and penY code.

2001-06-11 Thread Alan Ingleby
Also, my guess is that you want x and y to be globals, so they're remembered when the next event comes along... Better rename them too... gLastX gLastY sound good to me. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Aaron

Linux on the Palm

2001-06-11 Thread Alan Ingleby
PalmOS does a great job, and no other OS could replace it (IMHO), but wouldn't it be cool (and *very* nerdy) to see Linux running on the Palm... to Telnet to your Palm?? I've been looking into this over the weekend, and have found that someone is currently trying to make this a reality... have a

Re: Where to find FloatToString? (FplFToA no good)

2001-06-06 Thread Alan Ingleby
Search the archives for GetDoubleFromString and GetStringFromDouble they are very nicely coded, and very Palm specific. -- Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Jaba Adams [EMAIL PROTECTED] wrote in message news

Re: Menu checkmark problem

2001-06-06 Thread Alan Ingleby
Capture menu events, and then proceed to simulate a menu by opening a small form in the top of the screen..? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Scott Johnson (Bellevue) [EMAIL PROTECTED] wrote in message news

Re: flash ram ID confusion

2001-05-24 Thread Alan Ingleby
IIIC has Flash. Only IIIe and M100/M105 Has no flash. There may be others, so check out the product comparison list on palms website. Regards, Alan Ingleby Alan hand [EMAIL PROTECTED] wrote in message news:50503@palm-dev-forum... I know that this issue has been discussed time and time

Re: Fax

2001-05-16 Thread Alan Ingleby
You need to look up documentation on the extended modem AT commands which deal with fax data. Regards, Alan Ingleby Marco Bastarolo [EMAIL PROTECTED] wrote in message news:49309@palm-dev-forum... Hi guys! I have a big problem... I must send a fax using my application for ParmOs 3.5 but I

Re: Fax

2001-05-16 Thread Alan Ingleby
Lots of reading here, but the information is surely buried somewhere in these two documents. http://www.faqs.org/faqs/fax-faq/part1/ http://www.faqs.org/faqs/fax-faq/part2/ Regards, Alan Ingleby Marco Bastarolo [EMAIL PROTECTED] wrote in message news:49445@palm-dev-forum... Thak you, Alan

Re: InetLib

2001-05-16 Thread Alan Ingleby
Use netlib instead. Regards, Alan Ingleby Ajit N.K [EMAIL PROTECTED] wrote in message news:49440@palm-dev-forum... hi, let me tell u whats happening. i am running INetLow example. 1) if i set INetConfigNameType to any one of these inetCfgNameDefault inetCfgNameDefWireline

Re: GCC library files with CW?

2001-05-14 Thread Alan Ingleby
The actual reason is that I wanted to use PilotSSLeay with CW. I've since put together a (IMHO) really neat little rc4 algorithm, which I'm using instead. I'm still interested in SSL though. Regards, Alan Ingleby Arvind [EMAIL PROTECTED] wrote in message news:49265@palm-dev-forum... Hi

Re: Internet connectivity

2001-05-10 Thread Alan Ingleby
You need to test on a ROM which has Web Clippijng support. Try the OS4 FULL DEBUG rom. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Ajit N.K [EMAIL PROTECTED] wrote in message news:48667@palm-dev-forum... Hi lan

Re: InetLib for Palm V

2001-05-10 Thread Alan Ingleby
MIK provides INet.lib Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia Srinivas Padmanabhuni [EMAIL PROTECTED] wrote in message news:48684@palm-dev-forum... Hi I am developing an application involving Communication

Re: Internet connectivity

2001-05-09 Thread Alan Ingleby
Ajit N.K [EMAIL PROTECTED] wrote in message news:48652@palm-dev-forum... Hi Alan Ingleby, i came to know that u were successfully able to post a query to a JSP page on the internet. could u send me the relevent code please may be to my email a/c [EMAIL PROTECTED] ? i have to test it on my

Re: NetLib sample application

2001-05-08 Thread Alan Ingleby
In POSE, check the Redirect NetLib calls to host TCP/IP. Then just make sure your PC is on the internet. Regards, Alan Ingleby Ajit N.K [EMAIL PROTECTED] wrote in message news:48491@palm-dev-forum... Hi, when i am trying to run NetLib sample application in the Emulator.. i am getting

Re: May I return to the original Os version, after I made an os upgrade?

2001-05-08 Thread Alan Ingleby
If you have access to a ROM file, then sure. Just use the same upgrade tool you used for 3.3, but on the first screen, click ADVANCED. It will allow you to select a ROM file instead. The rest of the procedure should be the same as before. Regards, Alan Ingleby [EMAIL PROTECTED] wrote

INet.lib and SSL

2001-05-08 Thread Alan Ingleby
connections. Regards, Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

GCC library files with CW?

2001-05-07 Thread Alan Ingleby
As a follow-up to a recent posting, I have this question: Does anyone know a way to get GCC libraries (*.a) to work with CW (*.lib)? Is there a converter available? Regards, Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http

PilotSSleay

2001-05-06 Thread Alan Ingleby
obvious? Regards, Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Hacking PenMgr

2001-05-06 Thread Alan Ingleby
, Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: PilotSSleay

2001-05-06 Thread Alan Ingleby
Scott Johnson (Bellevue) [EMAIL PROTECTED] wrote in message news:48365@palm-dev-forum... From: Alan Ingleby [mailto:[EMAIL PROTECTED]] I'm using CW7, and I am trying to link a file from PilotSSLeay called librc4.a into my project. CW tells me it can't add this file (no explanation given

Re: conector macho - RS232 palm

2001-04-22 Thread Alan Ingleby
The device you want is called a "DB9M to DB9M Null Modem Adaptor". Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Brian Hall" [EMAIL PROTECTED] wrote in message news:46494@palm-dev-forum... I need

Re: palm application size

2001-04-19 Thread Alan Ingleby
This is a very subjective question, but here's my opinion. In the order you asked : 0-4K, 5-14K, 15-49K, 50-149K, above 150K. Regards, Alan Ingleby "ajitnk" [EMAIL PROTECTED] wrote in message news:46255@palm-dev-forum... hi evrybody, i am new to palm programming palm applicatio

Re: Code quality of GCC verses CW

2001-04-10 Thread Alan Ingleby
If you look at http://www.pasta.cs.uit.no/pipermail/wwwpalmdev/1999-June/002921.html you will see a similar occurrence, and it seems to be the linker which causes this problem as a result of using a multi-segment application. Read the URL, it *kind of* explains the issue. Regards, Alan Ingleby

Re: Float Manager Functions

2001-04-08 Thread Alan Ingleby
Search the newsgroup archive for GetDoubleFromString, or GetStringFromDouble. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Sripriya N" [EMAIL PROTECTED] wrote in message news:44961@palm-dev-forum...

Re: URL for Palm Archives?

2001-04-08 Thread Alan Ingleby
The best place is http://groups.yahoo.com/group/palm-dev-forum/ Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "OmniSoftSystems" [EMAIL PROTECTED] wrote in message news:45000@palm-dev-forum... Hello, What

WinScreenMode Crash on OS4.0

2001-04-04 Thread Alan Ingleby
the Draw Window is correctly set using the following call: WinSetDrawWindow(WinGetFirstWindow()); Anyone see a problem with doing this?? Also, note that this only crashes a 4.0v (BW) debug rom. The M505 debug rom works perfectly! Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd

Re: Floating Point Input

2001-04-03 Thread Alan Ingleby
Floating point number are a *very* recurring topic on this group. There are simple routines you can paste into your code to do this. GetDoubleFromString is one I use, and has been posted here a few times. Check the archives.. the full source is in there. Regards, Alan Ingleby Systems

OS 4 Debug ROM Error

2001-04-02 Thread Alan Ingleby
ail.. I'm sure I'm making an obvoius mistake somewhere, but can't see where. To point me in the right direction, can anyone list the common reasons for this occurring? Regards, Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm

Re: OS 4 Debug ROM Error

2001-04-02 Thread Alan Ingleby
"Sebastian Voges" [EMAIL PROTECTED] wrote in message news:44385@palm-dev-forum... "Alan Ingleby" [EMAIL PROTECTED] wrote in message news:44337@palm-dev-forum... Lately, my gremlin runs have been bombing out with a "Form.c, Line:177, Form already loaded"

Re: Doubles???

2001-04-02 Thread Alan Ingleby
by the OS. You need to look at a 3rd party library like MathLib for all the cool functions. Also, it might pay to look at the FlpCompDouble data type it comes in handy sometimes... Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia

Re: How to get the remainder of a division

2001-03-28 Thread Alan Ingleby
She'll be right mate! Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Aaron Ardiri" [EMAIL PROTECTED] wrote in message news:43760@palm-dev-forum... Man, I'm gonna spend the rest of the week slapping myself e

Re: Adding resources of a new type into a PRC file?

2001-03-28 Thread Alan Ingleby
it's legal, but who on earth is going to start using that as a standard? Alternatively, there are a few four letter words which I *guarantee* will never be used officially... Think carefully here... 8-) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthor

Re: ListPtr-itemsText (and POSE)

2001-03-28 Thread Alan Ingleby
LstSetSelection followed by LstGetSelectionText, or just handle the list drawing yourself using LstSetDrawFunction, then you supply the text yourself, so you inherently know it. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122

Re: Access to PalmOS structures

2001-03-27 Thread Alan Ingleby
You're right that the APIs don't provide ways to do certain things to certain objects. If you really, really need to change the font of a label, and it isn't something the label object supports, then roll your own "label" with a gadget... probably not more than 20 lines of code if

Re: How to get the remainder of a division

2001-03-27 Thread Alan Ingleby
In mathematical terms, I believe the value of "x mod y" can be represented as "x - (x / y) * y", just make sure x and y are both integers. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Nicolás

Re: What percent of Palms are Palm OS 3.5 or better?

2001-03-27 Thread Alan Ingleby
is because I use custom fonts. (There may have been a second reason too... ) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia [EMAIL PROTECTED] wrote in message news:43715@palm-dev-forum... Of the thirteen million Palms sold

Re: Access to PalmOS structures

2001-03-27 Thread Alan Ingleby
Is the ARM based emulator therefore going to be based (in part) on the Pose core (Particularly the UAE bits)? Because if it is, you have to release the entire OS5 source code under the GPL. 8-) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn

Re: How to get the remainder of a division

2001-03-27 Thread Alan Ingleby
DOH! Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Keith Rollin" [EMAIL PROTECTED] wrote in message news:43727@palm-dev-forum... Am I missing something embarrassingly obvious? What's wrong with "x

Re: How to get the remainder of a division

2001-03-27 Thread Alan Ingleby
Man, I'm gonna spend the rest of the week slapping myself each time I think about this... 8- Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Aaron Ardiri" [EMAIL PROTECTED] wrote in message news:43754@palm

Re: to anyone who has done signature++ on OS3.5

2001-03-27 Thread Alan Ingleby
SDK 4.0 has a nice Beamer app in it. Demonstrates a lot of this type of thing, but still doesn't reduce a signature to 1 bitplane, which I suspect is what most people need. (Like me.) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122

Re: Access to PalmOS structures

2001-03-26 Thread Alan Ingleby
why not allow us to start bug testing it? Did anyone out there get a chance to test direct structure access on PalmOS 5 at PalmSource?? Alan Ingleby -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Access to PalmOS structures

2001-03-26 Thread Alan Ingleby
to change the font type on the fly to highlight something for example. In this context, what do you mean by "highlight"? To me, highlight means to invert something (such as text in an edit field, or the contents of a button when it's tapped on). None of this requires changing fonts, does

Re: Access to PalmOS structures

2001-03-25 Thread Alan Ingleby
But there is still no API equivalent for a *lot* of things. One particular thing I use is to change the Font on a Pushbutton control. I can only do this be accessing data structures directly. I was kind of hoping 4.0 would include functions for accessing this type of thing. Regards, Alan

Re: SetFonts of controls... (OS 4.0)

2001-03-21 Thread Alan Ingleby
ecifically* about this code type of thing. ctl=FrmGetObjectPtr(frm,FrmGetObjectIndex(frm,i)); ctl-font=boldFont; CtlEraseControl(ctl); CtlDrawControl(ctl); I'm going to continue to develop using this code, as it's the only way possible AFAIK. Anyone else have a suggestion here?? Regards, Al

Re: Records left locked in closed unprotected DB

2001-03-18 Thread Alan Ingleby
Somewhere in your code, you're calling a MemHandleLock, without the corresponding MemPtrFree. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Ng Wei Gee" [EMAIL PROTECTED] wrote in message news:42501@palm-dev-for

Re: Millisecond delay

2001-03-15 Thread Alan Ingleby
and still 1/100 is not 1/1000 of a second But if you count a delay loop of 1200 cycles as being very close to 1 sec, or 1/100th of a second,then you can then start to use a value of 120 as a delay loop for 1/1000th of a second. seems this question arises often how to be more precise with

Re: Grayscale drawing

2001-03-15 Thread Alan Ingleby
controller onboard, but that doesn't seem very likely. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "DIAMOND JEFF" [EMAIL PROTECTED] wrote in message news:42423@palm-dev-forum... Thanks, Dan... Since it

New Sony CLIE is 320x320??

2001-03-15 Thread Alan Ingleby
This is an issue for all developers. What happens to our programs which presume screen size of 160x160? Is there any sample code which shows how we can take these varying resolutions into account? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn

Re: Millisecond delay

2001-03-14 Thread Alan Ingleby
or if I'm just a barfing idiot.. (Which is more than likely).. 8-) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Bill Shaw" [EMAIL PROTECTED] wrote in message news:42184@palm-dev-forum... Needing a millisecond

Re: Millisecond delay

2001-03-14 Thread Alan Ingleby
pretty accurate. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Alan Ingleby" [EMAIL PROTECTED] wrote in message news:42276@palm-dev-forum... I have an idea for a different solution.. (I just came up with

Re: Millisecond delay

2001-03-14 Thread Alan Ingleby
. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "HowY" [EMAIL PROTECTED] wrote in message news:42297@palm-dev-forum... But a tick is 1/100th of a second... not a millisecond -- For information on usin

Re: Millisecond delay

2001-03-14 Thread Alan Ingleby
Shaw could elaborate a little further Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia [EMAIL PROTECTED] wrote in message news:42368@palm-dev-forum... I know, but a value of (about) 1200 causes a delay of one tick

Re: Helper Pack for Newbies.

2001-03-12 Thread Alan Ingleby
Sorry guys. You need to remove the .DOT from my email address. See below for the correct one. [EMAIL PROTECTED] Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Ritesh" [EMAIL PROTECTED] wrote in message news:

Re: Helper Pack for Newbies.

2001-03-08 Thread Alan Ingleby
everybody! Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Randy Brown" [EMAIL PROTECTED] wrote in message news:41643@palm-dev-forum... Alan and Richard - I think this is a great idea, and something that would be

Re: change font in a button dynamically

2001-03-01 Thread Alan Ingleby
ControlType* controlPtr; FormType* currentForm; controlPtr = FrmGetObjectPtr(currentForm, FrmGetObjectIndex(currentForm, MyButtonID)); controlPtr-font = boldFont; You then need to redraw the control. Enjoy. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood

Re: getting float value in Exponential terms

2001-03-01 Thread Alan Ingleby
to just download ALL messages, so I have a locally cached copy of all 26,000-odd messages. If you are *still* stuck, email me. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "ajitnk" [EMAIL PROTECTED] wrote in mes

Re: getting float value in Exponential terms

2001-03-01 Thread Alan Ingleby
In fact... Go to : http://wozniak.dnsalias.org/~adam/PalmFAQ.html#Q2.2 This is a fantastic little help page. Big thanks to Adam for this! Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Alan Ingleby" [EMAIL

Helper Pack for Newbies.

2001-03-01 Thread Alan Ingleby
and helpers.h file. This could contain all the cool tools that are missing, and people always need. (ie: All the Float to string type things etc.) Let me know what you all think... Perhaps this *is* a harebrained idea after all, in which case, just ignore it... 8-) Alan Ingleby Systems Developer

Re: doubt

2001-02-28 Thread Alan Ingleby
Did you prefix the prototype with "extern"... (I don't know whether this is bad C or not...) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "nisha a" [EMAIL PROTECTED] wrote in message news:41209@palm-

Re: Custom Font Problem

2001-02-25 Thread Alan Ingleby
There is a *lot* of info out there. Look it up. I have it running on CW7, but required a bit of tweaking. After you have researched it, I'll be happy to help if you get a bit stuck. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122

Re: automatically running app on reset

2001-02-20 Thread Alan Ingleby
More specifically, your app should probably listen for a sysAppLaunchCmdReset event, and add an event to the queue at that point which will launch itself. I'm curious why you would want to do this, however. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road

Re: Trigger label changes bombing

2001-02-19 Thread Alan Ingleby
Does the Palm OS know to free the chunk itself when the control is unloaded? Regards, Alan Ingleby "Peter Epstein" [EMAIL PROTECTED] wrote in message news:40235@palm-dev-forum... At 10:40 AM 2/19/2001, Matt Mason wrote: When I change the label on a popup trigger with this: {

Re: [?] Plugging List text into a Field

2001-02-19 Thread Alan Ingleby
You are using SDK 3.5. These types were used in earlier SDKs. #include "PalmCompatibility.h" to make SDK3.5 understand them, or change them to the new types. eg: Word - UInt16 (just look in PalmCompatibility.h to see what changes). Regards, Alan Ingleby Systems Developer ProfitLink

Re: Change label text at run time?

2001-02-15 Thread Alan Ingleby
FormCopyLabel If the new label is shorter than the old one, first hide the label using FrmHideObject, change it, the show it. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Dave Lippincott" [EMAIL PROTEC

Re: Table Focusing (ie. Address Book App)

2001-02-15 Thread Alan Ingleby
Just a suggestion, (and this is a real hack), but you could queue a pen event to simulate the user tapping on the required area at form start-up...? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Justin Felker&qu

Re: WinScreenMode

2001-02-11 Thread Alan Ingleby
on a 3rd party compiler, aren't you going to have more troubles? It would be much easier to cope with such a situation if you'd stuck with Int32.) /my 2c PS: :) :) :) :) (Obligatory smileys - just for Aaron) ;-P Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road

Re: Code Warrior Lite

2001-02-11 Thread Alan Ingleby
Upgrade to SDK 3.5, with your current version of CW. That way, the change over should be totally painless. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "Manal Milad" [EMAIL PROTECTED] wrote in message news:

Re: Debugging in Lite

2001-02-11 Thread Alan Ingleby
Either exit CW and go back in for each debug session, or get CW 7. I just got 7, and it ROCKS!... Well.. when it doesn't give me unhandled exception errors, anyway. Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122 Australia "

Avoiding Globals

2001-02-11 Thread Alan Ingleby
Globals use space on the dynamic heap, and can't be used in certain circumstances anyway, so what other ways do we have of implementing them... (I know Aaron recently suggested a method, but are there others?) Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood

CodeWarrior 7 Glitch

2001-02-08 Thread Alan Ingleby
I have my editor window maximised most of the time, but when I start a build, CW "restores" it. I prefer to keep it maximised though, so is there a way of telling CW not to do this? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Vic

Re: How much memory to allocate for string when converting from UInt32 using StrIToA.

2001-02-04 Thread Alan Ingleby
Actually, a Signed 32 bit Int can be -20 plus null terminator = 12 chars! Alan Ingleby "Dave Carrigan" [EMAIL PROTECTED] wrote in message news:38237@palm-dev-forum... Aaron Ardiri [EMAIL PROTECTED] writes: whats the largest number? 16bit - 32767 or 65535, o

Re: strings to floats

2001-02-01 Thread Alan Ingleby
FlpDoubleSaldo; Saldo = FlpAToF("30.3"); That looks right to me. But when I want a bit more flexibility, I use the FlpCompDouble data type see below: FlpCompDouble Saldo; Saldo.d = 30.3D; Bit easier huh?... And a LOT faster too. Alan Ingleby When I watch the fields of

<    1   2   3   4   5   >