how to use a com dll
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
HI, I HAVE A COM DLL DTSPKG.DLL WITH ME.I WANT TO USE ITS INTERFACE ,I ABSOLUTELY HAVE NO IDEA ,HOW TO DO IT.I NEED HELP... THANKS AND REGARDS.
you can view the contents of the dll in the OLE/COM Object Viewer the dll that you need will probably be in the type librarys part you can the open up the dll by double clicking on it, copy whats in there to the clipboard back in visual studio create a new idl file, paste in the contents of the clipboard, save the file. add this to your project and compile this will then generate the headers (.h) you need to call your dll hope this helps si