boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - third party c/c++ code and compile it on win 7
相关主题
spent a lot of time try to compile boost
Python problem on 64 bit Linux
vc 2008: compilation error about header file
问高手:gsl 如何与vc2008或者 vc2005 or vc6.0接口?
Visual studio: 2008: create a macro in compiler configuration
一个C++ operator new的重载问题
程序从VC6挪到VC2008后,执行速度低了15-30%
debug的问题
没有经过构造函数???
请各位推荐学习visual c++的书
相关话题的讨论汇总
话题: win话题: c++话题: dll话题: platform话题: compile
进入Programming版参与讨论
1 (共1页)
p****r
发帖数: 165
1
we got some third party c/c++ code that we would like to rebuild on win 7.
it was developed in 2007 with VC 2008. if use VC2008 but recompile it on win
7, does it usually require significant code changes? once compiled on win 7
and generate .dll file, will the .dll file work on the old platform that it
used to run?
I suspect there is some 32-bit/ 64 bit issue here. thanks
S**I
发帖数: 15689
2
老平台是Vista的话问题不大,XP的话可能够呛。

win
7
it

【在 p****r 的大作中提到】
: we got some third party c/c++ code that we would like to rebuild on win 7.
: it was developed in 2007 with VC 2008. if use VC2008 but recompile it on win
: 7, does it usually require significant code changes? once compiled on win 7
: and generate .dll file, will the .dll file work on the old platform that it
: used to run?
: I suspect there is some 32-bit/ 64 bit issue here. thanks

p****r
发帖数: 165
3
if compile works on win 7, will the generated .dll file still work on the
old server platform? or might not? Thanks.
the .dll is called from excel vb.

【在 S**I 的大作中提到】
: 老平台是Vista的话问题不大,XP的话可能够呛。
:
: win
: 7
: it

p****r
发帖数: 165
4
in this case, is it better to use Visual Studio 10 to recompile or still use
VS 2008? which one will give long term benefit? Thanks.

【在 S**I 的大作中提到】
: 老平台是Vista的话问题不大,XP的话可能够呛。
:
: win
: 7
: it

c*****m
发帖数: 1160
5
I do have similar experience about this:
The program is running in Win 2003 x86 server. Other people in the team are
using Win Vista x86 to program. I am the first one in the team to use an x64
platform for development: w7 x64.
The program is in C++
There are 2 things I have to modify for my platform:
1, Registry operation. WoW64 thing. http://benincampus.blogspot.com/2011/10/registry-redirection-for-32-bit.html
2, One external program that was hardcoded in "C:/program files/abc", now in
my dev box it is "C:/program files(x86)/abc". So I make it as configurable,
to read this location from configuration.
My suggestion is to upgrade the "old platform". Don't ever use XP.
1 (共1页)
进入Programming版参与讨论
相关主题
请各位推荐学习visual c++的书
Help~~~
In Vista, failed to start because its side-by-side configur (转载)
exe file compild by C++ cannot be run by another computer
问个autoconf的问题
在linux 和 Unix 上做 C/C++ 有差别吗?
g++编译了不该过的C++代码
C++ IDE求推荐:windows 下的 VC 的转到 linux 下
C++, Java, & Python 在Google的使用
有偿 求 configure (Autoconf) script
相关话题的讨论汇总
话题: win话题: c++话题: dll话题: platform话题: compile