Discussions related to Visual Prolog
augustinharrison
Active Member
Posts: 29
Joined: 28 Jul 2010 1:28

systemTimeToTzSpecificLocalTime: The parameter is incorrect

Unread post by augustinharrison »

when i execute my eks.exe i get a runtime error:
===== 2022-06-16 02:30:36 =======================

The parameter is incorrect.

----------------------------------------
Windows API call failed

userMessage = The parameter is incorrect.
ErrorCode = 87
ErrorCodeHex = 00000057
API function name = systemTimeToTzSpecificLocalTime
Time zone information = time_zone_information(300,"Eastern Standard Time",systemTime(0,10,0,5,2,0,0,0),0,"Eastern Daylight Time",systemTime(0,4,0,1,2,0,0,0),-60)
UniversalTime = systemTime(1601,1,1,1,0,0,0,0)

nativeCallException (exception)
time_api::systemTimeToTzSpecificLocalTime
pfc\windowsApi\time_api\time_api.pro(93,13)
----------------------------------------
c:\visual prolog 10\pfc\exception\exception.pro(201)
c:\visual prolog 10\pfc\exception\exception.pro(258)
c:\visual prolog 10\pfc\windowsapi\time_api\time_api.pro(95)
c:\visual prolog 10\pfc\windowsapi\time_api\time_api.pro(152)
c:\visual prolog 10\pfc\time\timeformatter.pro(138)
c:\visual prolog 10\pfc\time\timeformatter.pro(327)
c:\visual prolog 10\pfc\time\timeformatter.pro(313)
taskwindow\taskwindow.pro(28)
c:\visual prolog 10\pfc\gui\window.pro(825)
c:\visual prolog 10\pfc\gui\window.pro(1884)
C:\Visual Prolog 10\ai\eks\Exe64\vipKernel.dll (0x000000141400AB28)
C:\Visual Prolog 10\ai\eks\Exe64\vipVpi.dll (0x00007FF9272B89E7)
C:\Visual Prolog 10\ai\eks\Exe64\vipVpi.dll (0x00007FF927322F70)
C:\Visual Prolog 10\ai\eks\Exe64\eks.exe (0x0000000140000000)
C:\Visual Prolog 10\ai\eks\Exe64\eks.exe (0x0000000100000000)
c:\visual prolog 10\pfc\reflection\reflection.pro(512)
c:\visual prolog 10\pfc\windowsapi\exe_api\exe_api.pro(78)
c:\visual prolog 10\pfc\application\exe\mainexe.pro(27)
c:\visual prolog 10\pfc\application\exe\mainexe.pro(13)
main.pro(17)
OS: Windows 10.0 Version 2009 (OS Build 19044.1706) Professional
what is the issue?
also, does the exe64 dir still need the x64 versions of the dlls as they did
back in 7.5? example: vip7kernel.x64.dll (where are those specified above?)
aeh
User avatar
Thomas Linder Puls
VIP Member
Posts: 1395
Joined: 28 Feb 2000 0:01

Re: systemTimeToTzSpecificLocalTime: The parameter is incorrect

Unread post by Thomas Linder Puls »

Could you show the code that gives this exception?

The dll's in the exe64 directory are still 64bit DLL's but they have "normal" names.
Regards Thomas Linder Puls
PDC
augustinharrison
Active Member
Posts: 29
Joined: 28 Jul 2010 1:28

Re: systemTimeToTzSpecificLocalTime: The parameter is incorrect

Unread post by augustinharrison »

nevermind, the time error was from the 3rd error you already answered!
i have to test it a lot but it looks like im running on version 10!!!
i like the new version and thank you very much for your help.
these posts are complete.

aeh
aeh
Post Reply