Hi:
The program that I've written works well when using the ipy command. I
tried to compile it as a standalond executable using pyc.py. It
produces an executable without any error. When I try to execute the
executable, nothing happens; There is no error message; nothing. How
can I debug? How can I produce a executable?
Here are some info:
IronPython and IronMath are present in the same directory
I'm using the below command to produce the executable:
ipy pyc.py /main:MainForm.py /out:mysecs.exe /target:winexe
Begining of the program looks like this:
import clr
clr.AddReference('System')
clr.AddReference('System.Windows.Forms')
clr.AddReference('System.Drawing')
#unmanaged code
clr.AddReference('mySecs')
#external dlls
clr.AddReference('SourceGrid')
clr.AddReference("System.Data")
clr.AddReference('System.Data.SQLite')
import System
from System import *
from System.Windows.Forms import *
from System.Drawing import *
from System.Text import StringBuilder
from System.Diagnostics import Process
from System import Environment
from System import DateTime
from System.Data.SQLite import *
import SourceGrid
from mySecsUnmanagedCode import User32
Any help is appreciated. Thank you,
Joseph
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com