![]() |
【转帖】please help me to solve this access violation problem
please help me to solve this access violation problem
please help me to solve this access violation problem gentlemen,i am a student new learner of dwgdirect c++ 2.06.03 and i came across a access violation problem as follow: unhanled exception in cad.exe (ntdll.dll):0xc0000005:access violation it comes from the odinitialize(&systemservices) function of the following codes: extern "c" int dwgdirectread(char* pfilename) { odrxobjectimpl<myservices> systemservices; odinitialize(&systemservices) ..... } ps:i don't know my former version of dwgdirect c++,which defines odinitialize() in the file of "dynamiclinker.h" as the form of toolkit_export void odinitialize(oddbsystemservices* psystemservices); however,dwgdirect c++ 2.06.03 defines it in the file"dbsystemservices.h". i hasn't done much job but replacing the include files.has it something to do with the files? any help will be appreciated. thanks! if you have some idea,please email me at yanyunseu@yahoo.cnfff">.thanks again. last edited by james.xu@ddsoft.com.cn; 14th december 2008 at 06:34 pmfff">. sorry,this error may has nothing to do with the function odinitialize() itself. though i haven't figured it out yet, i think this error may lies in dll setting of vc6 envrionment. thanks. be sure to update not only include files but lib also. it's better to unpack new version into a new empty folder to avoid mixture of different non-compatible versions. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 01:11 PM. |