locked
Build C++ dll Problem (SOS)

    Question

  • Dear everyone.
     I create a standard C++ dll project by VS2012 RC. Its is win32 dll project. The dll needs to reference some static libraries

    which had built already. And the project includes these libraries' head files (*.h) and lib Files (*.lib). After I built the dll,

    and I use it into a C++ program, function LoadLibrary(...)  return NULL. What's the reason?
     Finally, I will use the dll into my C# (Metro style apps) program. I test it into C# program, it compiles successfully, but

    it is crash when it is running.
     I think the dll can't embed the libraries. What can I do let the dll includes libraries?
     Thanks for your help.

    Monday, September 10, 2012 5:47 AM

Answers

All replies