If you can, change the app so that it'll also output what parameters and calls are being passed in as well. Drop in a debug statement or two on entrance and exit to any and all functions within the thread. Then keep an eye on the logs.
Check this thread on Stack Overflow; http://stackoverflow.com/questions/89607/what-is-a-privileged-instruction On Wed, Oct 26, 2016 at 11:57 AM, Dennis <de...@avidsoft.com.hk> wrote: > I have a multi threaded program which executes a list of tasks in real > time. > It is difficult to debug with a debugger on this program (since debugging > will pause the execution which will be messy for this application). > > So, I log the exceptions to a log file and I found this exception: > EPrivilege Privileged instruction > > What could possibly raise this exception? > > My program is win 32 from Lazarus 1.7 FPC 3.1.1 > and running on Win 7 64 bit. > > thanks in advance. > > Dennis > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal