On Wed, Jun 4, 2008 at 11:38 AM, 甜瓜 <li************ **@gmail.comwro te:
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases.
Problem arise with the C runtime, not with object file format. In
particular, python uses the C api for file handling, and the standard
C is definitely not ABI compatible within VS versions.
I strongly advise you against using VS 2005 (with the binary python;
if you build python by yourself, then no problem; I don't know if it
is possible to build python with VS 2005). You *will* get crashes in
many cases.
David 1 1179
On 6ÔÂ4ÈÕ, ÏÂÎç9ʱ47·Ö, "David Cournapeau" <courn...@gmail .comwrote:
On Wed, Jun 4, 2008 at 11:38 AM, Ìð¹Ï <littlesweetme. ..@gmail.com>wr ote:
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases.
Problem arise with the C runtime, not with object file format. In
particular, python uses the C api for file handling, and the standard
C is definitely not ABI compatible within VS versions.
I strongly advise you against using VS 2005 (with the binary python;
if you build python by yourself, then no problem; I don't know if it
is possible to build python with VS 2005). You *will* get crashes in
many cases.
David
My stupid question: if there is something between VS 2003 and VS 2005
incompatible, what
about MINGW for python2.5(VS 2003)? Is it safe, or just as (un)safe
as VS 2005? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Holger Joukl |
last post by:
Hi,
what version of python are you using?
I got the same error when invoking a customized, 2-year-old version of
distutils with
python 2.3.3 (instead of 1.5.2, as before). Reason is code in dist.py,
using dir() to
look up the attributes of a class instance. But dir() nowadays also returns
the class methods,
__doc__ etc.
Changing this in the old distutils/dist.py made it work for me, again (line
|
by: indiana |
last post by:
Thanks in advance. I have a vc6 dll that is currently called by a vc6 exe
and want to call it from a vc2005 dll. The vc6 exe using the following header
extern "C" __declspec(dllimport) int Estimate (int Task2Do,...);
Can someone please point me in the right direction for calling this function
from vc2005? Also, is it possible to expose the vc6 class and use that
directly?
|
by: adebaene |
last post by:
Hello all,
I just checked that the following did compile with VC2005 b2, and I
think it shouldn't:
template <typename T> struct A
{
typedef int Foo;
};
|
by: ClydeL |
last post by:
Compling a legacy VC6.0 program with the VC2005 compiler used mfc80 dlls. Do
these get installed with the .NET runtime or do they need to be installed
separately.
|
by: adebaene |
last post by:
Hello group,
There seems to be a bug int the interop layer in VC2005 when dealing
with certain pointer types (or values?)
Here is a repro case using Boost version 1.32 and C++/CLI :
using namespace System;
#pragma unmanaged
| |
by: Yuanfei |
last post by:
Hi There,
I just found that there is a problem in vc2005 regarding to time_t and
localtime. See code snippets belows. Using this code segment, I found that
when ut is 86200, the corresponding output is 1970.1.1 7:56:40, when ut is 0,
the output is 1970.1.1 8:00:00, when ut is 86400, the output is 1970.1.2
8:00:00. While output will be 1970 1.2 7:56:40 in VC8. Please note that I
am aware that time_t is 64bit in VC2005 and using...
|
by: kittymaguire |
last post by:
When I tried to use the IAxWinHostWindow interface in a MFC project I get the following
An assert in CComTypeInfoHolder::GetTI(LCID lcid) at
ATLASSUME(!InlineIsEqualGUID(*m_plibid, GUID_NULL) && "Did you forget to pass the LIBID to CComModule::Init?");
If I ignore this assert then I get
Unhandled exception at 0x0176cfa8 in testcontAINER.exe: 0xC0000005: Access violation reading location 0x00000000.
|
by: =?GB2312?B?zPC5zw==?= |
last post by:
Howdy,
This problem have puzzled me for a long time. I usually use
python2.5 in Windows, while VC2005 is installed.
However python25.lib is compiled by VC2003. When I use disutil to
build some C extensions, it complaints that
there is no VC2003.
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases. What
should I do to workaround this error? I mean, disable distutil
complaints and use VC2005 to...
|
by: Terry Reedy |
last post by:
"??" <littlesweetmelon@gmail.comwrote in message
news:cdb837ea0806050201l10a91b40xfa28d29de18fed30@mail.gmail.com...
| When you use distutil to trigger compilation, a special *python script*
| will check whether the default compiler is VS2003. If there is no
| VS2003, this script will pop-up the error for incompatible compilers.
| I really really wonder how to *force* distutil to use my specified
compile.
| eg: (pseudo)
| python setup.py...
|
by: Yoavo |
last post by:
Hi,
I have the following code:
class AA
{
public int Width { get; set; }
}
this compiles ok on VC2008 but fails in VC2005.
What is the reason and how can I build it ok in VC2005 ?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |