Re: Free handle problem

2002-07-18 Thread Brett A. Hoover
Looks like code out of the Palm Programming Bible. I ran into this not too long ago working with the examples. FrmGetGadgetData(form, gadgetIndex); actually returns a pointer to the data and not a handle. I had to modify from the example in the book and everything worked fine. Use a data poin

Retrieving from a Database

2002-05-22 Thread Brett ---------
y help would be appreciated. Thanks Brett _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- For information on using the Palm Developer Forums, or to unsubscribe, p

Database Question

2002-05-18 Thread Brett ---------
es at the first attempt to open the database. I would appreciate any input. Thanks! Brett Luelling _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- For information on using the Palm Developer Fo

Re: MemSet problem

2002-05-01 Thread Brett ---------
ropInfo.dbName, "SIR"); DB->fieldPropInfo.fieldNum = 5; DB->fieldPropInfo.passwords = DB->passwords; DB->fieldPropInfo.fieldProp.name = "Comments"; DB->fieldPropInfo.fieldProp.type = tdbFtText; DB->fieldPropInfo.fieldProp.props.text.defaultStr = "empty&

MemSet problem

2002-05-01 Thread Brett ---------
I'm using a ThinkDB database to store information and everytime I try to create the fields for the third record my MemSet function returns a NULL. Do I have to free the memory MemSet uses? Am I running out of heap space? Any help would be greatly appreciated.

Re: Compiling Ada Source?

2002-04-26 Thread Brett Allen
I don't know if it uses tasks or packagesit is a program with freely available source. I actually don't know Ada yet (although I know C/C++ well so I just need to study up I think), and I haven't taken a detailed enough look to learn much about the language features that are used. I figure i

Compiling Ada Source?

2002-04-26 Thread Brett Allen
I have a console program written in Ada, and I want to port it onto palm. Rather than rewrite the whole thing, I was hoping that I could put everything that needs to change into seperate functions that I can rewrite, and somehow compile the Ada as it is. Are the ada compilers? Any other suggesti