Link to home
Start Free TrialLog in
Avatar of SwOoPe
SwOoPe

asked on

Can´t Exit Windows while my program is running.

I made a port blocker that is autostarted with windows, but every time I want to exit windows i must close my program. Why? How do I fix it?
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

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
Avatar of SwOoPe
SwOoPe

ASKER

I haven´t tryed it yet but thanks for your reply.

David
Avatar of SwOoPe

ASKER

damm inthe it diden´t work. Do u have any other solotions to this problem?

Can be becouse I use:

procedure WndProc(var Msg : TMessage);

for a tray icon?
for a start try commenting out all the tray icon code(as far as im aware these are the 2 most normal faults for this problem is tray icon and wm_queryendsession).
see if it works then