I'm attempting to write a program in Visual Basic and would like to use a C .lib file (and corresponding DLL).However, my Google searching abilities are not proving fruitful and I can't find an easy way to import the LIB file.Any assistance or direction is GREATLY appreciated.* Side note: This library used to be provided in a COM object but now isn't, hence why I'm so friggin' lost!
8/25/2009 4:14:34 PM
http://www.flipcode.com/archives/Interfacing_Visual_Basic_And_C.shtml?
8/25/2009 4:47:14 PM
You can't add a reference to a C dll that doesn't have a COM interface, but you can call the methods inside it using PInvoke.Microsoft has an article on MSDN about doing it in C# (http://msdn.microsoft.com/en-us/magazine/cc164123.aspx). Just do an interweb search.
8/25/2009 6:30:46 PM