473,394 Members | 1,769 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,394 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

http://www.object-craft.com.au/proje.../download.html

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:

<http://support.microsoft.com/default.aspx?scid=kb;en-us;Q186893#kb2>

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 2042

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

Similar topics

2
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...
0
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...
6
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...
6
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...
3
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...
0
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...
6
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)...
1
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
0
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...

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.