Code: Select all
====== Begin Dump - Thursday, November 10, 2005 22:06:39 ======
Server Version = 2.22
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 7C92AE22 01:00029E22 C:\WINDOWS\system32\ntdll.dll
Registers:
EAX:20726568
EBX:00000000
ECX:646E6F43
EDX:00D70608
ESI:193AFAE0
EDI:00D70000
CS:EIP:001B:7C92AE22
SS:ESP:0023:0846F98C EBP:0846FA48
DS:0023 ES:0023 FS:003B GS:0000
Flags:00010213
Call stack:
Address Frame
7C92AE22 0846FA48 RtlImpersonateSelf+3A5
77C2C2DE 0846FA90 free+C3
07504453 00000001 omni_strerror+233
====== End Dump ======
I'm using a library written by someone else to do the communication with the Omni controllers and it does declare omni_strerror. There are only two sections of code where this shows up. One is in the header for the Omni protocol code:
Code: Select all
HAIIMPORT const char *omni_strerror(int err);
Code: Select all
HAIEXPORT const char *omni_strerror(int err)
{
switch (err)
{
case EOMNIARGUMENT :
return "Bad omni function argument";
case EOMNIRESPONSE :
return "Unexpected response from Omni";
case EOMNICRC :
return "Bad CRC from Omni";
case EOMNIEOD :
return "End of Omni data";
}
return NULL;
}
If there are any developers out there with more experience than me in this area (I'm still fairly new to C++) I'd appreciate any advice on where to look or how to go about troubleshooting this. Thanks!
-- Dave