Hi all,
this is just a reminder to what I have just found. All below was performed on Win7x64 in VirtualBox.

When you use pyc.py to compile your code into .dll or .exe and your code uses some other libraries, make sure you specify target platform - i.e. /platform:x86

My code uses vfpoledb to access .dbf files. When I did not specify the platform, System.Reflection.PortableExecutableKinds.ILOnly was used which produced strange behavior:
  • it was slower than interpreted code
  • it crashes with 'vfpoledb is not registered error' although vfpoledb was registered and the interpreted code run OK
  • it runs OK on the second VM
When I specified switch /platform:x86 for compiling, it runs correctly.

--
-- Lukáš
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to