Board index » cppbuilder » HELP - How do I port a BCB CGI EXE to .NET

HELP - How do I port a BCB CGI EXE to .NET


2004-01-23 06:20:00 AM
cppbuilder40
Hi,
Probably the wrong group - but here goes:
I have a rather large (~1MB) CGI EXE written in BCB6 that uses the VCL which
I need to port to a native .NET assembly.
What is the quickest/easiest path to port this CGI EXE? Do I simply have to
re-write the whole thing in VS.NET? Is there an easy way for me to use a
Borland product to do this that would ease the pain? For example, I am not
familiar with CSharpBuilder - could it help me here?
Thanx
Marcus.
 
 

Re:HELP - How do I port a BCB CGI EXE to .NET

On Thu, 22 Jan 2004 14:20:00 -0800, "Marcus P." < XXXX@XXXXX.COM >wrote:
Quote
Hi,

I have a rather large (~1MB) CGI EXE written in BCB6 that uses the VCL which
I need to port to a native .NET assembly.

What is the quickest/easiest path to port this CGI EXE? Do I simply have to
re-write the whole thing in VS.NET?
Basically yes. Any .NET language uses different approach than
conventional language (C, C++ or Pascal). And since you used even VCL
you are bound to convert if you want to use VS .NET. There is managed
C++ but you used VCL and hence back to square one.
Quote
Is there an easy way for me to use a
Borland product to do this that would ease the pain? For example, I am not
familiar with CSharpBuilder - could it help me here?
I think not. It will not help you much since Csharpbuilder uses C# and
has nothing to do with C++. In fact it is Borland's IDE built arround
Microsoft .NET framework with some extra components made by Borland.
My advice is to use only .basic .NET framework classes for this.
You can allso take a look into aspnet (aspx).
Perhaps it is best to ask in these groups:
borland.public.csharpbuilder.webservices
microsoft.public.dotnet.framework.aspnet.webservices
microsoft.public.dotnet.framework.webservices
Darko
 

Re:HELP - How do I port a BCB CGI EXE to .NET

not sure... but perhaps it would ease the pain if you use a Borland product
coming with VCL for .NET like... this would be Delphi 8... the pain would
still be the language : Object pascal.
Yahia
 

{smallsort}

Re:HELP - How do I port a BCB CGI EXE to .NET

"Yahia El-Qasem" wrote
Quote
perhaps it would ease the pain if you use a Borland product
coming with VCL for .NET like... this would be Delphi 8... the pain would
still be the language : Object pascal.
Actually that may be just the ticket. I am very good with Delphi too AND
about a quarter of the CGI is actually pascal units.... I will look at that
.. Thank you.
Question: Will Delphi 8 compile my existing pascal units directly into a
.NET assembly?
Can they use the VCL if I statically link the packages? That would be
awesome.
Marcus
 

Re:HELP - How do I port a BCB CGI EXE to .NET

Delphi 8 comes with VCL for .NET - Borland worked well in that most pure VCL
based apps will just compile without or very little changes and run as
native .NET apps :-)
Yahia