De{*word*81} Kernel Error - Error Code 1

I am trying to get D2 to work with Intel's 3DR32.DLL.  Everytime I
compile the program I get this message.

De{*word*81} Kernel Error
Error Code 1

When I turn debugging off, it compiles, then runs and gives a bunch of
access violation errors, then crashes.  If I step through the program,
it never encounters problems, but it doesn't draw to the screen either.
Can any one tell me where to look for my error.  Thanks for any help.

DJ
dspi...@frii.com