Jump to content

Toubles as Service


Abaksoft

Recommended Posts

Hello friends,

Since i changed my PC (new DELL OPTIPLEX  i5  24Go RAM / win 10 Pro 64 bit) , i am having somme troubles :

Details :

1. When runing, as usually my Unigui application as Dedktop debug or release, it works fine.

2. When deploying it as Service, some Frames ca'nt be display. And yet i did'nt change my code. The strange is the same application As service (also with hyperServer) worked fine on my old PC (win 10 Pro 64). 

From your expertise, What could be the cause ?

- Hyper threading setting ( mother card Bios) ?

- Windows setting ?

Really i am frustrated !

Thx.

NB :  Tested as Service and  hyperServer.

__________

Unigui 1481

Delphi Tokyo 10.2

 

Link to comment
Share on other sites

Solved :)

As my new PC has a default time Format (AM and PM),  the error was in the SQL Statment  (on my each Frames create Event).

I found in my old code :    DateToStr()   and   DateTimeToStr()    and   TimeTotr()

So, solving by :    

DateToStr( ...    ,  UniguiApplicationFMtSettings

DateTimeToStr( ...  ,  UniguiApplicationFMtSettings

TimeTotr( ...  ,  UniguiApplicationFMtSettings

It wasn't obvious, because the application stoped without error message (even if "Notify on Langage exceptions" > Delphi Options  is enabled).  I was looking for Bios setting, suspecting twists : Hyper thread, virtualization, and others unknown settings !

Now I am very happy :) and hope my feedback can be useful.

Sorry Farshad for the Alert !

Date_Format.png

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...