Re: Visual Studio 2005 is a memory hog!!



On 11/7/05 4:57, in article OVRsHr54FHA.1188@xxxxxxxxxxxxxxxxxxxx, "Kevin
Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>> It may be C++, but it is defintely COM. At least that's what the MSIL and
>> the system registry, as well as the COM mangager tell me.
>
> I'm so embarrassed. I realized that I violated my prime directive, by
> speaking about what I do not know.
>
> If I'm correct, Mikhail, those are both COM and .Net interfaces to the C++
> Visual Studio application, aren't they?
>
> I misspoke, and will now quietly flail myself.

:-)

Yes, in fact, both managed and native code are exposed as COM components
since main VS IDE is COM and hence expects all its components to be COM
objects. All native interfaces are available to managed code via VS primary
interop assemblies that cam be obtained from VSIP SDK.

Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights

.



Relevant Pages

  • Re: C++.NET Performance against C#
    ... > This is where the language shines. ... Native code may perform better in some situations, ... There are some reasons that make managed code a little bit slower: ... Sometimes these mechanisms ...
    (microsoft.public.dotnet.languages.vc)
  • Re: VC++ development in WM5 .Net compact framework
    ... A driver, by nature, can't be an EXE, ... it's a DLL that runs under device.exe, and must be written in native code. ... FWIW I've shown that managed code can be just as fast as native code ... drivers and shell extensions such as today plugins. ...
    (microsoft.public.pocketpc.developer)
  • Re: Pity an old timer...
    ... really in the mood to learn another language. ... C++/CLI is indeed somewhat cumbersome. ... If you do want to use native code modules you should try to transfer ... calling native from managed code has a certain fixed overhead. ...
    (microsoft.public.vsnet.general)
  • Re: debugging release version build issue in managed code
    ... With managed code there are two compilations: compile time and runtime. ... The intermediate code is a virtual machine code, therefore you can handle it with the same approach as you do for the native code, and this is also what compiler does - it uses the same optimization techniques. ... So I suspect, for managed code even if I build it with Any CPU release mode, but if I run it on x64 machine, it becomes a x64 native code release mode, and follows x64 release mode assembly code rules to optimize -- so it is why I met with the similar issue that debugger can not display variable values when variable is in register. ...
    (microsoft.public.vc.language)
  • Re: Notifications on SMS, Phone, and Email
    ... There isn't a built in way to catch these events in managed code. ... But both should be achievable with some P/Invoke or native code. ... For SMS and Email events you need to hook into the native CEMAPI APIs the IMAPISession interface has an Advise method which allows you to register an interface to handle mail store events, this would include messages moving between folders. ...
    (microsoft.public.dotnet.framework.compactframework)