I am trying to recreate the exported functions of a dll based of the result of a existing DLL. The reson being is that this DLL is read into a really old software and there is lacking documentation on how to create the DLL.
This is the result of DUMPBIN /exports
The documentation states that the function header should be:
DLLEXPORT long WINAPI User_Write(char *Command, char *Parameter)
But i can't find any way to use that exact line and replicate the outputs so i have created a DLL with the following function header:
extern "C" __declspec(dllexport) long __cdecl User_Write(char *Command, char *Parameter)
When i export this DLL with DUMPBIN /exports i get the following:
It is similar but not the same and the software is not accepting the DLL. I really need some help here!