Re: Windows API calls in .NET application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



C++ is generally unmanaged code more or less like you're used to, but you
can use managed extensions to get the benefits of managed code, i.e. code
that is executed/managed by the CLR of the .NET Framework. Here's a brief
overview with a number of articles that might be of interest to you.

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
---------
Voodoo Programming: Things programmers do that they know shouldn't work but
they try anyway, and which sometimes actually work, such as recompiling
everything. (Karl Lehenbauer)
---------
"Karlsson-on-the-roof" <pozhit@xxxxxxxxxxxxxxxx> wrote in message
news:dku83n$ed8$1@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Dear All,
> I'm new to .NET and it seems that I'm terribly confused. I'm used to
> program windows applications using C++ and native API. I decided to try
> .NET windows Form application. Of course, Visual Studio did everything
> for me and some empty form showed up on the screen upon starting the
> application.
>
> Then I incorporated really hardcore API calls such as RegisterClass and
> CreateWindow and implemented wndProc, like in old days. What happened:
> another window showed up and behaved as I would expect. Now, how does it
> fit together with the idea of the intermediate language and runtime and
> all that stuff that is written about the .NET? I was thinking that either
> the project would not compile, or it would crash upon startup, but it
> seems like you can stick your API code just fine. Am I missing something
> here?
>
> Tons of thanks,
> Alex.
>
>


.



Relevant Pages

  • Re: Iczelions tutorials revisited.
    ... >> Test Departement Tutorials and Iczelion Tutorials, ... > of a Windows program isn't very complicated. ... the "teach yourself Window Assembler programming ... > Learning the API seems like the "hard part" to me. ...
    (alt.lang.asm)
  • Re: the ms monopoly is over. gonna kick some ms butt. are you with me?
    ... IP-DOS is only a plain vanilla Windows service. ... his app for their api rather than for win32 and its derivatives (e.g. ... visions for the future of software. ... with a programming abstraction, with an api, that i liked. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: May I introduce myself to cobol?...
    ... a clarification on what the win32 API ... meaning "Application Programming Interface", ... in the context of the OS Windows ...
    (comp.lang.cobol)
  • Re: C compiler for Windows
    ... I ignore how far the Windows API is implemented. ... MFC is a C++ API so you won't be able to stick with straight C ... No, really, read Petzold's Programming Windows. ...
    (comp.programming)
  • Managed Code Pls help me!
    ... You see I tried to add a Windows Formitem in my app, ... Is it so that I can't use unmanaged code togheter with managed code? ... code unmanaged when I selected that I should use Use Managed Extensions = ...
    (microsoft.public.dotnet.languages.vc)