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. |