Use C++ DLL with VB6

前端 未结 5 1404
自闭症患者
自闭症患者 2021-01-06 12:38

I just created a DLL for my boss in MSVC++2010. I selected \"New Win32 DLL\" with option \"Export symbols\", so, everything is completely standard. There are some predefined

5条回答
  •  被撕碎了的回忆
    2021-01-06 12:46

    If it's not a COM library, you need to export only C function with __stdcall. You might need to create .def file for them (http://msdn.microsoft.com/en-us/library/d91k01sh(VS.80).aspx). Also use dependency walker, e.g. depends.exe to see what functions were exported and with which names.

提交回复
热议问题