Volodymyr M. Shcherbyna
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-05-2008, 04:39 PM
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" <maxim@storagecraft.com.no.spam> wrote in message
news:ex6itQwPJHA.3560@TK2MSFTNGP02.phx.gbl...
> 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.

--
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com


Reply With Quote
Tim Roberts
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-06-2008, 03:55 AM
"Maxim S. Shatskih" <maxim@storagecraft.com.no.spam> wrote:
>
>> .NET is extremely useful for what it was designed for - simple GUI apps.
>
>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.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Reply With Quote
Maxim S. Shatskih
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-06-2008, 08:03 PM
> Please cite one classic Windows app that was rewritten in .NET from XP
> to Vista.
Event Viewer

--
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com

Reply With Quote
Maxim S. Shatskih
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-06-2008, 08:03 PM
>.NET as any other technology is good if you know where to apply it.

+1

This is true on most technologies :-)

--
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com

Reply With Quote
Doron Holan [MSFT]
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-11-2008, 10:40 PM
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" <maxim@storagecraft.com.no.spam> wrote in message
news:OIn3zqEQJHA.4504@TK2MSFTNGP02.phx.gbl...
> Please cite one classic Windows app that was rewritten in .NET from XP
> to Vista.
Event Viewer

--
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com

Reply With Quote
Maxim S. Shatskih
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-27-2008, 04:57 PM
> 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?

--
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com

Reply With Quote
Kerem Gümrükcü
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-28-2008, 02:50 AM
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

--
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Maxim S. Shatskih" <maxim@storagecraft.com.no.spam> schrieb im Newsbeitrag
news:uKv4EFLUJHA.4072@TK2MSFTNGP05.phx.gbl...
>> 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?
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> maxim@storagecraft.com
> http://www.storagecraft.com
>
Reply With Quote
Tim Roberts
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-28-2008, 06:28 PM
Kerem Gümrükcü <kareem114@hotmail.com> wrote:
>
>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.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Reply With Quote
Kerem Gümrükcü
Guest
Posts: n/a
 
Re: SetupDiRemoveDevice fails only on Vista with Invalid Handle,...
Posted: 11-28-2008, 09:58 PM
Hi Tim,

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


Regards

K.

--
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

"Tim Roberts" <timr@probo.com> schrieb im Newsbeitrag
newssd0j4dpvrt211s5rs0kr0n2gg0272bovl@4ax.com...
> Kerem Gümrükcü <kareem114@hotmail.com> wrote:
>>
>>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.
> --
> Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
invalid handle ebI Windows Vista Performance & Maintenance 1 05-03-2008 05:59 AM
Invalid HANDLE was specified Eagle Windows XP Accessibility 2 12-24-2004 02:45 AM
Invalid Handle Specified Mrs. T Windows XP Performance & Maintenance 1 01-25-2004 07:15 AM
The Handle is Invalid Rick Windows XP Security & Administration 5 01-06-2004 02:36 AM
Invalid handle brazero Windows XP Printers / Scanners / Fax 0 10-25-2003 02:35 PM