472,961 Members | 2,727 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Can somebody help compiling 'mssqldb.pyd' for Python24 [win]?

I need to access a MSSQL database (MS-Sql, not MySQL!)and would very
much like to use mssql-0.09.tar.gz which is available from


Unfortunately the binary for Python-2.4 isn't available yet and I'd
hate to step back to a previous version.

I'm glad I managed to set up my XP machine to being able to compile
extensions using the VC++ toolkit which freely availbale from MS. See
my posting "Step by step: Compiling extensions with MS Visual C++
Toolkit 2003" in this group.

The problem is that compiling stops with an error in this case.

Two additional header files are needed: sqlfront.h and sqldb.h. They
can be downloaded as file 'Ptk_I386.exe' here:


The problem I have in compiling is:

c:\Python24-extra-modules\MSSQL-0.09\sqlfront.h(312) : error C2373:
'LPCBYTE' : redefinition; different type modifiers

c:\Programme\Microsoft Platform SDK for Windows XP
SP2\Include\WinSCard.h(43) : see declaration of 'LPCBYTE'

error: command '"c:\programme\Microsoft Visual C++ Toolkit
2003\bin\cl.exe"' failed with exit status 2

Currently I'm not C-Guru enough to find out what's wrong. I'm hoping
somebody else succeeds in compiling and can provide compiled module.

I think the object-craft.com.au staff would gladly accept the binary
as well, as they don't have the appropriate environment right now.

Thanks in advance

mb - Martin
Jul 18 '05 #1
0 2021

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

Similar topics

by: John J. Lee | last post by:
The subject line says it, really: I installed 2.4a2 using the MSI installer on python.org, and I appear to be missing this file: C:\Python24\DLLs\_sre.pyd As a result, Python picks up the...
by: A. B., Khalid | last post by:
Hello all. After the effort of getting most of Python 2.3.4 Final compiled in MinGW (see: http://mail.python.org/pipermail/python-list/2004-June/225967.html, and get the patch and read more...
by: Fuzzyman | last post by:
I'll post this to the image-sig as well, but the audience is a bit wider here. I've just upgraded to Python 2.4. I've installed the free microsoft optimising compiler and hacked distutils to use...
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
by: David Duerrenmatt | last post by:
Is there a way to use old pyd files (Python 1.5.2) with a newer version of Python without recompiling them? Because the source code is not available anymore, I'm wondering whether it's possible...
by: Andreas | last post by:
Extension: --------------- pyshapelib 0.3 with Python 2.4 Problem: ------------- D:\Python24\Lib\site-packages\shapelib\setup>pytest.py Traceback (most recent call last): File...
by: per9000 | last post by:
Hi python people, I am working with .NET (in C++/CLI and C#) but since I really love python I'd like to do things for .NET (or whatever) from python. Has anyone tried it? What (costless)...
by: pretoriano_2001 | last post by:
Please, confirm me one thing. According to Python documentation for Windows the objects .pyd and .dll have the same characteristics. I observed that in Python24 it does not produce errors when...
by: Andrea Gavana | last post by:
Hello NG, I'm struggling and googling around, but without big success. I am trying to build a fortran extension with F2PY, and it seems to me an impossible task. At the moment, I have the...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.