473,435 Members | 1,653 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,435 software developers and data experts.

Calling dlls with Calldll/WinDll or Ctypes or...

Hello all,

Pardon my ignorance here. I would like to talk to someone that has
had success in calling ddls in Windows NT/2000/XP.

I am wondering where to dload any of these packages? Google searches
keep turning up articles similar to this.

Any pointers would be greatly appreciated!

Todd
Jul 18 '05 #1
2 2338
Todd Gardner wrote:
Pardon my ignorance here. I would like to talk to someone that has
had success in calling ddls in Windows NT/2000/XP.

I am wondering where to dload any of these packages? Google searches
keep turning up articles similar to this.


similar to what?

google for ctypes and press "I feel lucky":

http://starship.python.net/crew/theller/ctypes/
which has a "downloads" section a bit down.

calldll is a bit harder; you have to add "python" to the search string
to make "I feel lucky" work:

http://www.nightmare.com/software.html

both distributions comes with enough demos and samples to get you
going. for details on available Win32 functions, see:

http://msdn.microsoft.com

</F>


Jul 18 '05 #2
Todd,

I write this and have used it with many different .DLLs
over the last 18 months. Good luck.

http://aspn.activestate.com/ASPN/Coo.../Recipe/146847

The trick it getting the arguments into/from the correct
format for the .DLL. I've made extensive use of struct
to accomplish that. If you want to give it a try, I'd
be happy to assist you as much as I can.

Larry
"Todd Gardner" <pi**@earthlink.net> wrote in message
news:9b**************************@posting.google.c om...
Hello all,

Pardon my ignorance here. I would like to talk to someone that has
had success in calling ddls in Windows NT/2000/XP.

I am wondering where to dload any of these packages? Google searches
keep turning up articles similar to this.

Any pointers would be greatly appreciated!

Todd

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Georgy Pruss | last post by:
Hi all, How can I call a function which is in a Windows DLL? For example, import win32api lib_hnd = win32api.LoadLibrary( "user32.dll" ) if lib_hnd: fn_addr = win32api.GetProcAddress(...
0
by: Dave.NET | last post by:
Hi all, I have the following question and hope the .NET experts here can help me: I developed an application and created many DLLs in VC++, then I switched the platform from VS6 and compile in...
0
by: Helge | last post by:
I have a vb.net app that calls an "old" DLL that does some math (map coordinate transformations), declared with an old fasioned declare statement in my code. Sometimes, but very rarely, the call...
3
by: robspychala | last post by:
Hi Is there something similar to python's windll for calling DLLs on win32 but meant for calling dylib's on OS X? thanks, r.s.
0
by: kim d | last post by:
Hi, I'm looking to call a method of a class which is declared in a dll. I know it's not a simple case of calling dllImport because of the fact that classes are involved. Does anyone have an...
3
by: kj7ny | last post by:
Is there a good example on instantiating, calling, using, etc., an API from Python? I need to use Python to talk to another system through that system's API's on Windows XP. Can you point me...
2
by: luis | last post by:
I'm using ctypes to call a fortran dll from python. I have no problems passing integer and double arryas, but I have an error with str arrys. For example: ..... StringVector = c_char_p *...
0
by: Egor Zindy | last post by:
Egor Zindy wrote: #!/usr/bin/env python """ A generic chipid library based on ctypes This module handles most of the functions in FTChipID.dll
4
by: taghi | last post by:
I want to call NetShareEnum, a function from netapi32.dll NetShareEnum has this definition: NET_API_STATUS NetShareEnum( __in LPWSTR servername, __in DWORD level, __out LPBYTE...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.