The function i'm trying to call is:
void FormatError (HRESULT hrError,PCHAR pszText);
from a custom dll using windll.
c_p = c_char_p()
windll.thedll.FormatError(errcode, c_p)
Results in:
ValueError: Procedure probably called with not enough arguments (4 bytes missing)
Using cdll instead increases the bytes missing counter to 12. errcode above is the errercode returned from another function out of the same dll. How do I get the call right?