I have a static library (native c++).
Now I would like to use this static library in a C++/CLi project.
Compiling is ok, but there is a runtime error saying "ntdll.dll! ****memory access violation".
Both the static library and the clr project are using "/MD".
Is it valid to link a clr project to a native c++ static lib? If yes, any special configurations I should pay attention to?
PS. I can't turn the static lib to dll.