Link to home
Start Free TrialLog in
Avatar of inampudi1
inampudi1

asked on

Delphi Application.processmessage

Hi,

I am using    "Application.ProcessMessages" in my delphi application with flash activex. but it is very slowly executing i want to improve the speed of that can any one suggest the solution.

Avatar of inampudi1
inampudi1

ASKER

in this application i will change mouse position randomly on the flash activex, according to the mouse position the flash animation need to change. for this i used    Application.ProcessMessages;
SetCursorPos(RadX,RandY);
Application.ProcessMessages;
Avatar of Geert G
Application.ProcessMessages;
This has nothing to do with speed, it just lets the application process the messages it has on the queue.
It's what your using to display the Flash which is the problem.
If nothing in the queue then the application processmessages doesn't process anything.
It's the ActiveX object which is slow
Thank you for ur reply,


I know that but is there any chance to improve the speed
By using any system level threads like that.

ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial