Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2005

Tip: Looking for answers? Try searching our database.

Unmanaged Type Name and Strong Names

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew S. Giles - 07 Jan 2005 14:29 GMT
Why is the IDE not letting me compile with an instance of an unmanaged type
library COM object?  It tells me that the type library needs a strong name?  
I did not think this was necessary for unmanaged type libraries...  How do I
fix this, since I cannot modify the type library itself.

Andrew S. Giles
Craig - 07 Jan 2005 15:23 GMT
I'm running into the same problem and can't seem to find/get an answer.  
From what I can tell, some do not have strong names.  For example
Shell32.dll, appearantly does not have a strong name.   My guess is that they
don't strong name these, because the are specific per Operating System and
they want you to use pinvoke interop instead of including them as
references??????     But, I'm not sure about this and if it's true I'm not
sure if you can "get to" all the functionality within the libraries.

I hope someone can answer this question.....

> Why is the IDE not letting me compile with an instance of an unmanaged type
> library COM object?  It tells me that the type library needs a strong name?  
> I did not think this was necessary for unmanaged type libraries...  How do I
> fix this, since I cannot modify the type library itself.
>
> Andrew S. Giles
Craig - 07 Jan 2005 18:17 GMT
I tried this and it worked, thanks to mattias!

http://www.dotnetinterop.com/faq/?q=StrongNameIA
http://support.microsoft.com/?kbid=313666

> I'm running into the same problem and can't seem to find/get an answer.  
> From what I can tell, some do not have strong names.  For example
[quoted text clipped - 12 lines]
> >
> > Andrew S. Giles

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.