Dll Memory Management

https://stackoverflow.com/questions/4031249/dll-memory-management

when a DLL is loaded, Windows allocates address space for the code and data segements, and calls

DllMain()

. The C++ compiler will have arranged to call global ctors from

DllMain()

.

Passing reference to STL vector over dll boundary

https://stackoverflow.com/questions/17885060/passing-reference-to-stl-vector-over-dll-boundary

passing C++ types across DLL boundaries is difficult. You need the following

  1. Same compiler
  2. Same standard library
  3. Same settings for exceptions
  4. In Visual C++ you need same version of the compiler
  5. In Visual C++ you need same Debug/Release configuration
  6. In Visual C++ you need same Iterator debug level

results matching ""

    No results matching ""