Re: Win32, Linux, .NET >> Where is this mess going to?

From: Danijel Tkalcec (dtkalcec_at_hotmail.com)
Date: 10/27/04


Date: Wed, 27 Oct 2004 19:25:23 +0200

Hi, Jan.

> I have ported a medium size app from Win32 to .Net. It was quite
> straight forward for me. (About 30 different forms, 80000 lines of
> code). I had to remove some functionality, because of incompatibilities
> of outside applications with Interop.
> The code now compiles in both Win32 and .Net!

1. What did you use to port the code from Win32 to .NET?

2. Do you use onlly one component palette and have only 1 application which
can compile to Win32 and to .NET?

3. How are you compiling this to Win32 and how to .NET?

4. What is the difference in exe file size when you compile to Win32
compared to file compiled for .NET?

5. When you compile to Win32, do you have to make modifications to the code
to get Win32 native exe which works on systems without .NET framework? Can
you compile the same project (after the changes you did to it now) to Win32
and to .NET without making any changes to the code? Is there a switch in the
compiler that makes it possible to compile the same application for Win32
and for .NET?

>From what I saw in the Delphi 2005 demo, they split the Delphi.NET and
Delphi for Win32 projects completely. You have to choose the project type
before creating the project. I presumed that, since you have to tell IDE
which project type you want, that you get 2 different component palettes,
and can compile the project only for the type you chose. Or how is this
solved?

Best Regards,
Danijel Tkalcec



Relevant Pages

  • Re: Statement on backwards compatibility?
    ... > this fundamental statement of WIN32 compatibility guarantee. ... No compile errors or warnings and I was able to run it all ... >> The terms upwards and backwards compatibility are a little ambiguous, ... >> refer to the expectation that products compiled on a higher O/S ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [Python-Dev] compiling python2.5 on linux under wine
    ... webkit itself comes in at 10mb alone. ... libxslt1 and libxml2 have compile errors in mutually incompatible ... versions on win32, plus, unfortunately, the versions that _do_ compile ... i tried hunting down python-gobject and python-gtk for win32, ...
    (comp.lang.python)
  • Re: Statement on backwards compatibility?
    ... >>> this fundamental statement of WIN32 compatibility guarantee. ... No compile errors or warnings and I was able to run it all ... >>> go as far as saying LEGAL commitment) to their WIN32 developer base. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: About VS C++
    ... Instead they have to have a different .NET support plan. ... People said the same thing about Win32 programming, ... Delphi 2 came out. ... that compiles fine in VS2005 needs heavier tweaking in order to compile in ...
    (borland.public.delphi.non-technical)
  • Re: Glass effect with VB.net?
    ... Where such code snippets are small I would always convert to the language I am already using ... My ideal scenario is to have a project ".VSProj" project type which would accept code files of any recognised type and compile them down into one file. ...
    (microsoft.public.dotnet.languages.vb)