几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】odinitialize causes invalid page fault on windows 98 (http://www.dimcax.com/hust/showthread.php?t=17736)

yang686526 2009-05-06 08:59 PM

【转帖】odinitialize causes invalid page fault on windows 98
 
odinitialize causes invalid page fault on windows 98
odinitialize causes invalid page fault on windows 98
does anybody know if there is a problem calling odinitialize on windows 98? i've complied the odreadex example and it works fine on windows xp but seems to crash at odinitialize on windows 98.
starting with dd 2.0 unicode support needs to be installed on old windows systems. see release notes or:
sergey slezkin

quote:
originally posted by sergey slezkin
starting with dd 2.0 unicode support needs to be installed on old windows systems. see release notes or:
i tried compiling the odreadex example after adding:
/nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nodleacc.lib /nodledlg.lib /nod:sensapi.lib unicows.lib
to the linker command line (as explained by mslu docs). it all seemed to compile and link fine but still crashes. is what i did supposed to work or am i still doing something wrong?
are you using the same computer to build and run the readex or different ones? the unicode support must be installed on computer which is used to run the readex (required dlls must present on it).
sergey slezkin
quote:
originally posted by sergey slezkin
are you using the same computer to build and run the readex or different ones? the unicode support must be installed on computer which is used to run the readex (required dlls must present on it).
i am building on a windows xp computer using visual studio 2003 and then trying to run on a clean windows 98 computer. i have copied 'unicows.dll' to the same folder that i copied readex to on the windows 98 computer.

i have now received feedback from a commercial associate member saying that they are having the same problem. they tell me they think that windows 98 is no longer supported.
it looks like dll build doesn't work on win 98.
(unicows.lib had to be linked to every dd dll)
prorbably we'll fix it in the next update, if it won't break anything.
you may try to use static mt build, if it is acceptable for you.
vladimir

quote:
originally posted by wvk
it looks like dll build doesn't work on win 98.
(unicows.lib had to be linked to every dd dll)
prorbably we'll fix it in the next update, if it won't break anything.
you may try to use static mt build, if it is acceptable for you.
thanks for the info. i will pass it on to the commercial associate member i mentioned previously. we use their software and i have been trying to figure out why it will not work on windows 98. hopefully you will have a fix in the next update, although i realise that windows 98 is getting on a bit.
currently it is decided not to fix md (including dll) configurations, because, to work on win 98 md-using application must also supply rebuilt crt library. we haven't strong enough requests to go that far. (i remember only 2 members complaining about win98, both are non-commercials)
vladimir


所有的时间均为北京时间。 现在的时间是 05:25 PM.