Updated PalmTypes.r?

2001-01-23 Thread Mark F Rodriguez
I've been using Constructor to assemble my UI, but have run into problems (empty resources) when backing up the file onto a remote server. I've been able to run the following command in MPW: DeRez myGUI.rsrc PalmTypes.r To produce *.r (Rez) file which is great for cross platform development and

Accessing Built-in Resource Types

2001-02-06 Thread Mark F Rodriguez
I'm dealing with a C++ object called 'Money' and would like to support different currencies. I noticed in the Expense application there are calls to system resources which appear to house some currency information. resP = MemHandleLock (DmGetResource (sysResTCountries, sysResIDCountries)); decima

Undocumented color API calls in V3.5

2001-02-08 Thread Mark F Rodriguez
I'm neck deep into the color functions and found an interesting function call in the Palm OS 3.5 Limited Sources download. It looks like controls have the ability to be drawn with "user defined" colors. Unfortunately, I can't seem to find the function in the documentation and was wondering if anyo

Re: Getting integer from a textfield

2001-02-12 Thread Mark F Rodriguez
On 2/12/01 9:53 AM, "Mert ESSIZ" <[EMAIL PROTECTED]> wrote: > Hi, > > How can I get an integer value from a texfield? > Where do I make mistake? > > Thanks in advance. Try these generic functions... unsigned long GetIntFromField (FieldPtr fldPtr) { Handle fldHandle; CharPtr

Re: Objective C

2001-02-27 Thread Mark F Rodriguez
On 2/22/01 9:35 AM, "Philip Sheard" <[EMAIL PROTECTED]> wrote: > Has anyone tried Objective C in CW? I cannot find any documentation about > it, and I seem to fall at the first hurdle, as I cannot find a header file > Object.h. > I've been playing around with Obj-C for the Palm, but due to the

Re: Render JPEG on Palm

2001-04-16 Thread Mark F Rodriguez
On 4/16/01 4:50 PM, "Konstantin Klyatskin" <[EMAIL PROTECTED]> wrote: > Probably you could try to port some opens sources libraries available in > Inet. I did it in such a manner, works well... > > -- > Regards, > Konstantin Depending on the "open source" license agreement, we all may be able t

Re: Brainless Constructor from Metrowerks is killing me...

2001-04-23 Thread Mark F Rodriguez
On 4/20/01 6:05 PM, "Horace Ho" <[EMAIL PROTECTED]> wrote: > Some users (e.g. me) still prefer the Constructor editing UI. Agreed. > Unless there is a way to export Constructor .rscr to a plain > text format... sigh. There is though... At least on the Mac. You can use the MPW DeRez command to

Re: Valid dates

2001-04-23 Thread Mark F Rodriguez
On 4/20/01 6:07 PM, "Dan Samber" <[EMAIL PROTECTED]> wrote: > > Is there any way to check the validity of a date? > I tried a couple of the built in functions (DateToDays) in the hope > that they might return zero if the entered date was invalid, but > (so far) no luck! DateToDays seems to alway

Re: Mac codewarrior to PC codewarrior

2001-05-08 Thread Mark F Rodriguez
On 5/8/01 11:09 AM, "Phillip Streck" <[EMAIL PROTECTED]> wrote: > network? upload it to the internet? cd-burner.. there are lots of ways to > transfer files this really isnt a question for this list. Ouch! Is it Monday already:-) > Hi. > > I have an app that I wrote on the mac. I need to tran

Re: Programming PalmOS using C++

2001-05-10 Thread Mark F Rodriguez
On 5/9/01 10:34 PM, "Steve Mann" <[EMAIL PROTECTED]> wrote: >> I've had great success with the Palm Application Framework > > Glad to hear it. Can you tell us where we can find it? Thanks. > > Regards, > Steve Mann The Palm Application Framework (PAF) is the library available from BearRiver (h

Re: Speed for Palm keyboard and Graffiti

2001-05-11 Thread Mark F Rodriguez
r Graffiti handwriting speed. You can have different levels of Graffiti users (i.e., novice, typical, expert) run the test and use that as a basis. -- Hope this helps, Mark F Rodriguez DDH Software, Inc Research and Development http://www.ddhsoftware.com -- For information on using the Palm D

Re: How many people actually register shareware games

2001-05-31 Thread Mark F Rodriguez
On 5/31/01 11:50 AM, "David Leland" <[EMAIL PROTECTED]> wrote: All developers should be aware of such sites to protect their investments. The most popular one is http://pilotwarez.com/ Now before I get slammed for posting this, remember we are all developers and I trust none of us would use this

Re: How many people actually register shareware games

2001-05-31 Thread Mark F Rodriguez
I apologize if my post went against a previous policy established by this group. It's my understanding that this site is to educate Palm developers and equip them for the "Palm economy." It's unfortunate, but that means being knowledgeable of potential losses in revenue as a result of warez grou

Re: Palm databases vs Enterprise databases

2001-07-23 Thread Mark F Rodriguez
hsoftware.com). There are already a great deal of pre-designed templates in our gallery that might be of assistance. -- Respectfully, Mark F Rodriguez DDH Software, Inc [EMAIL PROTECTED]http://www.ddhsoftware.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

ERROR: Can't find bitmap resource

2001-08-07 Thread Mark F Rodriguez
I'm trying to dynamically draw a button (as opposed to creating a button that can handle events) on a form and am receiving the following error message: MyProgram called SysFatalAlert with message: "Control.c, Line: 1859 Can't find bitmap resource". Below is a snippet of code (I'm aware that acc

Re: How to move from CW 6.0 Windows to CW 7.1 MAC

2001-09-05 Thread Mark F Rodriguez
Congrats on moving to the superior platform:-) Metrowerks provides a utility called DropRSR that converts Mac resources to flat files for PC. This tool can also be used to take PC constructor files and convert them to Mac resource/constructor files. You can find the utility at: http://www.metrow

Re: Date Cale

2001-09-24 Thread Mark F Rodriguez
On 9/24/01 at 6:38 AM, [EMAIL PROTECTED] (Johnathan Smith) wrote: > I am working on a program that my user enters a date > and I have to tell him how many days until or from the > date today is?? Can anyone help with some code samples > > __ > Do

Re: Simple Stupid Question re: system date

2001-11-26 Thread Mark F Rodriguez
On Monday, November 26, 2001, at 10:13 AM, Jim Hoeger wrote: > > Help me if you feel sorry for someone starting out (like you all did at > one > time). Point me in the direction if you want, give me a sample if you > would, but my deadline is looming near and the Palm OS is very > unfriendly.

Re: Codewarrior addin to help generate user docs?

2001-11-29 Thread Mark F Rodriguez
On Wednesday, November 28, 2001, at 11:50 PM, Ben Combee wrote: > "George Aslanis" <[EMAIL PROTECTED]> wrote in message > news:69380@palm-dev-forum... >> >> Hello, >> >> I am stuck with the daunting task of creating user documentation for > several >> applications. Wondering if anyone has seen

Linking problems with Precompiled headers

2002-02-04 Thread Mark F Rodriguez
I've just embarked in using precompiled headers with some of my projects and seem to already hit my first hurdle. Everything compiles as expected; however, I get the following error when I try to 'Make' the prc file. Link Error: PalmOS_Startup.c: 'PilotMain' referenced from '__Startup__' is undef

Re: Linking problems with Precompiled headers

2002-02-05 Thread Mark F Rodriguez
On 2/5/02 at 3:33 PM, [EMAIL PROTECTED] (Ben Combee) wrote: > > "Mark F Rodriguez" <[EMAIL PROTECTED]> wrote in message > news:75722@palm-dev-forum... > > > > I've just embarked in using precompiled headers with some of my > projects and > &

Re: Database to text

2002-03-28 Thread Mark F Rodriguez
es. I'm not sure which Mail client you would be trying to get the data into but it'll either need some kind of API or you'll need to know it's database format so you can write the Address data into it's mail body. Hope this helps, Mark F Rodriguez

RE: Stopping Files from HotSyncing

2004-05-20 Thread Mark F Rodriguez
> Does anyone know of a way to stop a file that is on the handheld from > being backedup during a hot-sync operation. You can turn of the backup bit. This can be done with a utility problem like FileZ or programmatically in your code. Thanks, -Mark -- For information on using the Palm Develop

Problems with Multi Segment App

2004-06-01 Thread Mark F Rodriguez
I'm currently working on a fairly large C++ application in CW that uses the POL library. Our application was working fine in the emulator; however when testing on a real device, we got a fatal exception when installing. I reinstalled the app in the emulator and did a soft reset and verified that t

RE: Problems with Multi Segment App

2004-06-01 Thread Mark F Rodriguez
Ben, thanks for the quick reply. > This sounds like the POL support code that's in POL Lib 1.lib isn't in > your > first segment. That could cause a crash -- it's likely that your code > doesn't work on the emulator either, you're just not seeing the crash > because you only load it to the emulat

Re: Palm Components, replacements, etc

2004-08-02 Thread Mark F. Rodriguez
charts, etc. The library is fairly flexible and can easily be incorporated into other applications. We really don't sell anything these days (of course we sell consulting services), but please contact me offline if you are interested in using such a component / library. -- Mark F Rodriguez

Re: User Data in Mac OSX

2002-07-05 Thread Mark F Rodriguez
PM, "Paul Nevai" <[EMAIL PROTECTED]> wrote: > What is the structure of "User Data" in Mac OSX? Any pointers? Also, how to > extract MemoDB.pdb and such from "User Data"? /Paul N. -- Mark F Rodriguez | Web: http://www.xaplos.com xApl

Internal Compiler Error in Codewarrior

2002-10-09 Thread Mark F Rodriguez
{ // we are creating the new database } else { // the database already exists tempDB.Open(0, "Contact"); } } Any ideas as to what might be happening??? I'm puzzled since it works in one dev environment of CW but not the other / newer. Thanks i

Re: Internal Compiler Error in Codewarrior

2002-10-09 Thread Mark F Rodriguez
ould be greatly appreciated. > Is this an error that would run across all Codewarrior for Palm OS v8 compilers or is it just limited to the Mac? I guess the bottom line is can I take my project over to Windows or will the internal error be present there as well? Again, thanks for the time

Re: Internal Compiler Error in Codewarrior

2002-10-09 Thread Mark F Rodriguez
timization level are you using for your project? Could you alter > the constructor for your Contact class -- maybe make it non-inline, > since it seems somehow linked to constructing a Contact object > followed by another constructor. > > -- > Ben Combee <[EMAIL PROTECTED]>

Re: Internal Compiler Error in Codewarrior

2002-10-09 Thread Mark F Rodriguez
ng CDatabase to MyApp.h as a member variable and got the same internal compiler error. I've used the CDatabase class in several projects before this way and have never had any issues. Seems that CDatabase (as well as CRecord) cause this internal compiler error. CRecordStream is working fine t

Re: Internal Compiler Error in Codewarrior

2002-10-09 Thread Mark F Rodriguez
able to get a subclass of CDatabase to work just yet but I'm very happy about seeing the project build again. Mark F Rodriguez xAplos, Inc. http://www.xaplos.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Internal Compiler Error in Codewarrior

2002-10-10 Thread Mark F Rodriguez
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/ > > Mark F Rodriguez --

Re: mac installer

2002-11-07 Thread Mark F Rodriguez
nment? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ Mark F Rodriguez xAplos, Inc. http://www.xaplos.com -- For information on using the Palm Developer Fo

CW Update 8.3 on OS X

2002-11-08 Thread Mark F Rodriguez
Interesting... I've been running CW 8.x for some time now on a machine that was updated from OS 9x to OS X, etc. Just picked up a new machine and wanted to stay clear of any 'classic' apps including the OS itself! Seems the installer for CW 8.3 doesn't agree with me on this one and fails becau

Re: Idea for a Tungsten App?

2003-01-09 Thread Mark F Rodriguez
*This message was transferred with a trial version of CommuniGate(tm) Pro* Ken, Are you aware that most apps (at least ones that haven't purposefully altered the standard OS behavior) allow you to tap the form title to access menus? This probably doesn't help when a game is present, but it is a

Re: what is exactly PILRC ??

2003-01-31 Thread Mark F Rodriguez
We use the XML export feature of CW to deal with this issue. While it's not as seamless as having the actual .mcp file in some text format, it does allow us to checkin our code and perform operations like merge, diff, etc. Not sure about the PC, but on the Mac we've written an AppleScript that

CW9 on Mac OS X

2003-02-03 Thread Mark F Rodriguez
Didn't see any "official statement" and was curious about the decision made. I've been developing for the Palm on the Mac for several years now and will miss it dearly, but if it's time to "switch" to prc-tools, I'd like to know sooner rather than later. If POL was available for prc-tools, I'd

Re: CW9 on Mac OS X

2003-02-09 Thread Mark F Rodriguez
Just received this from MW Ron at Metrowerks, so I guess it's "official". Too bad... I wanted to let you know that a decision was made last week that we will not release a new version of CodeWarrior for the Palm OS platform being hosted on the Macintosh operating systems. This was a hard cho

Re: CW7 debugging difficulties on MacOS X 10.2.3

2003-02-18 Thread Mark F Rodriguez
You might want to check out the archives about Codewarrior no longer updating their Palm tools for Mac. In no way am I trying to take anything away from the current v8 product (I use it everyday in OS X), but just think you should be informed before "upgrading" to a product that is dead on the

ANN: ObjC Library for Palm OS

2003-02-20 Thread Mark F Rodriguez
This project was started back in late 1999 / early 2000 as a hobby just to see if I could get some variant of ObjC running on the Palm. With that in mind this is probably not meant for commercial applications where reliability and robustness are paramount. However, the xObjC library has been te

Re: ANN: ObjC Library for Palm OS

2003-02-21 Thread Mark F Rodriguez
yone would want to use it for any kind of serious development.. Nice try, but without the source code I think you're not going to get many users / contributors ;-) Why don't you make this a SourceForge project? Florent On jeudi, fév 20, 2003, at 22:47 Europe/Paris, Mark F Rodriguez wrote:

Re: POL & setting text in a selectortrigger

2003-06-24 Thread Mark F . Rodriguez
Nick, The problem is the memory for CString is allocated locally in both your calls and needs to be around for the entire lifetime of the control. I suggest adding a member variable like CString m_controlLabel; to your header file and then writing your code like. Boolean CMyForm::OnOpen(Event

Re: POL question

2003-06-26 Thread Mark F . Rodriguez
Nick, Make sure you include the Form ID and your derived form in MyApp.h. It should look something like this... // Your includes #include "CMainFrm.h" #include "CFrm2.h"// your new form // Form map BEGIN_FORM_MAP() FORM_MAP_ENTRY(MainForm, CMainFrm) FORM_MAP_ENTRY(Form2, CFor

Re: CodeWarrior Palm version 9 for the Mac?

2003-09-06 Thread Mark F. Rodriguez
or now I'll take a wait and see attitude and continue to use CW 8.x when I need POL support. Hope this helps. -- Mark F Rodriguez, Xaplos, Inc.| Email: [EMAIL PROTECTED] Senior Software Engineer | Phone: +1-561-784-5013 http://www.xaplos.com/| Cell: +1

Re: Allocating memory for C++ objects

2003-11-24 Thread Mark F. Rodriguez
ment, this will be handled for you "out of the box". For instance, Codewarrior has their own implementation of New.cp where the operator new is over written. They use the following macros to do this #define MALLOCFUNC(x) MemPtrNew(x) #define MFREEFUNC(x)MemChunkFree(x) Hope this