C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Errors and Solutions » General »

Warning- Type Library


Posted Date: 05 Oct 2009    Resource Type: Errors and Solutions    Category: General
Author: atulpatelMember Level: Gold    
Rating: 1 out of 5Points: 5



Warning Message: The type library importer could not convert the signature for the member 'tagDBPROPSET.rgProperties'

Above warning messages are displayed while project/solution is build in the .Net.

Reason: If we directly add COM type .dlls in reference like MSDAC.dll, CLR- complier couldn't convert the COM type library metadata into equivalent CLR definitions.

Solution: Use Type Library Importer to generate CLS-compliant assembly

e.g.

TlbImp "C:\Program Files\Common Files\System\Ole DB\oledb32.dll" /namespace:oledb32 /out:Interop.oledbapi.dll

For more details,
http://msdn.microsoft.com/en-us/library/tt0cf3sx(VS.80).aspx



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Warning  .  Type Library Warning  .  Type Library Importer  .  TlbImp  .  Signature Warning  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Computer Shutting Down Slowly
Previous Resource: Master Page Error in .net 2.0
Return to Discussion Resource Index
Post New Resource
Category: General


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use