K
Karlsson-on-the-roof
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.
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.