[python-win32] Bug: Not letting through the readable error?

2005-10-13 Thread Andrew Markebo
Hi! I am trying to generate a DirectX API(?) by myself instead if using makepy.py. So I do: >>> import win32com.client.gencache >>> LVClass = win32com.client.gencache.EnsureDispatch("LabVIEW.Application") And I get: Traceback (most recent call last): File "", line 1, in ? File "C:\PROGRA

Re: [python-win32] Reading custom output parameters fromLabVIEW/Acti veX

2005-11-23 Thread Andrew Markebo
Hello! Sorry for getting in so late, are there any god notes/examples on how to use InvokeTypes? Been looking around a little but don't get it straight. / "Mark Hammond" <[EMAIL PROTECTED]> wrote: |> So the new question is: how do you create a 1D array of variants |> in python? |> >From what I've

[python-win32] using InvokeTypes?

2005-12-02 Thread Andrew Markebo
I am communicating between LabVIEW and Python through the COM-interface, trying to drag out a LabVIEW defined enum. The sane problem as seen in "Reading custom output parameters from LabVIEW/ActiveX" There Mark Hammond writes: "Sadly there is no easy way to explicitly specify the exact variant t

[python-win32] Loading a and running from a dll runtime?

2006-05-11 Thread Andrew Markebo
Hello! My question is... Is it possible to load and execute the code in a dll from PythonWin? I have found the function LoadLibrary, but how do I check the contents, and so on in the dll? Or should I use swig or similar? /Andy -- Remember don't look at the palm, look into it! ___

Re: [python-win32] Loading a and running from a dll runtime?

2006-05-11 Thread Andrew Markebo
/-- | |> Or should I use swig or similar? | | To do this at runtime, you might look at ctypes (which is at | http://starship.python.net/crew/theller/ctypes/, or if you wait for | Python 2.5, it will be in the standard library). I tried to use Ctypes talking to LabVIEW