Namespace for stdole?

  • Thread starter Thread starter samadams_2006
  • Start date Start date
S

samadams_2006

I'm trying to find the namespace for stdole.dll

Is there a tool out there that will help me do this?
 
I've installed it and it seems to "hang" when I do a search...do you
have this problem?

I see there are various search types. How would you search for
stole.dll ?
 
"Interop Assemblies" means that stdole is native dll that visual studio
has wrapped. Perhaps you can point it at that file directly like I did
and then browse through it. It worked find, and it showd up as
"stdole" In my browser. FYI in reflector the silver square thingy is
actually the namespace.

In any case, I just added it to my project and I can access all of it
through the conveniently named "stdole" namespace.

stdole.StdFontClass fc = new stdole.StdFontClass();

Is there an actual "thing" you are trying to do that does not work?
 
Thanks guys. No it's working fine for me. I just need to know how it
gets installed so that I know if I need to take care of it manually, or
if it is automatically installed with the .NET v2.0 Framework. Anyone
know how I can find out?
 
Hi Sam,

AFAIK you should not be using stdole.dll like this. It is not a .NET
DLL.

As Andrew said, a PIA (Primary Interop Assembly) is a .NET wrapper for a
native Win32 DLL.

As a matter of interest what are you using the DLL for? I believe you
should be using platform invoking and declaring the standard API functions
and structures.

Nick.
 
stdole is a part of windows, so you don't have to worry about that
being there. The interop assembly is probably installed with .Net
because there are some parts of it that need to use it. I think.

It needs to be in the GAC, actually, IIRC. This means that if you
create an setup project ( in VS at least) that references it then it is
supposed to include that in the package and install it when the user
installs the app (if they don't already have it).

Sorry if I am completely off on this, this is just my (new)
understanding.

// Andrew
(Too many parenthesis)
 
Back
Top