Proveleged instruction Execption!! what does it mean????

delphi package - automated exception handling
Post Reply
cool_tester
Posts: 75
Joined: Sun Oct 31, 2004 5:45 am

Proveleged instruction Execption!! what does it mean????

Post by cool_tester »

Hello all,

I just got this error and would like to know what exactly it means and how to solve it.

Code: Select all

current module    : C:\Program Files\Borland\Delphi5\Projects\Dll Calling EXE Procedures\Project2.dll
module date/time  : 2005-10-11 02:24
madExcept version : 2.7g
exception class   : EPrivilege
exception message : Privileged instruction.

main thread ($2610):
00ef32ba ???                              
00ea0ee8 Project2.dll    StdCtrls    2937 TButton.CNCommand
00eb2b99 Project2.dll    Controls    4227 TControl.WndProc
Thanks.
madshi
Site Admin
Posts: 10338
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

This is an exception which occurs when a thread is trying to execute a CPU instruction which only is allowed in driver land (e.g. interrupt handling in the NT family).

Usually when you run into such an exception in your Delphi application, that means that your thread jumped to wild/random memory. Hard to say why, though, unfortunately...
cool_tester
Posts: 75
Joined: Sun Oct 31, 2004 5:45 am

Post by cool_tester »

Makes sense thanks. i tracked the issue...
Post Reply