I use the NOW function in SysUtils to get the current date and time, i.e:
After i call a function from a statically loaded DLL, (witch replays via Windows Messages) the NOW function gives me the same date and time value as before and does not renew its value. Why? Anyone got an idea?
If i do not use the DLL function, the NOW function works fine.
Extra info:The DLL works as a middle tier and is made in C++ (I have no source access) and in turn communicates with a java software module.
myApp <--> DLL <--> JavaApp
Thanks in advance
Code:
Label1.Caption := DateTimeToStr(NOW);
After i call a function from a statically loaded DLL, (witch replays via Windows Messages) the NOW function gives me the same date and time value as before and does not renew its value. Why? Anyone got an idea?
If i do not use the DLL function, the NOW function works fine.
Extra info:The DLL works as a middle tier and is made in C++ (I have no source access) and in turn communicates with a java software module.
myApp <--> DLL <--> JavaApp
Thanks in advance