[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2021-11-04 Thread Paul Moore
Paul Moore added the comment: Well, we don't support doing that - so I'm not sure what you want beyond the statement "it's not supported". If it works for you, then by all means use it, but you'll be on your own for any issues you encounter unless you can reproduce them in a "normal"

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2021-11-04 Thread Andrew Ushakov
Andrew Ushakov added the comment: Is the missed api-ms-win-core-path-l1-1.0.dll library the only reason of the Python 3.9 and 3.10 incompatibility with Windows 7? I am asking because I just found replacement of this dll, compatible with Windows 7:

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Paul Moore
Paul Moore added the comment: https://docs.python.org/3.9/using/windows.html should probably be updated: """ As specified in PEP 11, a Python release only supports a Windows platform while Microsoft considers the platform under extended support. This means that Python 3.9 supports Windows

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: also, no mention in https://pythondev.readthedocs.io/platforms.html -- ___ Python tracker ___

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: opps, [0] https://www.python.org/downloads/release/python-390b5/ -- ___ Python tracker ___ ___

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: At beta 5 the download page [0] says nothing about dropping win7 support. The installer, at least the one I tried ( python-3.9.0b5-amd64.exe ) will install on win7, and without warnings. It would be much better if it refused to install. -- nosy:

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-06-15 Thread Steve Dower
Steve Dower added the comment: Łukasz can add a note to the release page, I believe. -- nosy: +lukasz.langa ___ Python tracker ___

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-06-12 Thread Mark Hammond
Mark Hammond added the comment: Can we get this mentioned somewhere? Eg, https://www.python.org/downloads/release/python-390b3/ doesn't mention anything about minimum versions. https://www.python.org/downloads/windows/ also has prominent notices like "Note that Python 3.8.3rc1 cannot be

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-05-25 Thread Steve Dower
Steve Dower added the comment: Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update, ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe that one's supported until Python 3.10. -- resolution: -> not a bug stage: -> resolved status:

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-05-23 Thread honglei jiang
, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7 type: crash versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue40

[issue22497] msiexec not creating msvcr90.dll with python -2.7.6.msi

2020-03-20 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5459] msiexec not creating msvcr90.dll with python -2.6.1.msi

2014-09-25 Thread Katherine Dykes
Katherine Dykes added the comment: Installing for a single user does solve the problem but it is not a good fix. We have python based software where this has been an issue and a lot of our windows users install python for all users out of habit. We have to put in the docs to install for a

[issue5459] msiexec not creating msvcr90.dll with python -2.6.1.msi

2014-09-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: Katherine: Python 2.6 is no longer maintained. If you are talking about a different Python version, please submit a new bug report. Please state 1. what you did 2. what happened 3. what you expected to happen instead (personally, I'm not willing to invest time

[issue5459] msiexec not creating msvcr90.dll with python -2.6.1.msi

2014-09-25 Thread Katherine Dykes
Katherine Dykes added the comment: It is indeed 2.7 with the issues; the software we are building on (OpenMDAO) does not support 3.x - I'll go ahead and submit a new issue for 2.7 -- ___ Python tracker rep...@bugs.python.org

[issue22497] msiexec not creating msvcr90.dll with python -2.7.6.msi

2014-09-25 Thread Katherine Dykes
users install Python for all users by default. This causes problems later when trying to install software that combines any sort of C or Fortran code. -- components: Windows messages: 227550 nosy: dykesk priority: normal severity: normal status: open title: msiexec not creating msvcr90.dll

[issue22497] msiexec not creating msvcr90.dll with python -2.7.6.msi

2014-09-25 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +steve.dower, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22497 ___ ___ Python-bugs-list

[issue22497] msiexec not creating msvcr90.dll with python -2.7.6.msi

2014-09-25 Thread Steve Dower
loaded DLL (and Python won't have started if it couldn't resolve the CRT DLL). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22497 ___ ___ Python

using 3rd party dll in python - UsingTheVRTTDriver.zip (0/1)

2013-06-25 Thread Mark R Rivet
I would like to use the Gen3.dll functions from python. I understand that I can use ctypes to load the dll. I have been able to load the dll but cannot make any sense of how to use it once I have it loaded. I have been trying to understand the ctypes tutorial but I just can't wrap my head around

Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
First time post - be gentle with me :-) I am trying to write a Python script to access a scanning device. I have an SDK for the scanner but the documentation is a bit limited and the supplier doesn't support Python

Re: Help accessing COM .dll from Python

2012-12-01 Thread Günther Dietrich
Steve Simmons square.st...@gmail.com wrote: html head meta http-equiv=content-type content=text/html; charset=ISO-8859-1 /head body text=#00 bgcolor=#FF font size=-1font face=Bitstream Vera SansFirst time post - be gentle wifont size=-1th me :-)br br

Re: Help accessing COM .dll from Python

2012-12-01 Thread Chris Angelico
Quoting his entire text for the benefit of Mr Dietrich, who is apparently having trouble reading it. (He's right though, plain text is a lot easier to work with.) On Sat, Dec 1, 2012 at 8:51 PM, Steve Simmons square.st...@gmail.com wrote: First time post - be gentle with me :-) I am trying to

Re: Help accessing COM .dll from Python

2012-12-01 Thread Steve Simmons
Gunther - Sorry about that, hoping this response comes through as plain text. Chris - Thanks for the translation and the response. Unfortunately, I don't speak 'C', and I think the learning curve for Python + COM should be slightly less steep. The scanner is supplied by Card Scanning

Re: Help accessing COM .dll from Python

2012-12-01 Thread Albert Dengg
On Sat, Dec 01, 2012 at 12:47:57PM +, Steve Simmons wrote: Gunther - Sorry about that, hoping this response comes through as plain text. Chris - Thanks for the translation and the response. Unfortunately, I don't speak 'C', and I think the learning curve for Python + COM should be

Re: Help accessing COM .dll from Python

2012-12-01 Thread Paul Kölle
Hi, Am 01.12.2012 10:51, schrieb Steve Simmons: First time post - be gentle with me :-) I am trying to write a Python script to access a scanning device. I have an SDK for the scanner but the documentation is a bit limited and the supplier doesn't support Python (but Python is the best option

[issue5459] msiexec not creating msvcr90.dll with python -2.6.1.msi

2010-03-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I can't reproduce this. If I run the file with msiexec, then select install just for me, it will copy msvcr90.dll just fine. -- nosy: +loewis resolution: - works for me status: open - closed ___

Re: How can I get the target platform info of a dll with Python 3.1.1?

2009-12-20 Thread Gabriel Genellina
En Mon, 14 Dec 2009 07:25:45 -0300, W00D00 istvan.szir...@gmail.com escribió: On dec. 12, 03:18, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Fri, 11 Dec 2009 16:39:37 -0300, Isti istvan.szir...@gmail.com escribió: I have manydllfiles and I would like to select them into two

Re: How can I get the target platform info of a dll with Python 3.1.1?

2009-12-14 Thread W00D00
On dec. 12, 03:18, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Fri, 11 Dec 2009 16:39:37 -0300, Isti istvan.szir...@gmail.com   escribió: I have manydllfiles and I would like to select them into two different folders (PC and PPC). For this I need to know the target platform of

How can I get the target platform info of a dll with Python 3.1.1?

2009-12-11 Thread Isti
I have many dll files and I would like to select them into two different folders (PC and PPC). For this I need to know the target platform of the dll file or any other details about its platform. I use Python 3.1.1. I have tried the win32api which does not compatible with this Python version. So,

How can I get the target platform info of a dll with Python 3.1.1?

2009-12-11 Thread István Szirtes
I have many dll files and I would like to select them into two different folders (PC and PPC). For this I need to know the target platform of the dll file or any other details about its platform. I use Python 3.1.1. I have tried the win32api which does not compatible with this Python version. So,

Re: How can I get the target platform info of a dll with Python 3.1.1?

2009-12-11 Thread Gabriel Genellina
En Fri, 11 Dec 2009 16:39:37 -0300, Isti istvan.szir...@gmail.com escribió: I have many dll files and I would like to select them into two different folders (PC and PPC). For this I need to know the target platform of the dll file or any other details about its platform. Look at

Dll in python

2009-10-23 Thread snonca
hello I would like to know how to create dll in python to implement a project. NET There is a Tutorial Thanks Luis -- http://mail.python.org/mailman/listinfo/python-list

Re: Dll in python

2009-10-23 Thread Diez B. Roggisch
snonca schrieb: hello I would like to know how to create dll in python to implement a project. NET There is a Tutorial Take a look at iron-python. Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: Dll in python

2009-10-23 Thread Martien Verbruggen
On Fri, 23 Oct 2009 13:09:10 -0700 (PDT), snonca luis.bi...@gmail.com wrote: hello I would like to know how to create dll in python to implement a project. NET Are you maybe looking for this: http://pythonnet.sourceforge.net/ Martien -- | Martien

Re: Dll in python

2009-10-23 Thread Aahz
In article f57b5b5b-7a51-4611-9611-49e4068ac...@d4g2000vbm.googlegroups.com, snonca luis.bi...@gmail.com wrote: [...] Was I the only person who read the Subject: line and thought, How do you roll D11, anyway? -- Aahz (a...@pythoncraft.com) * http://www.pythoncraft.com/ In

Re: Dll in python

2009-10-23 Thread Rami Chowdhury
On Fri, 23 Oct 2009 14:08:58 -0700, Aahz a...@pythoncraft.com wrote: In article f57b5b5b-7a51-4611-9611-49e4068ac...@d4g2000vbm.googlegroups.com, snonca luis.bi...@gmail.com wrote: [...] Was I the only person who read the Subject: line and thought, How do you roll D11, anyway? Surely

Re: how to call this dll in python

2008-11-04 Thread Diez B. Roggisch
Shark schrieb: On Nov 3, 4:22 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote: Shark schrieb: I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf =

Re: how to call this dll in python

2008-11-04 Thread Shark
]=0;  printf(*buf after malloc=%p\n,*buf);  return 5; } __declspec(dllexport) void release(char* buf) {  printf(buf[0]=%d\n,buf[0]);  printf(buf=%p\n,buf);  free(buf);} = end C DLL code === = begin Python code === from ctypes import * x = CDLL('x.dll

Re: how to call this dll in python

2008-11-03 Thread Diez B. Roggisch
Shark schrieb: I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*)calloc(100); *bufLen = len; return 0; } then how can I call the f1 function

Re: how to call this dll in python

2008-11-03 Thread Shark
On Nov 3, 4:22 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote: Shark schrieb: I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf =

Re: how to call this dll in python

2008-11-03 Thread Mark Tolonen
) { printf(buf[0]=%d\n,buf[0]); printf(buf=%p\n,buf); free(buf); } = end C DLL code === = begin Python code === from ctypes import * x = CDLL('x.dll') x.get.argtypes=[c_char_p,POINTER(POINTER(c_byte)),POINTER(c_int)] buf = POINTER(c_byte)() length = c_int() print x.get(hello.txt,byref

how to call this dll in python

2008-11-02 Thread Shark
I have a windows dll1.dll with a export function: int f1(char filename,char **buf,int *bufLen) { int len; //got the length of file anyway,such as 100 len = 100;//len = getLen(filename); *buf = (char*)calloc(100); *bufLen = len; return 0; } then how can I call the f1 function with python. thanks

Using python22.dll with Python 2.5?

2008-10-22 Thread Martin Schneider
Hi! I'd like to use the numpy library (which runs on Python 2.5) in the same project with another (mandatory) library which needs python22.dll. When I try to compile I get an error similar to python22.dll not compatible with the current Python version. Has anybody an idea how to solve this?

Re: Using python22.dll with Python 2.5?

2008-10-22 Thread Diez B. Roggisch
Martin Schneider wrote: Hi! I'd like to use the numpy library (which runs on Python 2.5) in the same project with another (mandatory) library which needs python22.dll. When I try to compile I get an error similar to python22.dll not compatible with the current Python version. Has

Re: Using python22.dll with Python 2.5?

2008-10-22 Thread Robert Kern
Martin Schneider wrote: Hi! I'd like to use the numpy library (which runs on Python 2.5) in the same project with another (mandatory) library which needs python22.dll. When I try to compile I get an error similar to python22.dll not compatible with the current Python version. Has anybody

Re: Using python22.dll with Python 2.5?

2008-10-22 Thread John Machin
On Oct 23, 12:43 am, Martin Schneider [EMAIL PROTECTED] factory.de wrote: Hi! I'd like to use the numpy library (which runs on Python 2.5) in the same project with another (mandatory) library which needs python22.dll. When I try to compile I get an error similar to python22.dll not compatible

Re: writing dll in python?

2008-09-30 Thread Scott David Daniels
Terry Reedy wrote: Start with the Python tutorial, perhaps parts of the reference manual, and definitely peruse the first chapters in the library manual on built-in functions and classes. Check out http://wiki.python.org/moin/BeginnersGuide to see a range of ways to learn Python,

Re: writing dll in python?

2008-09-30 Thread Larry Bates
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in

writing dll in python?

2008-09-29 Thread nishalrs
Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in variety of operating

Re: writing dll in python?

2008-09-29 Thread Tino Wildenhain
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in

Re: writing dll in python?

2008-09-29 Thread Terry Reedy
nishalrs wrote: Hello All, My main motivation is to build a collection of useful mathematical models (that I have developed over the years) to design ultrasonic sensors. This should be some sort of a library that should be able to be used for desktop/web application development, to run in

Re: writing dll in python?

2008-09-29 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], nishalrs wrote: Should I write all the functions as simple python scripts? Or is there some facility for creating a .dll like library, that could be more suitable for what in intend to develop? Start with Python. --

How to register an extension DLL with python 2.5?

2008-07-18 Thread Boaz Feldbaum
Hello all, I wrote an extension dll in C++ using VS2005 to be used in windows platform. In pyhon 2.4 I used to copy my dll to the dlls sub-directory of python installation and import my dll and it worked fine. This doesn't work with python 2.5. I get the following when trying to import my dll:

Re: How to register an extension DLL with python 2.5?

2008-07-18 Thread Boaz Feldbaum
OK, found it! I just had to give my dll a new file extension: PYD, that is rename it from foo.dll to foo.pyd Boaz Feldbaum [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I wrote an extension dll in C++ using VS2005 to be used in windows platform. In pyhon 2.4 I used

Re: Need help calling a proprietary C DLL from Python

2008-03-26 Thread Craig
On Mar 26, 12:24 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Tue, 25 Mar 2008 08:24:13 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: 41 0 0 0 7 0 0 0 Which makes sense for two reasons: 1. It would only return the non-space-filled part of the

Re: Need help calling a proprietary C DLL from Python

2008-03-25 Thread Craig
On Mar 25, 2:02 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Mon, 24 Mar 2008 15:21:11 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: And this is what I got: VmxGet test - looking for valid record... Before -PriKey = 0x0044F56C,SecKey =

Re: Need help calling a proprietary C DLL from Python

2008-03-24 Thread Craig
On Mar 23, 7:59 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: This dll was designed to be used from either C or Visual Basic 6. I have the declare statements for VB6, if that

Re: Need help calling a proprietary C DLL from Python

2008-03-24 Thread Craig
On Mar 24, 12:27 pm, Craig [EMAIL PROTECTED] wrote: On Mar 23, 7:59 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: This dll was designed to be used from either C or Visual

Re: Need help calling a proprietary C DLL from Python

2008-03-24 Thread Craig
On Mar 24, 3:45 pm, Craig [EMAIL PROTECTED] wrote: On Mar 24, 12:27 pm, Craig [EMAIL PROTECTED] wrote: On Mar 23, 7:59 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sun, 23 Mar 2008 14:24:52 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python:

Re: Need help calling a proprietary C DLL from Python

2008-03-23 Thread Craig
On Mar 23, 4:48 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sat, 22 Mar 2008 19:05:31 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: I got back exactly what I expected for TypeDef, but SecKey and PriKey were what I initialized them to , not what

Re: Need help calling a proprietary C DLL from Python

2008-03-22 Thread Craig
On Mar 21, 4:04 am, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Thu, 20 Mar 2008 16:50:18 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: I received a direct email from someone, and I came up with the following after implementing his advice:

Re: Need help calling a proprietary C DLL from Python

2008-03-22 Thread Craig
On Mar 22, 3:13 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008 23:21:48 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: Sorry, I wasn't trying to exclude any credit from Dennis, I just wasn't sure if he wanted to be listed. As

Re: Need help calling a proprietary C DLL from Python

2008-03-22 Thread Craig
On Mar 22, 9:40 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote: On Sat, 22 Mar 2008 15:12:47 -0700 (PDT), Craig [EMAIL PROTECTED] declaimed the following in comp.lang.python: Anyway, I have the following for types: LPBSTR = POINTER(c_void_p) HANDLE = POINTER(POINTER(c_long)) LPHANDLE

Need help calling a proprietary C DLL from Python

2008-03-20 Thread Craig
I use a proprietary dll from Software Source (vbis5032.dll). I have successfully used it from Visual Basic 6, Fujitsu Cobol and from Perl. I would now like to use it from Python. The following is the C++ prototype for one of the functions: short FAR PASCAL VmxOpen(BSTR*Filespec,

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread sturlamolden
On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The culprit i here: Before - X = 0, CacheSize = 0, OpenMode = 3, vHandle = 0 This binds these names to Python ints, but byref expects C types. Also observe that CacheSize and OpenMode should be c_short. --

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread Craig
On Mar 20, 2:29 pm, sturlamolden [EMAIL PROTECTED] wrote: On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The culprit i here: Before - X = 0, CacheSize = 0, OpenMode = 3, vHandle = 0 This binds these names to Python ints, but byref expects C types. Also observe that CacheSize and

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread Craig
On Mar 20, 2:38 pm, Craig [EMAIL PROTECTED] wrote: On Mar 20, 2:29 pm, sturlamolden [EMAIL PROTECTED] wrote: On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The culprit i here: Before - X = 0, CacheSize = 0, OpenMode = 3, vHandle = 0 This binds these names to Python ints, but byref

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread Chris Mellon
On Thu, Mar 20, 2008 at 3:42 PM, Craig [EMAIL PROTECTED] wrote: On Mar 20, 2:38 pm, Craig [EMAIL PROTECTED] wrote: On Mar 20, 2:29 pm, sturlamolden [EMAIL PROTECTED] wrote: On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The culprit i here: Before - X = 0, CacheSize =

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread Craig
On Mar 20, 4:55 pm, Chris Mellon [EMAIL PROTECTED] wrote: On Thu, Mar 20, 2008 at 3:42 PM, Craig [EMAIL PROTECTED] wrote: On Mar 20, 2:38 pm, Craig [EMAIL PROTECTED] wrote: On Mar 20, 2:29 pm, sturlamolden [EMAIL PROTECTED] wrote: On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote:

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread sturlamolden
On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The following is the C++ prototype for one of the functions: short FAR PASCAL VmxOpen(BSTR*Filespec, LPSHORT lpLocatorSize, LPSHORT lpOmode, LPHANDLE lphwmcb,

Re: Need help calling a proprietary C DLL from Python

2008-03-20 Thread Craig
On Mar 20, 6:26 pm, sturlamolden [EMAIL PROTECTED] wrote: On 20 Mar, 19:09, Craig [EMAIL PROTECTED] wrote: The following is the C++ prototype for one of the functions: short FAR PASCAL VmxOpen(BSTR*Filespec, LPSHORT lpLocatorSize,

Re: Is there a way to use .NET DLL from Python

2008-02-15 Thread Luis M. González
On Feb 14, 6:26 pm, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 13, 6:58 pm, Luis M. González [EMAIL PROTECTED] wrote: On 13 feb, 00:26, Dino Viehland [EMAIL PROTECTED] wrote: Oh, I know what you mean. But that was exactly the reason for having a .DLLs folder, isn't it? When you

Re: Is there a way to use .NET DLL from Python

2008-02-14 Thread Fuzzyman
On Feb 13, 6:58 pm, Luis M. González [EMAIL PROTECTED] wrote: On 13 feb, 00:26, Dino Viehland [EMAIL PROTECTED] wrote: Oh, I know what you mean. But that was exactly the reason for having a .DLLs folder, isn't it? When you place an assembly into this folder, you avoid having to write

Re: Is there a way to use .NET DLL from Python

2008-02-13 Thread Luis M. González
On 13 feb, 00:26, Dino Viehland [EMAIL PROTECTED] wrote: Oh, I know what you mean. But that was exactly the reason for having a .DLLs folder, isn't it? When you place an assembly into this folder, you avoid having to write this boilerplate code, and simply import the assembly as you would

RE: Is there a way to use .NET DLL from Python

2008-02-12 Thread Dino Viehland
Oh, I know what you mean. But that was exactly the reason for having a .DLLs folder, isn't it? When you place an assembly into this folder, you avoid having to write this boilerplate code, and simply import the assembly as you would with a normal python module. At least, that´s how it worked

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
Luis M. González wrote: On 6 feb, 21:17, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 6, 9:59 pm, Luis M. Gonz�lez [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Christian Heimes
Huayang Xia wrote: What's the difference between .NET DLL and normal C DLL? Do you mean after clr.AddReference('ClassLibrary1'), there is no need to import ClassLibrary1? A normal DLL and an assembly DLL share only the header. The rest is totally different. You can see the DLL as a container

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
On Feb 7, 2:35 pm, Luis M. González [EMAIL PROTECTED] wrote: On 7 feb, 05:52, Fuzzyman [EMAIL PROTECTED] wrote: Luis M. González wrote: On 6 feb, 21:17, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 6, 9:59 pm, Luis M. Gonz�lez [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Huayang Xia
What's the difference between .NET DLL and normal C DLL? Do you mean after clr.AddReference('ClassLibrary1'), there is no need to import ClassLibrary1? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Christian Heimes
Luis M. González wrote: Oh, I know what you mean. But that was exactly the reason for having a .DLLs folder, isn't it? When you place an assembly into this folder, you avoid having to write this boilerplate code, and simply import the assembly as you would with a normal python module. At

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Huayang Xia
On Feb 7, 3:30 pm, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 7, 2:35 pm, Luis M. González [EMAIL PROTECTED] wrote: On 7 feb, 05:52, Fuzzyman [EMAIL PROTECTED] wrote: Luis M. González wrote: On 6 feb, 21:17, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 6, 9:59 pm, Luis M. Gonz�lez

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Luis M. González
On 7 feb, 05:52, Fuzzyman [EMAIL PROTECTED] wrote: Luis M. González wrote: On 6 feb, 21:17, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 6, 9:59 pm, Luis M. Gonz�lez [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET

Re: Is there a way to use .NET DLL from Python

2008-02-07 Thread Fuzzyman
On Feb 7, 9:38 pm, Huayang Xia [EMAIL PROTECTED] wrote: On Feb 7, 3:30 pm, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 7, 2:35 pm, Luis M. González [EMAIL PROTECTED] wrote: On 7 feb, 05:52, Fuzzyman [EMAIL PROTECTED] wrote: Luis M. González wrote: On 6 feb, 21:17, Fuzzyman [EMAIL

Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Shane Geiger
The following links *may* put you on the right path: Calling DLL functions from Python ( http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146847 ), a fairly complete description with some helper class code. Another example ( http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/181063

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Luis M. González
On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang I used to put my .dll files into the .DLL folder, so I could simply import them as I

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
On Feb 6, 4:59 pm, Luis M. González [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang I used to put my

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Huayang Xia
Or maybe we can do it in IronPython? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Gabriel Genellina
Huayang Xia wrote: I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. En Wed, 06 Feb 2008 19:37:02 -0200, Shane Geiger [EMAIL PROTECTED] escribió: Calling DLL functions from Python (http://aspn.activestate.com/ASPN

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Christian Heimes
Huayang Xia wrote: Is there anyway to import class (to generate objects) from .NET DLL? You can use PythonDotNET if you want to access .NET assemblies in CPython (the standard Python implementation written in C). Christian -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Fuzzyman
On Feb 6, 9:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang To access .NET types you either need to use IronPython or Python.NET. .NET assemblies are

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Fuzzyman
On Feb 6, 9:59 pm, Luis M. González [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python instead of from C#. Thanks, Huayang I used to put my

Re: Is there a way to use .NET DLL from Python

2008-02-06 Thread Luis M. González
On 6 feb, 21:17, Fuzzyman [EMAIL PROTECTED] wrote: On Feb 6, 9:59 pm, Luis M. González [EMAIL PROTECTED] wrote: On Feb 6, 6:27 pm, Huayang Xia [EMAIL PROTECTED] wrote: Hello All, I have several .NET DLL (I have no source code for them), is there anyway to use them from python

Re: Accessing Visuall C++ DLL with Python

2007-12-26 Thread Gabriel Genellina
a programmer especially when it comes to Windows. The manufacturor supplies xxx.h, xxx.lib and xxx.dll generated using Microsoft Visual C++. Are all DLLs made equal? Does the manufacturor need to generate a specific dll for Python? In principle, if you can access the device from a C program

Accessing Visuall C++ DLL with Python

2007-12-20 Thread Murray, John
, xxx.lib and xxx.dll generated using Microsoft Visual C++. Are all DLLs made equal? Does the manufacturor need to generate a specific dll for Python? Thanks, John -- http://mail.python.org/mailman/listinfo/python-list

Linking debug C++ DLL with python dlls

2007-11-08 Thread moshehaim1
Hi, I am working with C++ code that needs to be maintained both in debug and release versions. The environment is Windows 32 bit with MSVC8. I downloaded the python installation for Win32 and installed it. When, however, I tried to compile my DLLs in debug mode i got link errors specifying that

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread brzrkr0
On Nov 8, 4:07 am, [EMAIL PROTECTED] wrote: I tried to change the code above (just for fun) so in both cases i'll use python25.lib and in debug compilation I got linker errors on unresolved externals. seems like the debug version exports more methods than the release version. I usually just

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread Mathieu Gontier
Hello, I often build Python on Windows. What I can say is it not so trivial to build debug libraries for Python: each debug library must have the postfix *_d.dll/.pyd. Another useful information. On Windows, a shared library is linked to our application though a associated file with the .lib

Re: Linking debug C++ DLL with python dlls

2007-11-08 Thread Martin v. Lo
So I decided to download and build the debug version of python2.5.1/ As it seems I also need to compile all relevant extension modules (*.pyd) in debug as well - is this correct? That's correct. I tried to change the code above (just for fun) so in both cases i'll use python25.lib and in

can't load a dll in python 2.5

2007-02-16 Thread dwmaillist
Hello, I am on WindowsXP. I have a dll that I can load in python 2.3 but when trying to load it into python 2.5 it complains that there is nothing by that name. Is there some aspect of the dll loading mechanism between python 2.3 and 2.5 that has changed preventing me from loading the dll in

Re: can't load a dll in python 2.5

2007-02-16 Thread Steven Bethard
loading the dll in 2.5? Thanks in advance for your suggestions. Don't know if this is your problem, but as of Python 2.5, .dll is no longer supported as a filename extension for extension modules. .pyd is now the only filename extension that will be searched for. (That's the last line on http

  1   2   >