COM DLLs or COM components must be registered. If your code requires a COM component that is not on the target machine and you just copy it over without registering it the COM component will not work and your code will also not work.
Printable View
COM DLLs or COM components must be registered. If your code requires a COM component that is not on the target machine and you just copy it over without registering it the COM component will not work and your code will also not work.
A .lib file will be generated if you compile it as a dynamic library or static library.Quote:
I have the option of compiling it into a DLL or a lib
Are you sure that the problem is with sshlib2?
Well, assuming you are correctly compiling libssh2 into a static library, there must be some other dependency that libssh2 has that the target machine is missing.
change the library type to static instead of DLL