Re: Binding MFC dll onto .Net VC code because .net class never support



..NET *Compact* Framework is used on Windows Mobile and Windows CE devices,
not .NET Framework. In matching versions of each, many of the classes are
the same, but there's no guarantee that they will match perfectly (of
course, if you think about it; how big is the .NET Framework? 50MB?)

Most of the Win32 API on Windows CE matches the Win32 API on the desktop.
Windows CE is very heavily Unicode-based, compared to the desktop, so there
are few MBCS Win32 API calls implemented in CE and all of the controls use
Unicode only.

There's no way to 'bind MFC to managed code' and MFC is not a model for
anything.

Csocket System.Net.Sockets.Socket
CSerial System.IO.SerialPort
CWAVE <Don't know MFC well enough to answer this>
CDialog System.Windows.Form
? System.Messaging

Of course there's no Win32 "hierarchy chart". Win32 is a function-based
API, not a class library. There's no hierarchy. Functions are 'organized',
I guess you could say, based on what they do. The GDI functions draw things
on the display. The Window functions control where windows are located,
create and destroy them, change their parameters, etc. The WinSock
functions do network I/O. The File functions talk to drivers and files.

Is there a useful question in here somewhere? What are you trying to figure
out? What development platform to use? What are you trying to write? An
application? Do you know Win32? If not, do you know .NET Framework?
Choose the target that you are most-familiar with, assuming your target
hardware supports it and go from there. It's useless to try to compare and
contast the relative capabilities of the various choices, unless you're a
magazine writer working on an article.

Paul T.

"garlic" <garlic@xxxxxxxxxxxx> wrote in message
news:D1291838-AE64-45FE-8127-583F6C2804A7@xxxxxxxxxxxxxxxx

does .net Framework 3.5 use consistent API across different development
platforms, SQLserver, desktop, server or mobile device?

Is the win32 API on device similar to Windows desktop?
I feel that some of the classes i need cannot be found in .net, is binding
the MFC dll onto the .net managed code a solution? if not, Win32

MFC, .net correspondent class
Csocket ?
CSerial System.IO.SerialPort
CWAVE ?
CDialog System.Windows.Form
? System.Messaging


I know Win32 API sits on Computer Hardware Layer
Window Application can sit either on MFC library, alternately on Win32 API
or directly to Win32 API. Does .net library act the same way as MFC
library?

There is MFC, .net 3.5, .net 2.0 hierarchy chart, is there a Win32
hierarchy
chart?
It yes, where?





.



Relevant Pages

  • Re: Report from MVP Summit
    ... Win2K being phased out, and WinXP SP2 and Vista the only OS's we have to worry about, assuming things like the .NET Framework 3.0 being installed won't be out of the question, so we are now entering the sweet spot for .NET, much like Windows 3.0 marked the start of the sweet spot of Windows. ... the time to start switching is now (or at least start integrating some parts of the .NET framework into existing apps using C++/CLI). ... MFC is no longer meant to be the best way to develop Windows apps that are not huge. ... I'm guessing a good part of Office 2007 and Vista are still native so I'd guess Microsoft is still in that boat as well. ...
    (microsoft.public.vc.mfc)
  • Re: Does .net replace win32?
    ... > ontop of windows for general applications, ... applications, so the Win32 API is built with C programmers in mind. ... This makes the .Net Framework cleaner, nicer, easier to use, etc. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Visual C# to Visual C++ ??!!
    ... <Geoff Cox> ... > that using Visual C++ 2005 Express together with the Windows SDK I ... > is installed on a PC the .NET Framework will not be needed ... The link below is typical of the information available on MFC in MSDN. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: whats the differents between MFC Wnd && .net winform??
    ... MFC is based on the Windows SDK and is a for writing native windows ... WinForms is based on .Net framework and is for writing .Net applications. ... I use MFC because I am comfortable with MFC (hence I am faster developing ...
    (microsoft.public.vc.mfc)
  • Re: True standard Windows app in Python?
    ... Also winall doesn't expose all of MFC ... past experience yields a perspective that Windows programming is MFC, ... with the Win32 API being a really low layer interface. ... a low level (low level on Windows would be the kernel or device driver ...
    (comp.lang.python)