I use Python.Net to test dll written in manage C++. ( I have more than
270 test cases )
It is not really matter in wich language you write your dll. You can
get full access to all methods and classes defined as public within
dll. Also reflection works as expected
Roman
On Thu, 3 Mar 2005 21:35:58
Hi. I have small problem with multithreading and need help to solve it.
I have dll written in managed C++. Within dll I have class that has
static function. I'd like to call this function from a few threads
from python. I failed to do this. Calling function staled and this is
a stack dump from debu
[EMAIL PROTECTED]
> V.P. Engineering 540.361.1716
> Zope Corporation http://www.zope.com
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Roman Yakovenko
> > Sent: Monday, March 14, 2005 1:24 AM
&
Hi. First of all thank you.
Second - I still have problems to call static function from a few
threads. Is it intentional?
Do you want I send you test case?
Roman
On Mar 29, 2005 5:31 AM, Brian Lloyd <[EMAIL PROTECTED]> wrote:
> Python for .NET 1.0 beta 5 is now available - you can download
> i
Hi. Bryan could you add __str__ function to all CLR exceptions ?
It will improve usability of this exception with python unittest package.
Thanks
_
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet
Sorry this was posted in wring thread.
On 5/25/05, Roman Yakovenko <[EMAIL PROTECTED]> wrote:
> Hi. Bryan could you add __str__ function to all CLR exceptions ?
> It will improve usability of this exception with python unittest package.
>
>
ython exception. In case of
CLR.Exception it can't print message of exception.
Roman
On 5/27/05, Brian Lloyd <[EMAIL PROTECTED]> wrote:
> > Sorry this was posted in wring thread.
> >
> > On 5/25/05, Roman Yakovenko <[EMAIL PROTECTED]> wrote:
> > > Hi
On 5/31/05, Brian Lloyd <[EMAIL PROTECTED]> wrote:
> Hi all -
>
> So to summarize this thread: we want to make __str__ of a CLR
> exception return self.Message, right? That would seem to match
> the behavior of the std Python exceptions.
>
>
> Brian Lloyd[EMAIL PROTECTED]
> V.P. Engineer
rest of my code makes extensive use of ctypes.
>
> Thanks
> Mark
>
Thanks
Roman Yakovenko
_
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet
ectly.
Also, I can not contribute source code I can do some testing for .NET 1.x branch
( and may be in future for 2.x ). I have something like 370 unittest
written in Python.NET that tests client-server application. ( And the
number will grow :-) ).
&
em ?
It seems that you can not load your dll because of dependency problems.
Check them with dependency walker tool
>
>
> Please help me in explain the reason, for this.
> Thanks for your time.
>
> Thanks & Regards
> P.Ranish
>
Does this help?
--
Roman Yakov
on.org
> http://mail.python.org/mailman/listinfo/pythondotnet
>
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet
ion )
#import namespaces
from CLR import TopNamespace
> Any advice much appreciated.
I hope this was helpful.
> Best wishes
>
> Ivan
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_
Python.NET mail
{
> }
> }
>
> How will I import it into python script so that I can use exposed function.
I think if you will resolve first issue and then write
my_dll_name = Assembly.LoadWithPartialName('C:\\986tool\\vpci")
from CLR import TestWinForm
TestWinForm.GlobalFunc
the Form1 class how can I call it?
What is the error you get?
> Regard's
> Lalit
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet
he editor I prefer SciTe.
> thanks
>
> Babu
>
> _
> Python.NET mailing list - PythonDotNet@python.org
> http://mail.python.org/mailman/listinfo/pythondotnet
>
>
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_
n meta class. If user wants to
create some concrete instance he writes
Dictionary( int ) or Dictionary( MyClass )
This will create a "template instantiation", sorry for using C++, of
class Dictionary.
DictionaryInt = Dictionary( int )
Now what to do if user already have
functions name mangling
2. resource management
You have few choices:
1. To create thin wrapper to dll that will expose ".NET" interface
2. To use boost.python library ( or if you resist SWIG )
> Regard's
> Lalit
--
Roman Yakovenko
C++ Python language bin
On 5/10/06, Mathew Yeates <[EMAIL PROTECTED]> wrote:
> Anybody out there?
Yes
> Did this list die?
No
> Mathew
>
> _
> Python.NET mailing list - PythonDotNet@python.org
> http://mail.python.org/mailman/listinfo/pythondo
On 8/19/06, Steve Dewey <[EMAIL PROTECTED]> wrote:
> I want to run Python.Net from within my existing Python 2.4 environment.
> I installed with pythonnet-1.0-rc2-py2.3-clr1.1.exe
^^
Before you continue, consider to install version built for Python 2.
ith real life
> applications to test my branch.
Does it work with binaries ( Managed C++ DLL ) compiled for .Net 1.1?
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
_
Python.NET mailing list - PythonDotNet@python.
21 matches
Mail list logo