Visual Basic Development Bookmark and Share   
 Home > Visual Basic Interop and Upgrade > Problem to using TlbImp.exe..??
 

Problem to using TlbImp.exe..??

I have one dll file which was compiled in ond VB6 version. I converted that dll through TlbImp.exe and command was ..

tlbimp.exe <old Dll>.dll /keyfile:keypair.snk /out:strong.dll

it's work fine.. But if i want to convert this old dll into 64 bit version it's giving me error
Command:-
tlbimp.exe /machine:x64 dvpunicodetool.dll /keyfile:keypair.snk /out:strong.dll
Error :--
TlbImp: Error : TI0000 : A single valid machine type compatiblewith the input type library must be specified.

Is any body know why i got his message ?

Thanks in advance..
  • Moved byeryangMSFT3 hours 57 minutes agovb interop issue (From:.NET Base Class Library)
  •  
K P Sarvaiya  10 hours 14 minutes ago
Hi,

Are you using the 64 bit version for conversion.

Refer to the below link and and see if this helps

http://msdn.microsoft.com/en-us/library/hfzzah2c.aspx


Regards
Azhar

Mark as answer if this helps

Thanks and Regards Azhar Amir
Azhar_Amir  1 hour 47 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• I want to debug a dll created in VS 2005 from application created in VS 6.0
• User-Defined events not firing in VB6 from .NET user control
• Use an assembly under VB6
• Open .Net 2.0 project in VS 2008
• Form deactivates unexpectedly after ShowDialog
• Interop Excel Sheets doesn't unprotect
• Exception from HRESULT: 0x800AC472
• Fixed: Unexpected exception occurred during upgrade engine operation: Not able to bind to the source
• Name vbFromUnicode and Vbunicode not Declared.
• Interop Toolkit User Controls and Reg-Free COM Deployment