|
A string is output in the dll, and the string is obtained in the exe.
dll:
extern "C" _declspec (dllexport) int __stdcall CselectPathShel :: Path (CHAR * path)
{
.......
}
exe:
CHAR m_path [260];
m_path [0] = 0;
Path (m_path);
The programs in the dll are running normally, but the parameters m_path obtained in the exe are all garbled. After m_path [20] is the string that should be obtained from the dll. What is the problem and how can I change it? ? |
|