Featured post
visual c++ - add non "type library" dll as reference to VS C++ 2008 -
i received request colleague work out why specific dll cannot added reference in visual studio 2008 version 9.0.21022.8 rtm ms .net framework version 3.5 sp1.
the language used visual c++ 2008, have never done in language, although i've done bit in c# before...
please check following 2 error messages, first 1 came laptop, second colleague's:
from google research afraid target dll is:
not type library. confirmed running tlbimp utility:
tlbimp c:\test\tm1api.dll ...... error ti0000 : input file 'c:\test\tm1api.dll' not valid type library
what mean, convert type library?
not .net assembly or registered activex control. dll not programmed in vs afraid. how verify this?
basically confused, because 2 vs 2008 show different error messages, issue specific vs 2008 only? or there general solution in vs sort of thing?
many in advance.
you've got regular old dll. use dllimport access methods. aware there kinds of data marshalling issues when interacting c++ dll, instead of int might need use short, , intptr instead of arrays...stuff that.
- Get link
- X
- Other Apps
Comments
Post a Comment