I will try that as well. Thanks!
On Wed, Aug 19, 2009 at 3:47 PM, Dino Viehland wrote:
> If 2.6 doesn't work unmodified there's also adding the 2 needed lines
> to 2.0's pyc:
>
> mainMethod = tb.DefineMethod('Main', MethodAttributes.Public |
> MethodAttributes.Static, int, ())
> +if tar
Yes, I did. The 2.6 pyc.py did not work when run against 2.0.2, but I
downloaded IP 2.6 Beta 2 and now the FolderBrowserDialog comes up correctly.
So I guess I'll just use 2.6 from now on. Thanks!
On Wed, Aug 19, 2009 at 3:44 PM, Michael Foord wrote:
> David Escobar wrote:
>
>> How would I tag Ma
If 2.6 doesn't work unmodified there's also adding the 2 needed lines
to 2.0's pyc:
mainMethod = tb.DefineMethod('Main', MethodAttributes.Public |
MethodAttributes.Static, int, ())
+if targetKind == System.Reflection.Emit.PEFileKinds.WindowApplication:
+
mainMethod.SetCustomAttri
David Escobar wrote:
How would I tag Main with the [STAThread] attribute in IronPython? I
thought IP didn't yet have the ability to use attributes...
Unfortunately that is something that needs to be done in the Pyc
compiler. Did you try Curt's suggestion of using the 2.6 Pyc.py?
Michael
On
How would I tag Main with the [STAThread] attribute in IronPython? I thought
IP didn't yet have the ability to use attributes...
On Wed, Aug 19, 2009 at 3:11 PM, Curt Hagenlocher wrote:
> ...which has been fixed for IronPython 2.6. You might be able to use the
> 2.6 pyc.py script against 2.0.
>
>
Awesome, thanks Michael :)
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Wednesday, 19 August 2009 8:44 PM
To: Discussion of IronPython
Subject: Re: [IronPython] sys.argv empty in compiled scripts
...which has been fixed for IronPython 2.6. You might be able to use the 2.6
pyc.py script against 2.0.
On Wed, Aug 19, 2009 at 3:09 PM, Curt Hagenlocher wrote:
> It's a COM issue. The emitted Main needs to be tagged with the [STAThread]
> attribute.
>
> On Wed, Aug 19, 2009 at 11:41 AM, David
It's a COM issue. The emitted Main needs to be tagged with the [STAThread]
attribute.
On Wed, Aug 19, 2009 at 11:41 AM, David Escobar wrote:
> Yes, I am. The full command line I'm using is:
> *"C:\Program Files\IronPython 2.0.2\ipy.exe" pyc.py
> /out:FolderBrowserDialogTest /main:FolderBrowserDia
It is fixed in 2.6. I don't see another bug on this anywhere else
so the new bug will be good to keep around for 2.0.3.
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Wednesday, August 19, 2009 3:44
Yes, I am. The full command line I'm using is:
*"C:\Program Files\IronPython 2.0.2\ipy.exe" pyc.py
/out:FolderBrowserDialogTest /main:FolderBrowserDialogTest.py /target:winexe
FolderBrowserDialogTest.py*.
The dialog window does come up with every control except the tree view of
folders.
On Wed,
Are you compiling w/ the "/target:winexe" option? You'll need to provide that
for doing WinForms development.
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of David Escobar
Sent: Wednesday, August 19, 2009 11:03 AM
To: Discussion of IronPython
Su
I've noticed an issue with the FolderBrowserDialog window from IronPython.
When I display it with the ShowDialog method in a compiled script (through
pyc.py), it does not show the TreeView of folders. It will display the
Description title and the buttons, however. If I run the script straight
throu
This is an automated email letting you know that sources
have recently been pushed out. You can download these newer
sources directly from
http://ironpython.codeplex.com/SourceControl/changeset/view/58233.
ADDED SOURCES
$/IronPython/IronPython_Main/Src/Tests/functions
$/IronPyt
Hello,
This is a known bug - and if it isn't fixed in 2.6 it really needs to
be. :-)
You can access the command line arguments through System.Environment.
from System import Environment
args = Environment.GetCommandLineArgs()
HTH
Michael
Howland-Rose, Kyle wrote:
Hi all,
I just
http://
This should do it:
scriptScope.GetVariable>("Broker")();
-Original Message-
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Pavel Suhotyuk
Sent: Wednesday, August 19, 2009 12:20 AM
To: Discussion of IronPython
Subject: Re: [IronPython] In
Hello.
Thank you for answer.
How can I create script object without code generation same like:
scriptEngine.Execute(string.Format("{0}()","Broker"),scriptScope);
?
Dino Viehland wrote:
We haven't implemented support for more than 3 parameters :)
In 2.6 I just fixed > 3 params for the Invoke
16 matches
Mail list logo