RE: Command line compiling in CW 7.0

2003-01-03 Thread Ralph Krausse
Figured it out... just didn't read carefully

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



Command line compiling in CW 7.0

2003-01-03 Thread Ralph Krausse
Is there a way to specify the target, i.e. I want to make sure I am compiling my 
release version, not my debug one...

thanks
Ralph

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



LstPopupList returns -1

2002-12-03 Thread Ralph Krausse
I have LstPopupList() in my frmOpen case. The emulator seems to bring up my list but 
on the device, it immediately returns a -1. Any ideas?

Thanks
Ralph

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



Re: Endian math?

2002-11-25 Thread Ralph Krausse
OK then another question. Can you marshall a negative number? I.E, we have our own 
'HotSync' application. The Windows side application fill some structs with data, flips 
the data and streams them using TCP/IP. When the palm gets it, will a -100 be a -100 
in the struct? Honestly, It will take me some time to do this and I will test it but I 
wanted to know if this can be done...

Thanks
Ralph

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



Endian math?

2002-11-23 Thread Ralph Krausse

Can one flip a negative number from Windows to Palm?

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



Re: Command Line Compiling

2002-11-14 Thread Ralph Krausse
Thanks Ben,

I was using ide.exe /t  

I removed the /t and it worked...


thanks
Ralph

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



Re: Command Line Compiling

2002-11-14 Thread Ralph Krausse
Thanks Ben. I tried using this. But it seemed that the ide loaded but the project 
never loaded. If I did use the /q option, after that ide loaded (not the project), the 
ide quit like it is supposed to. I had everything in quotes (the path had spaces) but 
it seemed not to work. I tried cmdide.exe and ide.exe again, the end result of 
this was just like double clicking on ide.exe, the project never loaded or compiled or 
linked.

thanks
Ralph




At 11:51 2002-11-14 -0500, you wrote:
>Can I do this with CW8? I would like to automate my builds so I want to 
>compile and link using command line parameters. If so, where is the 
>documentation for this?

You can run the IDE from the command line in V8.  Here's the help for 
ide.exe's command line parameters.  You can also call the IDE to performs 
actions over the COM interface from a script -- see the Scripting Examples 
in the (Metrowerks Examples) folder.

V9 will have command-line versions of the compiler and linker that can be 
run separately if you want to build using a makefile and have more direct 
control of the build process.

-

Metrowerks CodeWarrior IDE. Hit /? for help

This program invokes the CodeWarrior IDE, passes the proper parameters
to produce a build, and waits for the IDE to finish its operation.
Arguments:
/t targetnamespecifies a target to become the current target
/r   remove objects of the current target before building
/b   build the current target
/c   close the project after building

/q   quit the IDE after building

/v y|n|a option for converting projects on open
  (y = convert without asking; n = don't convert;
 a =ask whether to convert)

/s   Forces the command line to be processed in a new
  instance of the IDE (rather than using a current instance)


Notes:

1) If more than one project document is specified to be opened in the
command line, the /t and build command flags apply to the first project
document found in the list of documents. If no project is specified in the
command line, it will use the usual logic in the IDE (front project or
default project) to figure out which project to build.
If no target is specified it uses whatever the current target
is for that project.

2) All build commands are executed in a different process from the one
launched from the command line. The original process will return as soon
as the command line has been completely processed and the build
has completed.

3) The following codes are returned:

0   no error
1   error opening file
2   project not open
3   IDE is already building
4   invalid target name (for /t flag)
5   error changing current target
6   error removing objects
7   build was cancelled
8   build failed
9   process aborted

-- 
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/



Command Line Compiling

2002-11-14 Thread Ralph Krausse
Can I do this with CW8? I would like to automate my builds so I want to compile and 
link using command line parameters. If so, where is the documentation for this?

Thanks
Ralph

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



Libraries....

2002-10-03 Thread Ralph Krausse
Hm... How do I explain this. Well here is what I am doing...


SysLibLoad("MyLib")
SysLibFind("Net.lib")
SysLibFind("MyLib")
SysLibFind("Net.lib")
SysLibFind("MyLib")
SysLibFind("Net.lib") fails here with a 4612.

I know this isn't much to go on but doing a lot of SysLibLoads and SysLibFinds break 
things?


Thanks
Ralph




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



Signature application - but different twist....

2002-10-01 Thread Ralph Krausse

We ported the signature application to be used in our application. We in fact, to make 
life easier still use the 3.2 SDK. Under a 3.5x and 4.x machine looks like 
WinCopyRectangle() doesn't copy the image like it did in 3.2. Unfortunately we are in 
the 11th hour with our application and JUST found this so I am wondering if there is a 
work around. Again, I don't want to upgrade to the 3.5 SDK in fear other stuff will 
break. I haven't seen this exact issue on this forum, for one, most everyone has 
upgraded to the 3.5x SDK's. Anyone? 

Thanks
Ralph

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



Showing and Hiding listbox

2002-09-19 Thread Ralph Krausse

FrmHideObject and FrmShowObject do not seem to work correctly althought I am sure I am 
doing something wrong...

This is my code... 
FrmShowObject(m_pForm,FrmGetObjectIndex (m_pForm, m_objectID));

Thanks
Ralph

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



Re: CW Question

2002-09-19 Thread Ralph Krausse

Actually I am using CV7. But after I added the button to the toolbar, I exited CW and 
when I re-ran it, it was at the end of the toolbar. BTW, if the pref dialog is open 
and you exit CW, GPF. 

Thanks Ben
Ralph

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



Re: CW Question

2002-09-19 Thread Ralph Krausse

Thank Ben but that I want I have been trying to do. But when I drop it at the end or 
between the last 2, the icon just appears at the beginning. I tried to do a toolbar 
reset and try it again but the same thing happens...

Thanks
Ralph

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



CW Question

2002-09-19 Thread Ralph Krausse

This is a simple question, probably. At some point I added the 'switch between header 
and source' button to my toolbar. At the end (the right) of the toolbar. I accidently 
deleted it off my toolbar. When I add it back it appears at the beginning (the left). 
I have tried to move it but can't. I am used to it being at the end. Can anyhone tell 
me how I can move a button on the toolbar to a different position? Use CW8.

Thanks
Ralph

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



When will OS 5 Devices start shipping?

2002-09-18 Thread Ralph Krausse

I know the OS is out but is there an about date for devices to start shipping?

thanks
Ralph

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



Float casting problem...

2002-09-03 Thread Ralph Krausse

Can anyone explain why Value = 52 instead of 53?


float fValue = .53;
Int16 Value = (Int16)(fValue * (float)100); 

thanks

Ralph Krausse

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



ExgDBWrite not sending all data....

2002-08-12 Thread Ralph Krausse

I am using ExgDBWrite() to get the raw data of the datatbase I am sending out through 
the COM port. The proc that ExgDBWrite() calls, gets called 7 times. I print out the 
size during each execution of this function. I alway come up 30 bytes short. Any ideas?

Thanks
Ralph


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



Custom Emulator

2002-07-22 Thread Ralph Krausse

Hello all,

I would like to modify the emulator to do some custom stuff, for example I would 
like to, if possible to call a function in my palm application from the emulator. I 
have managed to put a button on the emulator and when I click it, I would like it to 
call my foobar("hello"); function in my palm prc that is running. Can this be done? 

Thanks
Ralph Krausse


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



DmGetNextDatabaseByTypeCreator in 4.1 gpf's

2002-06-13 Thread Ralph Krausse

I just wrote a test application. Code created by the wizard, I just added the 3 lines 
below
to frmOpenEvent. It blows up under the 4.1 ROM and device. Anyone?

TIA
Ralph Krausse

LocalID lID = 0;
DmSearchStateType stateInfo;
Err iErr = DmGetNextDatabaseByTypeCreator(true, &stateInfo, 'appl', 'daaA', false, 
NULL, &lID);

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



re: Localization: Switching from English Version to other versions

2002-05-23 Thread Ralph Krausse

Does it need to be dynamic and in one prc?

_

Hi, I am a newbie to Palm Programming and am not familiar with the localization 
issues. Currently we have a PRC, a conduit and a desktop application. The PRC is 
basically an English version and we now need to localize it to the Japanese and the 
French markets. I am going through the Palm docs and the knowledge base but if someone 
can provide me some pointers as to how this problem needs to be addressed I would 
really appreciate it. I am fairly new to Palm Programming so any input/feedback would 
be really appreciated. Thanks Rao 


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



Re: 2 version strings

2002-05-07 Thread Ralph Krausse

To Chris Tuddy, actually you aren't high jacking this thread, that is the question I 
wanted to ask. How
do I change both version numbers programmatically? That is exactly what I want to do. 
Here is my scenario.

We have replaced HotSync with our own version. It sync's over data, pdbs and prcs from 
our 'palm server' to 
our handheld units. Since the syncing application needs to be upgraded also, we send 
over a copy of it with
a different name, creator id, etc. Then another application changes deletes the old 
version and changes the
copied versions name, creator id, etc. So with that, the syncing application can 
upgrade 'itself'. 

Recently we had to change the way we sent the new version over because of the 64K 
limit. Now I need to know
how to programmatically change the version and name that is set with constructor. So 
in short (I know I haven't
been), I would like to do the same thing Chris needs to do

Thanks
Ralph Krausse

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



2 version strings

2002-05-06 Thread Ralph Krausse

You can set the version in constuctor and in the linker settings. I manually change 
the one I set with the linker but can't figure out how to change the one in the 
constuctor. 

thanks
Ralph

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



Selecting a Date...

2002-04-01 Thread Ralph Krausse

I would like to slightly modify the calendar dialog (SelectDayV10
function). The source is available but need the form resource. Is there
a way to get this?

thanks
Ralph Krausse

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



re: Scrolling form

2002-03-15 Thread Ralph Krausse

I am not sure AvantGo would release this code, though it would be nice,
it really isn't
that difficult to do. Take a peek at cube3D from Aaron Ardiri site.
Check out the the 
instructions menu. The screen displays some images and texts that are
scrollable.
This is half of what you want to do. For controls like buttons you
basically have to 
draw them yourself and handle when the user taps down. That is what I
do. You can
check that out at http://www.consiliumsoft.com/cvbrowser.asp. Aaron is
nice enough
to give out the code which you can download at 

http://www.ardiri.com/download/files/palm/cube3D.zip

Ralph

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



Using CW to compile and link other mcp's....

2002-02-19 Thread Ralph Krausse

Perhaps not the correct group but I will try any how. I have 15 some
projects that I need to create release and debug versions. I would like
to create a project that holds all release projects and a project that
holds all debug projects. I tried doing this. I created an empty
project, then added all my debug mcps to the debug project, then did the
release projects. When I force a recompile and link, nothing happens.
The compile/linking window pops up, says 'linking' but doesn't seem to
do anything and then CW says all is done. I deleted all my prcs and
retried but it still didn't create each prc. Can I do what I want
anyhow? I there documentation for this?

Thanks
Ralph Krausse

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



Closing open databases

2002-02-15 Thread Ralph Krausse

Is there a way I can close a database that has been opened by a
different application, I.E. one I don' t have an active handle to?

Thanks
Ralph Krausse

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



Re: Last cry for help

2002-01-29 Thread Ralph Krausse

Thanks Bob, don't know if we will join, I will look into it.


Ralph

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



Last cry for help

2002-01-28 Thread Ralph Krausse

I need some explanation here. I am simply or I thought, trying to change
some settings in my application so users don't have to manually go to
the perfs application and change it themselves. First I want to change
under pref->connection from Palm Modem US/Canada to Direct Serial.
Second, under pref->Network, I want to change the Service from Aminet to
WindowRAS. I have tried, at least I think I have tried everything under
the sun to try to change these settings. Again, I don't need them
changed globally, i.e. I don't need them set once my application exits.
Anyhow using the functions in Connection Manager isn't enough, there
isn't one to allow me to actually change the setting. All the NetLib*
functions are hard as hell to understand and don't' work (most likely
they do but I can't get them to) so I try to play my last card. I
changed the setting I wanted manually. Then I figured out what databases
were changed.

They were:
Saved Preferences
Unsaved Preferences
ConnectionDB
Networked
Net Prefs

So I made a copy of each of these database with the changes I make from
the pref panel application. Then created a new emulator (so the changed
I made were erased) and wrote an application that restored my version of
the databases. In theory, the changes should have still been there. But
they weren't. Can some one, for the love of GOD, please help or explain
this to me. My company is about to commit me because I am swearing at my
PC now. Does palm not want engineers to do this. Changing these settings
should not drive me to insanity...


Thanks for any hint, help, URL to explain this, ANY F*ing thing.
Thanks
Ralph Krausse


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



CncGetProfileInfo but I need CncSetProfileInfo

2002-01-25 Thread Ralph Krausse

I can get the information with CncGetProfileInfo but I am looking for a
way to set that information. Can that be done?

Thanks
Ralph Krausse

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



Help Please... at least a hint

2002-01-25 Thread Ralph Krausse

Can someone tell me how I can chage my service from Aminet (the default)
to Windows RAS with code? I need to do this in MY application. This
whole area has me stump


Thanks
Ralph Krausse

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



NetLibIFGet question

2002-01-25 Thread Ralph Krausse

My application needs to set some settings like service, baudrate, etc. I
am just trying to figure out
how one does this. Looking through the archives and samples, I need to
start with NetLibIFGet.

NetLibIFGet(AppNetRefnum, 0, &ifCreator, &ifInstance);

The NetSample application has the line above. I understand that it get
the zero'th interface but what
is the zero'th interface? I do not quite get that. Some help please.

Thanks
Ralph Krausse

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



Resource File Question with CW

2002-01-03 Thread Ralph Krausse

When I drop my first object on my form and save it using constructor,
the res header file adds an entry like this (replace AppName with the
applications real name)

#define FormGroupID 0


for example:
//  Resource: tFRM 1000
#define MainForm1000
#define MainTestCheckbox1001
#define StarterAppFormGroupID   0 < This
is the line I am talking about

What is this used for? I can't find any references to it. Does
constructor use it?

thanks
Ralph Krausse

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



One more question about multi segments...

2001-12-19 Thread Ralph Krausse

(I might have posted this 2x so sorry if I did...)

Does it matter where in the segment the cpp files are in a multi
segmented application? I.E.

Does
Segment 1
File1.cpp
File2.cpp
File3.cpp
File4.cpp

and
 
Segment 1
File1.cpp
File3.cpp
File2.cpp
File4.cpp

and

Segment 1
File2.cpp
File4.cpp
File1.cpp
File3.cpp

all build the same prc? Does the order have an effect on the linker? 
Does that make sense? 
thanks
Ralph Krausse










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



Yet another multi seg question

2001-12-19 Thread Ralph Krausse

Does it matter where in the segment the cpp files are in a multi
segmented application? I.E.

Does
Segment 1
File1.cpp
File2.cpp
File3.cpp
File4.cpp

and
 
Segment 1
File1.cpp
File3.cpp
File2.cpp
File4.cpp

and

Segment 1
File2.cpp
File4.cpp
File1.cpp
File3.cpp

all build the same prc? Does the order have an effect on the linker? 
Does that make sense? 
thanks
Ralph Krausse









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



Can one do this?

2001-12-19 Thread Ralph Krausse

Ptr p = (Ptr)MemHandleLock((VoidHand)h);
{
  do something thing with p
}
MemPtrUnlock(p);

Does this make a difference? It is just good coding 
practices to use MemHandleUnlock(h) instead or using
MemPtrUnlock does the same

thanks
Ralph Krausse

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



re:ExgDBRead

2001-12-10 Thread Ralph Krausse

To my defense I was up all night and just got myself my 10th cup of
coffee. 

YES, it is ExgDBWrite I wanted, not the read function...


Thanks Danny

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



ExgDBRead

2001-12-10 Thread Ralph Krausse

I want to use ExgDBRead to read a PRC and PDB as a stream. The 3rd
parameter of the function is where I can pass my open handle but what do
I call to opon the PDB/PRC. FileOpen will not allow for opening PDB's
and PRC's.

Thanks
Ralph Krausse

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



Question on NetLibSend

2001-12-10 Thread Ralph Krausse

I have a client (palm) and a server (windows). My palm application does
to NetLibSends in a row, one a ULong with a value of 5, the next
NetLibSend, a string of 5 bytes with the 'hello' in it. I get the data
on my server but it all comes in one buffer that my server is reading
from the buffer. I can understand why this is happing but is there a way
to change that? I would like get 1 receive per send.

Thanks
Ralph Krausse

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



Re: Bitmap PDB ???

2001-12-04 Thread Ralph Krausse

Take a look at PalmImageDB at www.consiliumsoft.com. It might be
helpful...

Ralph

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



re: Bitmap PDB

2001-12-03 Thread Ralph Krausse

Trying www.consiliumsoft.com. It might have what you are looking for...

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



re: MemHandleNew vs. C++ new

2001-12-03 Thread Ralph Krausse

A handle (once unlocked) can be moved around by the OS to defragment
memory. A new will get you a pointer but can't be moved. A 'new' is the
same as MemPtrNew() I believe

Ralph


---



>> Okay, I've figured out a way to make a simple "constructor" function
using
>> the memory management functions in the SDK.  My questions are:
>> 
>> Is there any benefit to "rolling my own" constructor as opposed to
just
>> creating a C++ class and using the default "new" method?
>> 
>> Are there any drawbacks to using "new" and "delete" instead of
MemHandleNew
>> and MemHandleFree?  Are they the same functions?
>> 
>> --
>> Jaime Villela
>> [EMAIL PROTECTED]


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



Database question

2001-11-29 Thread Ralph Krausse

I took over some code and found the previous engineer decided to use
Resource database instead of normal database to hold information. I
suppose one could but can anyone think of why one would do this? I know
this is vague

Thanks
Ralph Krausse

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



NetLibIFGet fails...

2001-11-29 Thread Ralph Krausse

NetLibIFGet seems to fail with netErrPrefNotFound. Does this work on
POSE. I am use 3.3 and 3.5 and fails on both. Doing an archive search of
the news groups doesn't return an answer... I am attached my code...

Thanks
Ralph Kraussse

***


UInt16  AppNetRefnum = 0, iInterface = 0;   
UInt32  uiifCreator = 0;
UInt16  uiifInstance = 0;
Err err = SysLibFind("Net.lib", &AppNetRefnum);
{
do
{
err = NetLibIFGet(AppNetRefnum, iInterface,
&uiifCreator, &uiifInstance);
iInterface++;
} while (!err);
}

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



MutliSegmented Applications

2001-11-28 Thread Ralph Krausse

Is there a good/easy to figure out the ordering of a multi-segmented
application?

Thanks
Ralph Krausse

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



Re: SelectDay is blowing up... FOUND SOLUTION...

2001-11-26 Thread Ralph Krausse

Thanks for everyone's help The problem was that I was using ID's
higher than 1 in constructor. 
The line that was exploding was (below is original palm source code)

Boolean SelectDay (const SelectDayType selectDayBy, SWord *month, SWord
*day, SWord *year, const CharPtr title)
{

StrIToA(yearString, daySelectorInfo.selected.year);
*** FrmCopyLabel(frm, DateSelectorYearLabel, yearString);
FrmSetControlGroupSelection (frm, monthGroup,
daySelectorInfo.selected.month);
...
}

DateSelectorYearLabel is #defined as 10102
Since I was using 1 and above, it just choked

Thanks again for the all the suggestions....
Ralph Krausse

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



RE: SelectDay is blowing up...

2001-11-26 Thread Ralph Krausse

Well I know it is something the application is doing before hand,
perhaps corrupting the stack. I took the exact code, pasted it to a new
application and it worked so all the parameter are correct.

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



Re: SelectDay is blowing up...

2001-11-26 Thread Ralph Krausse

SelectDay is calling FrmCopyLabel, not meI did copy the original
sources into my application and again, it does blow up on
FrmCopyLabel




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



SelectDay is blowing up...

2001-11-26 Thread Ralph Krausse

Hello all,

Whilst I try to figure out what is wrong, I am hoping that some
one can help me. I am using the SelectDay function and it seems to be
blowing up. This is the error I get. Error Message is...

Receiving (1.0) just read from memory location 0x8000. This
access usually indicates that the application is calling a Window
Manager function without first  establishing a valid DrawWindow.


Looking at the stack, it is failing on FrmCopyLabel. I quickly created a
dummy application, copied the code in that and it worked so it is
something with this code I inherited. Anyone???

TIA
Ralph Krausse





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



Weird Error...

2001-11-21 Thread Ralph Krausse

How do I explain this...I have two builds of my prc, a debug and a
release. A different prc uses DmGet1Resource('tAIN', 1000) to get the
prcs name and uses it. Under debug mode this call doesn't fail but if I
recompile and link for release mode this function fails. I compared the
compiler and linkers settings and I can't see a difference. I know this
isn't much of a explanation but couldn't anyone think of a reason?


Thanks
Ralph Krausse

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



re: help putting a bitmap in a pdb file

2001-11-21 Thread Ralph Krausse

Don,
 
Check out PalmImageDB at www.consiliumsoft.com. It might help
you


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



Re: tTTL Resource

2001-11-16 Thread Ralph Krausse

Thanks all, I had more than one resource file and there were dups in
that.. All fixed! thanks!

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



tTTL Resource?

2001-11-16 Thread Ralph Krausse

I can't find info on this resource and the linker is bitching cause I
have it and a form defined as the same ID. I can't find out what it is
to change it.

Thanks
Ralph Krausse

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



HotSync, Moden Setup and Win2000

2001-11-15 Thread Ralph Krausse

Is there a place, web site, etc to show extactly the steps to setup up a
hotsync though a modem line? The step to step up the dial up connection
on Win2000 and what to setup on the Win2000 machine.

Thanks
Ralph Krausse

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



Xircom SpringPort Wireless Ethernet Module

2001-11-14 Thread Ralph Krausse

I wish not to spend $300 on Xircom's recommended access point they sell.
Does anyone know of other, compatible, cheaper alternatives? 

Thanks and sorry for the test message
Ralph Krausse

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



test

2001-11-14 Thread Ralph Krausse

pls ignore

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



Redirecting HostTraceOutputTL

2001-09-18 Thread Ralph Krausse

I thought I have a tool like this once, perhaps someone could help. I need a
tool that allows HostTraceOutputTL to work when I am debugging on the
device. Is there something like this?

thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


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



yet another question on fonts

2001-08-29 Thread Ralph Krausse

I am trying to figure out if I could some how use the Palm fonts under
Windows, more specifically, the fonts one would see using the emulator
(normal size and double). Is this possible. Does someone know of a link on
the web that has a TTF for both these fonts? I searched the archives but
didn't really find much.

thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com



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



Get the Screen Max Depth

2001-08-16 Thread Ralph Krausse

I am using this code...

UInt32 depthMask, depth;

WinScreenMode (winScreenModeGetSupportedDepths, 0, 0, &depthMask, 0);
depth=0;
while (depthMask)
{
depth = depth + 1;
depthMask = depthMask >> 1;
};
WinScreenMode ( winScreenModeSet, 0, 0, &depth, 0);

I am running a IIIC rom. The depth it returns is 4. Shouldn't it be 8? I am
missing something?

tia
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


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



RE: Trapping System File Options in Palm OS,

2001-08-16 Thread Ralph Krausse

Is there documentation on how to patch a function like that?

tia 
Ralph Krausse

> How do I trap  deletion of  an application, from the System Menu.  What
> event is called during a deletion of an Application from the System Menu.

The only reliable way to trap databases deletions, whether caused by the
Launcher or by other applications, is to patch the DmDeleteDatabase trap.
--
Danny @ Palm

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



RE: PRC Error

2001-08-08 Thread Ralph Krausse

Thanks Hal for responding. For everyone's knowledge, I created the segments
incorrectly. I didn't have MSL Runtime Palm OS (2i).Lib in the first
segment. Once I moved it there, relinked, my app worked.

Ralph Krausse

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



PRC Error

2001-08-07 Thread Ralph Krausse

I have a relativly large application. After a compile and link, I ran it in
the debugger and it came up with this error.

UIAppShell (unknown version) just changed the emulated program counter to
0x08003D822. This address is invalid because it's in neither ROM nor RAM.

So I started to segment my application. I have 4 different segments.
Segment 1 11K code 1K Data
Segment 2 13K code 420 Data (NOTE this is NOT 420K, but 420 bytes)
Segment 3 34K code 2K Data
Segment 4 12K code 120 Data (NOTE this is NOT 120K, but 420 bytes)

I have tried all 3 code models, small, smart and large. I have even try to
#if #endif most of my code in my application but it still blows up in the
enumulater and the decive.

Can anyone shed some light on this?
Thanks and TIA

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com



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



Stack OverFlow

2001-08-06 Thread Ralph Krausse

I was coding along when I ran my application in POSE and got this error..

AppName has overflowed the stack. The functions currently 
using the stack are: MainFormHandleEvent_FP9Event94276), 
PrbSendEventToForm(24), FrmDispatchEvent(28),
AppEventLoop_FCV(38), StartPalmMain_FUsPVUSs(14),
PilotMain(16),  (40)

Can anyone shed any light. I can't find anything in my applcation tha would
fill up the stack. Is this the correct error?

tia
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com



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



DB Question

2001-07-27 Thread Ralph Krausse

Hello all

Can a database of the same name but a differt creator ID exist/be
created?


thanks
Happy Friday...(for those who have it)
Ralph Krausse

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



ARM

2001-07-24 Thread Ralph Krausse

Does anyone know any information on what Palm and Metrowerks will do for us
when they port to an ARM processor? Do we have to get a totally new complier
or would this be an upgrade? Any guesses?

thanks
Ralph Krausse

http://news.cnet.com/news/0-1006-200-6646611.html?tag=cd_pr

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



PhotoAlbum application from HandSpring

2001-07-09 Thread Ralph Krausse

Can someone please send me the exe's and prc's for this application you can
get free from Handspring. I try to compile it, it doesn't cause I do not
have everything I need. If someone could email them to me, I would
appreciate it.

thanks
Ralph Krausse

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



Re: can we play mp3 files on palm device

2001-07-05 Thread Ralph Krausse

I haven't downloaded it, tested it or even seen it but I thought I would
post this link...


http://sourceforge.net/projects/orrickmp3/      

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com



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



re: DB/File Dumper/Viewer Tool

2001-06-29 Thread Ralph Krausse

I love Insider... simple, cheap and does what I need it to do. You can find
it on palmgear.com

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


Can anybody recommend a good DB/File Dumper/Viewer tool,
for the Palm, or the emulator. You know, something that 
will allow me to select a file or DB and give me a
formatted hex dump of it's contents.

TIA


Scott Herman
Yale New Haven Hospital
Department of Lab Medicine
20 York Street
New Haven, Ct.  06504
(203) 688-2449
[EMAIL PROTECTED]
Can anybody recommend a good DB/File Dumper/Viewer tool,
for the Palm, or the emulator. You know, something that 
will allow me to select a file or DB and give me a
formatted hex dump of it's contents.

TIA


Scott Herman
Yale New Haven Hospital
Department of Lab Medicine
20 York Street
New Haven, Ct.  06504
(203) 688-2449
[EMAIL PROTECTED]

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



Problem with the Palm ROM Builder

2001-06-22 Thread Ralph Krausse

I have created my own ROM and want to burn them. I did with one palm and
tested. I thought what would happen is that the prc's I loaded onto the ROM
would be download to normal memory from flash upon a hard reset. In fact
they aren't. I say this because I try to delete them and they don't appear
in the list. If I am correct, is there a way to force them into normal
memory? Am I making sense?


TIA
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


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



RE: Database deleting

2001-06-20 Thread Ralph Krausse

Fatal Errors will produce this behavior... thanks for the answers...

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com

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



Database deleting

2001-06-20 Thread Ralph Krausse

How can I delete a database that is open when I don't have a DmOpenRef to
it?


TIA
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Using the last parameter in LstSetDrawFunction

2001-06-18 Thread Ralph Krausse

I am using LstSetDrawFunction. I need to pass it some data, an index. I see
the it is declared as:

void YourFunctionNameHere(UInt16 item_no, RectanglePtr bounds, CharPtr
*dummy);

I can pass my index as the CharPtr at the end but it is the OS that is
calling this function. How 
can I get the OS to pass this data in the last parameter?

thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


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



Re: FW: TblSetCustomDrawProcedure Function Use in C++

2001-06-14 Thread Ralph Krausse

You could also make the function static but that also has it's pro's and
con's       

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


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



Signature for 3.5

2001-06-13 Thread Ralph Krausse

Well I am sure everyone is sick of hearing about this but searching the
archives didn't help. If someone has ported signature++ to 3.5, if you can
part with the code, can you please send it to me. I will even host it on my
site for others.

thanks
Ralph Krausse

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



Re: Error opening database

2001-06-11 Thread Ralph Krausse

Thanks for your response. Unfortunately we don't use HotSync on the PC side
so there was no backup. Fortunately, I do use a library version of JackFlash
and had a back up in flash memory. So I did that hard reset, got my database
and make another customer happy. Go JackFlash! I had a feeling that the db
was hosed. I also was looking through the palm os source code to get a
better idea of what the problem was. I don't think I can fix it in the
future if it happens again but I wish I need what happened.

again, thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com





When my application calls DmOpenDatabase,
>it get "MemoryMgrNew.c, Line:4164, Invalid handle".
>
>This is what I see on the stack
>
>0x10C192A6( DmOpenDatabase )
>0x10C19426( DmResetRecordStates )
>0x10C14F5C( MemLocalIDToLockedPtr )
>0x10C14B24( MemHandleLock )
>0x10C15AB8( PrvHandleCheck )
>0x10C15AB8( PrvHandleCheck )
>0x10C1FAF0( ErrDisplayFileLineMsg )
>
>... I think somehow the
>database is hosed

You're probably right.  When a database is opened, if it wasn't closed
properly last time, the system goes through and marks each record as not
being busy.  While doing so, it is finding that one of the records is bad
(that's what PrvHandleCheck does - verifies that the handle to the record
is OK).

So your memory got hosed somehow; there's a messed up record entry, and
quite possibly that's just the first thing that's wrong of a set of things.
Totally depends on what corrupted the memory and how.  The HotSync process
isn't necessarily at fault; it probably happened earlier and could have
been anything at all, even the fault of trying one of those apps which
overclock the CPU.  Sort of like a hard drive failure... the data is bad
and trying to open that database won't work, unless the damage is repaired.
(This is of course quite a rare thing to have happen, though that's little
comfort for you.)

Depending on how long it was since you did the last successful HotSync
operation, you might just want to clear the device's memory (i.e. a hard
reset, holding the power button, which will erase all memory) and restore
from the backup.  Or find someone really skilled who could try to repair
the damage by hand, twiddling bits.

-David Fedor
Palm, Inc.

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



Error opening database

2001-06-11 Thread Ralph Krausse

I have a real obscure error. An employee was doing a HotSync operation.
During the HotSync, he got the famous error msg, "MemoryMgrNew.c, Line:4164,
Invalid handle". So now I have the device and I am trying to debug it. It
seems that DmOpenDatabase is blowing up.

With this code

LocalID lID = DmFindDatabase(0,szDBName);
if(lID)
{
m_hDB = DmOpenDatabase(0,lID,dmModeReadWrite);
}

I sucsessfully open one database and then try to open another but it is
blowing up in the bowls of the OS. When my application calls DmOpenDatabase,
it get "MemoryMgrNew.c, Line:4164, Invalid handle". 

This is what I see on the stack

0x10C192A6( DmOpenDatabase )
0x10C19426( DmResetRecordStates )
0x10C14F5C( MemLocalIDToLockedPtr )
0x10C14B24( MemHandleLock )
0x10C15AB8( PrvHandleCheck )
0x10C15AB8( PrvHandleCheck )
0x10C1FAF0( ErrDisplayFileLineMsg )

I also tried to call MemLocalIDKind to figure out if the DB is somehow in
flash memory. It isn't. I ALSO have tried 2 other third party database
viewer type applications, they also blow up with the same error when they
try to access that specific database. So I am screwed. I think somehow the
database is hosed 

Anyone?


thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Are the Database functions in the source code

2001-06-01 Thread Ralph Krausse

I downloaded the 3.1 and 3.5 Palm source code and can't find
DmCreateDatabase. Are the database functions not in the source? Just
wondering...

thanks
Ralph Krausse

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



C++ Compile problems

2001-05-31 Thread Ralph Krausse

I have had issues with Codewarrior accepting classes declared like that. I
have to create a pointer and new the class, later delete it. 

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Re: Need to catch a HotSync EVERYTIME

2001-05-30 Thread Ralph Krausse

Thanks Philip, that worked like a charm...

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Need to catch a HotSync EVERYTIME

2001-05-30 Thread Ralph Krausse

Hello all. 

I need to have my application be notified EVERYTIME a HotSync is
completed. So, per the manual, I am trying to register
sysNotifySyncFinishEvent. I have put the source below. ExecutedHotSync()
just writes out a file so I know the HotSync completed. I also put some
sound in so I can hear when events are called. It seems that
SysNotifyRegister() gets called because I hear the sound. But then I do a
hotsync but I don't get my second sound, i.e., I am not getting
sysNotifySyncFinishEvent event. Where should I be doing my
SysNotifyRegister(). Is this correct? Can anyone help. Is this close or way
off?

static UInt32 StarterPalmMain(UInt16 cmd, MemPtr /*cmdPBP*/, UInt16
launchFlags)
{
.
.
.

switch (cmd)
{
case sysNotifySyncFinishEvent:
for(int i = 0; i < 15; i++)
{
SndPlaySystemSound(sndError);
SysTaskDelay(15);
}
ExecutedHotSync();
break;

case sysAppLaunchCmdNormalLaunch:
LocalID lID = 0;
UInt16  uiCard = 0;
SysCurAppDatabase(&uiCard,&lID);
if(lID)
{
for(int i = 0; i < 15; i++)
{
SndPlaySystemSound(sndError);
SysTaskDelay(1);
}
SysNotifyRegister(0, lID,
sysNotifySyncFinishEvent , NULL, sysNotifyNormalPriority, NULL);
}
error = AppStart();
if (error) 
return error;

FrmGotoForm(MainForm);
AppEventLoop();
AppStop();
break;

default:
break;

    }


Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com



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



Re: Replacing the launcher....problem with 3.5.2

2001-05-29 Thread Ralph Krausse

Sorry this was my mistake. I screwed up. thanks for you reply Ben

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Replacing the launcher....problem with 3.5.2

2001-05-29 Thread Ralph Krausse

Hello all,

Seems that upgrading my 3.2 units to 3.5.2 has giving me a new issue to
deal with. I have replaced the default launcher with one of my own. It all
works correctly other than when I enter into the HotSync application
(doesn't have to do one to repro the problem) and then click on my home
button. A completely different launcher is shown and mine doesn't run
anymore. Also any FrmCustomAlerts, the same behavior occurs. What is this
new launcher. I tried to attached a bmp file that shows what it looks like
but the list server rejected my email. Can one help me out? This new
behavior completely breaks my palm application.

thanks
Ralph Krausse 

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com




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



Can't make tracing function work with emulator

2001-05-24 Thread Ralph Krausse

Hello all. I am trying to use Palm Reporter in my palm application. With ver
3.2, I have no issues but can't seem to make it work in 3.5. I have done a
#define HostControl BEFORE my #include  but the header file
doesn't contain HostTraceInit(). I did a #include  but same
result. I have tried to #include various other hostcontrols but they all
return compiling errors (see end of email msg). In 3.2 I just do this...


#include 
HostTraceInit();
HostTraceOutputTL(appErrorClass, "Hello, world");
HostTraceClose();

and it works like a champ. Can anyone help me out. I love the reporter and
would like to use in my 3.5 development.

thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com


***ERROR LIST***


Error   : identifier 'HostControlTrapNumber' redeclared
was declared as: 'HostControlTrapNumber'
now declared as: 'unsigned short'
HostControl.h line 379   typedef HostControlSelectorType
HostControlTrapNumber;

Error   : identifier 'HostFILE' redeclared
was declared as: 'HostFILE'
now declared as: 'HostFILEType'
HostControl.h line 385   typedef HostFILEType   HostFILE;

Error   : illegal name overloading
HostControl.h line 399hostErrNone = 0,

Error   : illegal name overloading
HostControl.h line 401hostErrBase = hostErrorClass,

Error   : illegal name overloading
HostControl.h line 403hostErrUnknownGestaltSelector,

Error   : illegal name overloading
HostControl.h line 404hostErrDiskError,

Error   : illegal name overloading
HostControl.h line 405hostErrOutOfMemory,

Error   : illegal name overloading
HostControl.h line 406hostErrMemReadOutOfRange,

Error   : illegal name overloading
HostControl.h line 407hostErrMemWriteOutOfRange,

Error   : illegal name overloading
HostControl.h line 408hostErrMemInvalidPtr,

Error   : illegal name overloading
HostControl.h line 409hostErrInvalidParameter,

Error   : illegal name overloading
HostControl.h line 432hostIDPalmOS,   // The plastic thingy

Error   : illegal name overloading
HostControl.h line 433hostIDPalmOSEmulator, // The Copilot thingy

Error   : illegal name overloading
HostControl.h line 435   };

Error   : illegal name overloading
HostControl.h line 440hostPlatformPalmOS,

Error   : illegal name overloading
HostControl.h line 441hostPlatformWindows,

Error   : illegal name overloading
HostControl.h line 442hostPlatformMacintosh,

Error   : illegal name overloading
HostControl.h line 444   };

Error   : illegal function overloading
HostControl.h line 553   = { 0x3F3C, 0x0301, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 556   = { 0x3F3C, 0x0302, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 559   = { 0x3F3C, 0x0303, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 562   = { 0x3F3C, 0x0304, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 565   = { 0x3F3C, 0x0305, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 568   = { 0x3F3C, 0x0306, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 571   = { 0x3F3C, 0x0307, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 574   = { 0x3F3C, 0x0308, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 577   = { 0x3F3C, 0x0309, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 580   = { 0x3F3C, 0x030A, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 583   = { 0x3F3C, 0x030B, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 586   = { 0x3F3C, 0x030C, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 595   = { 0x3F3C, 0x030F, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 598   = { 0x3F3C, 0x0310, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 601   = { 0x3F3C, 0x0311, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 604   = { 0x3F3C, 0x0312, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 607   = { 0x3F3C, 0x0313, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : illegal function overloading
HostControl.h line 610   = { 0x3F3C, 0x0314, 0x4E40 + 15,
sysTrapHostControl, 0x544F }

Error   : ill

CodeWarrior7 bug or is it me?

2001-05-18 Thread Ralph Krausse

UInt16 FormA = 100;

CClassA* pobjClassA= new CClassA(FormA); works but

CClassA  objCClassA(FormA); doesn't work

Warning : illegal jump past initializer
ExpoLauncher.cpp line 244   }

CClassA is an empty class, ie, does nothing. I emptied to make sure it
wasn't anything in the class. Anyone know why this behavior is happing or am
I missing something. 


thanks
Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6653
www.expo-intl.com





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



Debug messages in CW7

2001-05-15 Thread Ralph Krausse

Is there a way to send debug message to the debugger windows in CW7. I like
the way Palm Reporter works but I would like to send the same messages to
the Palm debugger while I am using the debugger with the device and not the
emulator.

thanks
Ralph Krausse

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



WidComm

2001-04-30 Thread Ralph Krausse

Has anyone used the WidComm Bluetooth Handspring Springboard modules?
Options?

thanks
Ralph Krausse

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



Re: Is there a int64?

2001-04-26 Thread Ralph Krausse

Found it... doubleI was just being stupid



Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6605
www.expo-intl.com





> I need to hold this value 8048171509, in a variable. How? 

  Int32 - +/- 2,147,483,648

  guess your out of luck? :)

  you could always try a "long long" :) dont know if it will
  work on the palmos tho..

// az
[EMAIL PROTECTED]
http://www.ardiri.com/<--- free games!


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



Is there a int64?

2001-04-25 Thread Ralph Krausse

I need to hold this value 8048171509, in a variable. How? 

Ralph Krausse
Expo International, Inc.
110 Shawmut Road
Canton, MA 02021
telephone (781) 821-6605
www.expo-intl.com



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



Setting the time and date on the palm programmatically, Part 2

2001-04-11 Thread Ralph Krausse

OK doing more searching, I think my code here should work. The date seems to
change bug not the time. Can anyone see something wrong with this?
thanks
Ralph Krausse

*


DateTimeTypethisDay;
ULong   ulCurrentTimeAndDate = TimGetSeconds();
TimSecondsToDateTime(ulCurrentTimeAndDate, &thisDay);
if (SelectOneTime(&thisDay.hour,&thisDay.minute,"Set Time")) 
{

if(SelectDay(selectDayByDay,&thisDay.month,&thisDay.day,&thisDay.year,"Pleas
e select a date"))
{
thisDay.second = 0;  // set seconds to zero when
setting time
ULong ulTimeAndDateToSet =
TimDateTimeToSeconds(&thisDay);
TimSetSeconds(ulTimeAndDateToSet);
}
}

ULong   ulNewTimeAndDate = TimGetSeconds ();
TimSecondsToDateTime (ulNewTimeAndDate, dateTime);
TimeToAscii (dateTime->hour, dateTime->minute, *TimeFormat, szTime);
DateToAscii (dateTime->month, dateTime->day, dateTime->year,
*DateFormat, szDate);

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



Setting the time and date on the palm programmatically

2001-04-11 Thread Ralph Krausse

I am using SelectOneTime and SelectDay to get the information but I need to
SET it to the palm so my application can use it. Again, using these two
functions, I get my new time and date. Now how do I set it. I tried looking
in the archives but couldn't really find anything. Any help?

thanks
Ralph Krausse

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



RE: disable buttons

2001-04-10 Thread Ralph Krausse

You can get the code from www.consiliumsoft.com and click on the development
section

Thanks
Ralph Krausse
www.consiliumsoft.com
*** Free Palm Source Code ***
-

> Hello.
> 
> I am making one program with codewarrior 7.0 . and I want disable all 
> buttons of the palm (calculator,launcher..)
> 
> How can i do it?
> 
> thanks..

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



Silly question but...

2001-03-28 Thread Ralph Krausse

For some reason I can't double click on my rsrc (resource) file in CW and
have it run the constructor. I used to be able to and if I double click it
using Explorer, the application does run. Can anyone help me?

thanks
Ralph Krausse
www.consiliumsoft.com
*** Free Palm Source Code ***

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



m500 and m505

2001-03-27 Thread Ralph Krausse

I thought I heard that the new m500 and m505 from Palm would use
the ARM processer. Are they? I can't find any documentation on this.
Also I heard that the new 4.0 OS was to support BlueTooth. Again, can't
find any info on this.

Thanks
Ralph Krausse
www.consiliumsoft.com
** Free Palm Source Code - Recently updated with a new application -
SysInfo!

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



HotSync backing up my pdb... WHY?

2001-03-12 Thread Ralph Krausse

OK, I know the default behavior of HotSync is to back up databases. I wish
to not have this behavior. Lets just say that I don't want hotsync to back
up a certain database that my palm application creates... ever. So in the
hotsync application (on the device) under Conduit setup, I uncheck all the
check boxes. As I understand it, this means not to back up any databases. I
know, we are weird. No backups. I just don't want them back up. Again, EVER!
Anyhow, I deleted all my pdbs from my backup dir (on the PC) and did a
hotsync and viola, there they were. But again, I didn't want them backed up.
So then I changed my application to remove the dmHdrAttrBackup bit using
this bit o' code.

UInt attr = 0;
iErr = DmDatabaseInfo(  0, m_dbID, NULL, &attr, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL); 
if (!iErr)
{   
attr &= ~dmHdrAttrBackup;
DmSetDatabaseInfo( 0, m_dbID, NULL, &attr, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL );
}

I then deleted my pdbs and I did a hotsync and once again, like David
Copperfield's magic, they all appeared. I would at least have hoped a that
the one db I changed the attribute on wouldn't have. So my question my
fellow guru's, what the 'f' do I need to do so that no db's get backed up
from my palm to my PC.

Thanks
Ralph Krausse

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



Error C2060002 with PQA

2001-03-02 Thread Ralph Krausse

I know this isn't the best forum but I thought I would ask anyhow.We
just finished developing a site. It seems to work fine with the emulator and
the Palm 7 ROMS but once we actually go wireless on a Handspring with an
OmniSky modem, it breaks. We get to our login screen, enter in the correct
information and once we click submit we get an error "Could not correctly
parse an internet string (C2060002)." I works on a normal browser and with
the emulator but not on the real thing. We have read the 2 articles in the
KB but it didn't help us. Anyone?

Thanks
Ralph Krausse

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



RE: Palm emulator - wireless proxy IP down?

2001-02-28 Thread Ralph Krausse

Yes is it down. I called Omnisky and they said they have no idea
when it will be resolved (from Palm). 

Ralph Krausse
www.consiliumsoft.com
** Free PalmOS Source, Tips







From: Young S. Cho (view other messages by this author) 
Date: Wed, 28 Feb 2001 10:46:57 




Does anyone out there know if the Palm emulator wireless proxy servers are
down?  I've set the IP to 209.247.202.106 but that server does not seem to
be there (no response from a ping either).  I've also tried 209.247.202.107
as well as 206.112.114.81 (through 83).

They have not been responding since about 2/26/01.  Thanks...

Young


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



Same question, different twist? 64K segment problem

2001-02-24 Thread Ralph Krausse

I am getting this error when I link

Segment 'Precompiled Headers' is greater than 64KB, it will generate an
invalid PRC file.

Where can I find a solution to this problem. How do I know the culprit file?
Does Codewarrior assist me in finding this? Just never seen 'this'
particular error before. I am using CW7.

Thanks
Ralph Krausse

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



802.11 ?????

2001-02-14 Thread Ralph Krausse

Is Symbol the only company that produces a palm with 802.11 abilities? Are
there any other companies that have an attachable module? I know Xircom is
producing one but that is for the Handspring.

thanks
Ralph Krausse

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



Re: .PDB ActiveX controls

2001-02-06 Thread Ralph Krausse

check out palmdb at http://www.multimania.com/mlabelle/

Ralph Krausse
www.consiliumsoft.com
** Free PalmOS source and tips.

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



RE: CW 7 issues

2001-02-02 Thread Ralph Krausse

We are using palm unit from Symbol that are running OS 3.2. I found that if
you 
define PILOT_PRECOMPILED_HEADERS_OFF, it won't compile using precompiled
headers.

Thanks all,
Ralph Krausse
www.consiliumsoft.com
** Free PalmOS source code and tips...


>> From: Ralph Krausse
>>  I just got CW 7 and installed it. To test, I converted an
>> application to version 7. I still need to use the 3.1 SDK. First off can
I
>> do this. I copied the 3.1 SDK to the metrwerks directory (like I had it
in
>> the other version) and set the correct paths and am getting a bunch of
>> errors.
>> [big snip]
>> Can anyone give me a tip on where to go?

> Why do you have to use the 3.1 SDK?  I can't think of any reason to do so.



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



CW 7 issues

2001-02-02 Thread Ralph Krausse
 1332sysTrapMemPtrToLocalID,

Error   : illegal name overloading
CoreTraps.h line 1333sysTrapMemPtrSetOwner,

Error   : illegal name overloading
CoreTraps.h line 1334sysTrapMemPtrResize,

Error   : illegal name overloading
CoreTraps.h line 1335sysTrapMemPtrResetLock,

Error   : illegal name overloading
CoreTraps.h line 1336sysTrapMemHandleNew,

Error   : illegal name overloading
CoreTraps.h line 1337sysTrapMemHandleLockCount,

Error   : illegal name overloading
CoreTraps.h line 1338sysTrapMemHandleToLocalID,

Error   : illegal name overloading
CoreTraps.h line 1339sysTrapMemHandleLock,

Error   : illegal name overloading
CoreTraps.h line 1340sysTrapMemHandleUnlock,

Error   : illegal name overloading
CoreTraps.h line 1341sysTrapMemLocalIDToGlobal,

Error   : illegal name overloading
CoreTraps.h line 1342sysTrapMemLocalIDKind,

Error   : illegal name overloading
CoreTraps.h line 1343sysTrapMemLocalIDToPtr,

Error   : illegal name overloading
CoreTraps.h line 1344sysTrapMemMove,

Error   : illegal name overloading
CoreTraps.h line 1345sysTrapMemSet,

Error   : illegal name overloading
CoreTraps.h line 1346sysTrapMemStoreSearch,

Error   : illegal name overloading
CoreTraps.h line 1348sysTrapMemKernelInit,

Error   : illegal name overloading
CoreTraps.h line 1349sysTrapMemHandleFree,

Error   : illegal name overloading
CoreTraps.h line 1350sysTrapMemHandleFlags,

Error   : illegal name overloading
CoreTraps.h line 1351sysTrapMemHandleSize,

Error   : illegal name overloading
CoreTraps.h line 1352sysTrapMemHandleOwner,

Error   : illegal name overloading
CoreTraps.h line 1353sysTrapMemHandleHeapID,

Error   : illegal name overloading
CoreTraps.h line 1354sysTrapMemHandleDataStorage,

Error   : illegal name overloading
CoreTraps.h line 1355sysTrapMemHandleCardNo,

Error   : illegal name overloading
CoreTraps.h line 1356sysTrapMemHandleSetOwner,

Error   : illegal name overloading
CoreTraps.h line 1357sysTrapMemHandleResize,

Error   : illegal name overloading
CoreTraps.h line 1358sysTrapMemHandleResetLock,

Error   : illegal name overloading
CoreTraps.h line 1359sysTrapMemPtrUnlock,

Error   : illegal name overloading
CoreTraps.h line 1360sysTrapMemLocalIDToLockedPtr,

Error   : illegal name overloading
CoreTraps.h line 1361sysTrapMemSetDebugMode,

Error   : illegal name overloading
CoreTraps.h line 1362sysTrapMemHeapScramble,

Error   : illegal name overloading
CoreTraps.h line 1363sysTrapMemHeapCheck,

Error   : illegal name overloading
CoreTraps.h line 1364sysTrapMemNumCards,

Error   : illegal name overloading
CoreTraps.h line 1365sysTrapMemDebugMode,

Error   : illegal name overloading
CoreTraps.h line 1366sysTrapMemSemaphoreReserve,

Error   : illegal name overloading
CoreTraps.h line 1367sysTrapMemSemaphoreRelease,

Error   : illegal name overloading
CoreTraps.h line 1368sysTrapMemHeapDynamic,

Error   : illegal name overloading
CoreTraps.h line 1369sysTrapMemNVParams,

Error   : illegal name overloading
CoreTraps.h line 1372sysTrapDmInit,

Error   : illegal name overloading
CoreTraps.h line 1373sysTrapDmCreateDatabase,

Error   : illegal name overloading
CoreTraps.h line 1374sysTrapDmDeleteDatabase,

Error   : illegal name overloading
CoreTraps.h line 1375sysTrapDmNumDatabases,

Error   : illegal name overloading
CoreTraps.h line 1376sysTrapDmGetDatabase,

Error   : illegal name overloading
CoreTraps.h line 1377sysTrapDmFindDatabase,

Error   : illegal name overloading
CoreTraps.h line 1378sysTrapDmDatabaseInfo,

Error   : illegal name overloading
CoreTraps.h line 1379sysTrapDmSetDatabaseInfo,

Error   : illegal name overloading
CoreTraps.h line 1380sysTrapDmDatabaseSize,

Error   : illegal name overloading
CoreTraps.h line 1381sysTrapDmOpenDatabase,

Error   : illegal name overloading
CoreTraps.h line 1382sysTrapDmCloseDatabase,

Error   : illegal name overloading
CoreTraps.h line 1383sysTrapDmNextOpenDatabase,

Error   : illegal name overloading
CoreTraps.h line 1384sysTrapDmOpenDatabaseInfo,

Error   : illegal name overloading
CoreTraps.h line 1385sysTrapDmResetRecordStates,

Error   : illegal name overloading
CoreTraps.h line 1386sysTrapDmGetLastErr,

Error   : illegal name overloading
CoreTraps.h line 1387sysTrapDmNumRecords,

Error   : illegal name overloading
CoreTraps.h line 1388sysTrapDmRecordInfo,

Error   : illegal precompiled header version
Pilot.h line 34#include "Pilot.h++.mch" 

Could not find or load the file "CheckForNewLeads.cpp" for target
"GCMClient" for project "GCMClient.mcp".

Error   : illegal precompiled header version
Pilot.h line 34    #include "Pilot.h++.mch" 

Error   : illegal precompiled header version
Pilot.h line 34#include "Pilot.h++.mch" 


Can anyone give me a tip on where to go?

Thanks
Ralph Krausse

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



  1   2   >