Hi,
Does someone have an idea on how I should pass a date to this DLL?
I use it to directly write into an accounting program.
Here is what the help says:
WORD DPIGetSysDate( HSOC hSoc,
WORD wType,
LPDPIDate lpDate
);
Parameters
hSoc handle off the company (no problem with this one)
Wtype type of date whished (no problem, these are constants)
DPIDTE_EMPTY date vide
DPIDTE_TODAY date du jour
DPIDTE_DEBEXER début dexercice
DPIDTE_FINEXER fin dexercice
DPIDTE_DEBSAISIE début de saisie
DPIDTE_FINSAISIE fin de saisie
lpDate pointeur on a date <<< here is the problem
Returns: error Code
José