SetupDiRemoveDevice fails only on Vista with Invalid Handle,...

  • Thread starter Kerem Gümrükcü
  • Start date
V

Volodymyr M. Shcherbyna

Strange, my prev. post did not appear in this thread. Re-posting ...

Technology is designed to solve tasks. Before programming was dedicated to
mathematicians which were doing it in ASM. The problem was that it was slow
(development time). So that high level languages were invented.

The same here: .NET was invented because Microsoft wanted to create a
toolkit to allow developers quickly develop applications. Saying that .NET
is a full shit is wrong - it solves many tasks.

--
Volodymyr, blog: http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)
Maxim S. Shatskih said:
Do you know the platform you're talking about?

Surely.

Decrease in quality in lots of MS's software (rewritten to .NET) in ~Vista
timeframe is a noticeable fact.

So: good tool for ASP.NET and for simple GUI apps. Good replacement for VB
and Delphi, bad as a general development tool.
 
T

Tim Roberts

Maxim S. Shatskih said:
Correct. It's rapid application development tool, like Delphi.

This is shortchanging both products. Let us remember, as an example, that
the entire Media Center application is a .NET application.
 
M

Maxim S. Shatskih

.NET as any other technology is good if you know where to apply it.

+1

This is true on most technologies :)
 
D

Doron Holan [MSFT]

event viewer is not a managed app

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


Maxim S. Shatskih said:
Please cite one classic Windows app that was rewritten in .NET from XP
to Vista.

Event Viewer
 
M

Maxim S. Shatskih

event viewer is not a managed app

Then why is it loading lots of .NET DLLs, and the names of some of these DLLs are showing that the core of the Event Viewer UI panes is implemented in .NET?
 
K

Kerem Gümrükcü

Hi Maxim,

well this is a good question, as far as i can see, it has two application
domains
and lots of .NET assembly references holding on my vista system. It really
looks
like a pure .NET environment but i think its more a ordinary PE image
loading
and using the .NET runtime, called "hosting" the runtime,....i think its
something
like that,...

Regards

Kerem
 
T

Tim Roberts

Kerem Gümrükcü said:
well this is a good question, as far as i can see, it has two application
domains and lots of .NET assembly references holding on my vista system.
It really looks like a pure .NET environment but i think its more a
ordinary PE image loading and using the .NET runtime, called "hosting"
the runtime,....i think its something like that,...

Well, a managed executable *IS* an ordinary PE image.

You should be able to tell by doing "dumpbin /imports". If it is importing
_CorExeMain or _CorDllMain, then it's a managed executable.
 
K

Kerem Gümrükcü

Hi Tim,

i know that and i expressed myself a little wrong. It is a
ordinary PE as you mentioned,...


Regards

K.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top