I'm trying to compile the sample firstapp.c listed in the
documentation on the web site. This uses the libraries in
It compiles, but at runtime, I get the error message "The exception
Privileged instruction. (0xc0000096) occurred in the application at
location 0x00524afc." and it is terminated by Windows.
This error occurs when the program calls ct_connect() from the
libct.lib. When it exits, the program displays the information:
error number 5701, severity 10, state 2, line 0
"Changed database context to 'master'."

I compiled in MSVC 6.0 and CodeWarrior, with the same results.

Why does it crash? How do I configure it to work?

Thanks for your help.

Curtis Thiessen
University of North Dakota