View Single Post
  #7  
Old 11-08-2016, 02:13 PM
BaraoZemo BaraoZemo is offline
Senior Member
 
Join Date: Nov 2001
Posts: 3,598
Default

Hi Rantor777,

The problem was occuried due to delphi 7 problems with windows because the "normal" api hangs with windows 7 up to 10... and the solution was change the command that used the "normal" api to another.. and my program didn't hangs anymore.. and who help me to debug this was skydevil (a big friend from another forum).

This problem haunted me since windows 7, and only after debugging the code thoroughly did I discover the problem and the solution was to change the command

(windows 7 upto 10) sometimes it hangs the application
SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);

and the solution..
change the command to "postmessage" and no hangs anymore.
PostMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);

Quote:
Originally Posted by Rantor777 View Post
Delphi 7 Enterprise UP1 Running Ok

Long time no see, @BaraoZemo
Reply With Quote