On Oct 14, 2005, at 5:43 AM, Kevin Toppenberg wrote:
On 10/13/05, Greg Woodhouse <[EMAIL PROTECTED]> wrote:
Components in Delphi are basically COM objects. The closest analog in
Java is a bean.
I do not believe this is true. The only COM components are those that
are wrappers for an ActiveX object. This would be things like
TWebBrowser. But this is a very small minority of all the components
used to make CPRS.
I recall that when we first started working with Delphi, Borland had
its own native component format, but in a later version, they
replaced it with OCX (OLE components) to simplify reuse of components
between Delphi and other development frameworks for Windows.
All of the VCL (Visual component library) that comprises the vast
majority of Borland's code is written in native pascal. With the
professional version of Delphi, you can even trace through the code of
these functions.
I may be wrong. I haven't done anything with Delphi in a LONG time,
but I was under the impression that the binary format was different.
But, of course, I wasn't thinking about the VCL library, but
components developed by users. I suppose that common sense does
suggest that using COM for VCL classes would bre a lot of overhead.
Again, as I have looked at CPRS, the only COM object used is
TWebBrowser. And I was able to take that out for the Wine CPRS
without any significant change to CPRS.
So, does it use OLE automation to invoke IE? Sorry, I haven't done
any Windows development for a long time, so the terminology I'm using
may well be dated.
The real problem with converting to Linux with Kylix would be to get
the Winsock stuff working for the RPCBroker.
That would certainly be a problem. I learned to program network
applications under BSD, so Winsock really did come as a bit of
culture shock to me. But again this was way back when we first
introduced the Broker and I was sort of a "QA programmer" (meaning
that testing meant writing Delphi applications using the RPC Broker).
Again, that's been a long time.
Kevin
===
Gregory Woodhouse
[EMAIL PROTECTED]
"One must act on what has not yet happened."
--Lao Tzu
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members