blake,

can you email me directly? i am looking for information on what you were
able to get working with the prc-tools and how you did it. i'm not familiar
with the prc-tools and so i wanted to talk with you about what you were able
to accomplish before i go down that path. i can be reached at
[EMAIL PROTECTED]

thanks in advance,
steve

p.s. if anyone else knows how to do what blake describes, feel free to email
me as well. again, thanks in advance.

<http://www.escribe.com/computing/pcpqa/m53911.html>

>>> Can we use C++ and OOPS concept to develop shared library in Palm
>>> If anyone knows, pls inform me as how can i proceed with it
>> System shared libraries can use C++, but you can't export C++
>> APIs, and any features that require global data storage (virtual
>> functions, exceptions) will not work.
> 
> This was the result I came to...
> 
> But then I tried the latest prc-tools.
> Within a couple of hours, I was able to get a Shared library
> working, calling virtual methods in classes, passing structs
> back and forth.  Not exposing C++ apis, but doing pretty much
> everything else I wanted.  It did fail when I tried to make it
> a multi-segmented C++ shared library, but I've found a tool
> (multilink) that claims to be able to do even that.
> 
> So now I'm maintaining two versions of my projects.
> One is a static library in Codewarrior, which I use to debug.
> The other is a shared library in prc-tools, which I will release.
> 
> As a short aside, my co-worker was quite incensed when he heard
> that Codewarrior supported C++ in shared libraries, but didn't
> support virtual methods.  His point being that virtual methods
> (and the things they give you, like inheritance, and polymorphism)
> are the only features of C++ worth using.  In other words, C++
> without virtual methods is just plain C.  (He also said a lot of
> stuff like "Please, which century is it again?", and "Why am I
> wasting my time on this when the compiler should just figure it out."
> But then again, he used to be a Java guy...  ;)
> 
> Later,
> Blake.

-- 
----------------------------------------------------
steve orens                    http://www.orens.com
                                    [EMAIL PROTECTED]
----------------------------------------------------




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

Reply via email to