[omniORB] omniORB4 and Visual Studio .NET (Repost)

Sandro Tolaini tolaini@libero.it
Wed Sep 4 08:56:02 2002


> The problem is that when the script uses omniidl for the first time it
> crashes with the classic memory violation exception.
> omniidl.exe - Application Error
> The instruction "0x77f83941" referenced memory at "0x00000010". The
> memory could not be "written".

The problem is that Python is compiled with VC6, and the omniidl
extension with VC7. Python does a dirty trick passing a FILE * around
and, since the FILE structure has changed between VC6 and VC7 you get a
crash.

Solution: get the python22.dll from
http://sandro.focuseek.com/python22dll.zip and put it on
C:\WINDOWS\System32 over the old library.

Cheers,
  Sandro Tolaini.