This project has moved. For the latest updates, please go here.
1

Closed

IronPython.Modules.dll bug when access from Delphi

description

Hi,
I have almost succesfully managed to access IronPython from Delphi 7 (Win32). But I have also encountered a bug connected with IronPython.Modules.dll.
 
Here are steps to recreate it:
  1. Unzip the attached file somewhere
    2) Put IronPython IronPython-2.6 with IronPython dlls to the same folder (or change the path in Host\build.bat)
    3) Build the host with Host\build.bat
    4) Run Host\Host.exe - it runs OK
    5) Run Delphi\IpyTest.exe - it runs OK
    6) Put IronPython.Modules.dll to Delphi\ folder
    7) Run Delphi\IpyTest.exe - it freezes. It freezes during creating IronPython engine.
    8) Host\Host.exe runs fine with IronPython.Modules.dll
     
    I don't know how to debug this problem - can somebody please look at it? Thank you.

 

-- Lukáš

file attachments

Closed Feb 1, 2010 at 11:49 PM by sborde

comments

cendalc wrote Jan 19, 2010 at 7:04 PM

This is caused by Delphi's different default floating point exception handling setup.
To fix it, call Set8087CW($133F); before using any .NET functionality.

wrote Feb 1, 2010 at 11:49 PM

wrote Feb 8, 2010 at 8:27 PM

wrote Feb 22, 2013 at 2:10 AM

wrote May 16, 2013 at 1:03 PM