I'm still new to .NET and come from a win32 background.
I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.
But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?
Thanks. 16 1672
On top of something, definitely until ... (but that takes time)
The way? That's up to you.
Phill,
Right now, it generally rests on top of Win32 for some of it's
functionality (for example, the classes in the System.Windows. Forms
namespace). However, Avalon will change that. The codebase for Avalon is
managed code (as is Indigo and WinFx), and there will be no unmanaged code
interface. If unmanaged code wants to connect to these things, then it will
have to get an unmanaged code wrapper for the managed code.
This doesn't mean that advancements in the Win32 platform won't take
place. Take for example the fact that NTFS is going to be come
transactional. There is a Win32 entry point for beginning/ending the
transaction, and will probably have a managed entry point as well.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Phill" <wa********@yah oo.com> wrote in message
news:ac******** *************** **@posting.goog le.com... I'm still new to .NET and come from a win32 background.
I'm happy w/ what I see in .NET although it is a little slower than I'd like. It also has a nice oo design and C# is a wonderful language to write in.
But is this designed to be like a newer/better MFC that will always rest on top of win32 or something like it? Or will .NET take over as THE WAY to write Windows software?
Thanks.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:OQ******** ******@TK2MSFTN GP11.phx.gbl... Phill,
Right now, it generally rests on top of Win32 for some of it's functionality (for example, the classes in the System.Windows. Forms namespace). However, Avalon will change that. The codebase for Avalon is managed code (as is Indigo and WinFx), and there will be no unmanaged code interface. If unmanaged code wants to connect to these things, then it will have to get an unmanaged code wrapper for the managed code.
Nicholas,
Not sure where you get this from? Indigo relies on COM interop for
bootstrapping, and through COM interop it enables unmanaged code to be
exposed as WS-x services and by the same way services can be consumed from
unmanaged code. Indigo also relies on Win32 for it's OS services and needs
unmanaged components as hosting services (http.sys or asp.net).
Willy.
Phill wrote: I'm still new to .NET and come from a win32 background.
I'm happy w/ what I see in .NET although it is a little slower than I'd like. It also has a nice oo design and C# is a wonderful language to write in.
But is this designed to be like a newer/better MFC that will always rest on top of win32 or something like it? Or will .NET take over as THE WAY to write Windows software?
Take over.
All of the new so-called 'operating system' features that microsoft has
proposed so far in Longhorn, should simply be .NET implementations .
As far as win32 -- absolutely -- win32 type operations should be completely
wrapped in the .NET object layers. Thanks.
-- http://antimeme.texeme.com
Just thinking, first an IL processor in hardware, probably microcode
initially like in the 'old' days (mainframe is still here), then what? The
important new thing being things becoming available for the masses in a nice
format. Any thought anyone?
Willy,
I'm not saying that the implementations are devoid of unmanaged code
(you are right, there is a good amount of unmanaged code on the Indigo
side), but rather, the interfaces are going to be through managed code, as
well as the majority of the implementation.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:e9******** ******@TK2MSFTN GP12.phx.gbl...
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:OQ******** ******@TK2MSFTN GP11.phx.gbl... Phill,
Right now, it generally rests on top of Win32 for some of it's functionality (for example, the classes in the System.Windows. Forms namespace). However, Avalon will change that. The codebase for Avalon is managed code (as is Indigo and WinFx), and there will be no unmanaged code interface. If unmanaged code wants to connect to these things, then it will have to get an unmanaged code wrapper for the managed code.
Nicholas,
Not sure where you get this from? Indigo relies on COM interop for bootstrapping, and through COM interop it enables unmanaged code to be exposed as WS-x services and by the same way services can be consumed from unmanaged code. Indigo also relies on Win32 for it's OS services and needs unmanaged components as hosting services (http.sys or asp.net).
Willy.
If you wanted to eliminate Win32 completely you'd probably have to have a
processor that can understand MSIL. I don't know whether there currently are
any or plans to make them, but I did hear a rumour that MS were planning to
liase with chip manufacturers in something called 'palladium' whereby the
chip itself would ensure that only trusted / licensed code could run. How
far they'll get with it and whether it'll be successful I don't know, it
really depends on how consciencious they are about encouraging amateur
developers to get their work out to people - it could be said (or hoped)
that they see this as commercially important aswell as morally. However I
can't see anything wrong with chips that can understand MSIL that anybody
can write code for, if it would be technically viable at the low level.
"Phill" <wa********@yah oo.com> wrote in message
news:ac******** *************** **@posting.goog le.com... I'm still new to .NET and come from a win32 background.
I'm happy w/ what I see in .NET although it is a little slower than I'd like. It also has a nice oo design and C# is a wonderful language to write in.
But is this designed to be like a newer/better MFC that will always rest on top of win32 or something like it? Or will .NET take over as THE WAY to write Windows software?
Thanks.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:Om******** ******@TK2MSFTN GP10.phx.gbl... Willy,
I'm not saying that the implementations are devoid of unmanaged code (you are right, there is a good amount of unmanaged code on the Indigo side), but rather, the interfaces are going to be through managed code, as well as the majority of the implementation.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
Nicholas ,
Your reply:
/
The codebase for Avalon is managed code (as is Indigo and WinFx), and there
will be no unmanaged code
interface. If unmanaged code wants to connect to these things, then it will
have to get an unmanaged code wrapper for the managed code.
/
My point is that Indigo will also provide interfaces for unmanaged service
consumers and providers, so that they can "seamlessly " integrate within the
service oriented architecture.
Indigo wouldn't be accepted if they would exclude or make it hard to
interface with unmanaged code, you don't think everyone is switching to
managed code do you? ;-) .
Willy.
Win32 (or Win64) will always be between the metal and managed code (unless
they get those special cpus other poster talked about.) Winfx will try to
wrap most/all apis in managed code and create new apis in managed code when
reasonable to do so.
--
William Stacey, MVP
"Phill" <wa********@yah oo.com> wrote in message
news:ac******** *************** **@posting.goog le.com... I'm still new to .NET and come from a win32 background.
I'm happy w/ what I see in .NET although it is a little slower than I'd like. It also has a nice oo design and C# is a wonderful language to write in.
But is this designed to be like a newer/better MFC that will always rest on top of win32 or something like it? Or will .NET take over as THE WAY to write Windows software?
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: kkroculick |
last post by:
Hi,
I have a minor issue with DB2 UDB on Win32. I have a field containing
text data (raw XML). I am trying to replace a string with another
string (via "update table set field0 = replace(field0, 'sometext',
'newtext') to fix some minor application issues. DB2 returns the
following error:
17:13:41 Routine "SYSFUN.REPLACE" (specific name "REPLACE2C") has
returned an error SQLSTATE with diagnostic text "SYSFUN:10".
|
by: Dan |
last post by:
Okay...one last question. I've pretty much spent the weekend reading
up on .Net, Soap, web services and enough three letter acronyms to
feed the world alphabet soup.
Is it a fair and mostly true statement to say that when programming
Visual C++ using .Net, the .Net stuff basically replaces the Win32
API? I know you can still make a call back to win32 if need be, but
the general idea I gather is that .Net is the new "platform" to sit...
|
by: Ken Varn |
last post by:
I am working in managed C++. I have a Mutex object in which I need to
replace the Handle property with a new handle. The new handle is being
constructed using Win32 CreateMutex call. I need to call the Win32 version
in order to set the security descriptor for the mutex, which is not natively
supported in .NET Framework 1.1.
I always get a little nervous about resource leaks when trying to bridge
Win32 with .NET, so I want to make sure...
|
by: Tony Johansson |
last post by:
Hello!
I just wonder what the difference is between a native win32-app and MFC.
What I know is that you can use Win32 API in both cases.
I think an MFC application is connected with a GUI which a win32 is not. You
may correct me if I'm wrong on this point.
//Tony
|
by: John Nagle |
last post by:
I'm trying to clean up a bad ASCII string, one read from a
web page that is supposedly in the ASCII character set but has some
characters above 127. And I get this:
File "D:\projects\sitetruth\InfoSitePage.py", line 285, in httpfetch
sitetext = sitetext.encode('ascii','replace') # force to clean ASCII
UnicodeDecodeError: 'ascii' codec can't decode byte 0x92 in position 29151:
ordinal not in range(128)
| |
by: jbenezech |
last post by:
Hi all ,
I have a perl/java app running under Win32. The application consists of a perl service (Win32::Daemon) and of java classes. The perl service calls every xx hours java classes to perform some action.
The java call looks like this:
Win32::SetChildShowWindow(0);
Win32::Process::Create(
|
by: somuchh8 |
last post by:
Hi, I'm having a lot of trouble with the Win32::Spawn module in perl. Here is my situation, I have a Win32::Spawn call which looks like this:
my $success = undef;
my $cmdline = EBDTools::os_path("${nh_home}/web/aview/modules/svcrsp-ng/saSync.pl");
$success = Win32::Spawn($^X, "${^X} $cmdline ${optfile}", $pid);
if (! $success) {
my $lasterr = Win32::GetLastError();
return_configerror("Failed to create commit / sync process...
|
by: spl |
last post by:
To increase the performance, how to change the / operator with bitwise
operators?
for ex: 25/5, 225/25 or 25/3 or any division, but I am not bothered
of any remainder.
|
by: Captain Paralytic |
last post by:
To replace just the last full stop in some text with ".@" I can use
preg_replace('/\.$/','.@',$s);
But how so I reverse that to replace all full stops except for the
last one.
E.G.
"Hello I must be going.
And so it goes. On and on."
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |