x86程序移植为x64程序问题

changjiangk 2012-12-19 03:04:35
我现在想把32位程序移植为64位程序。用vs2010改用x64编译全部模块已经通过,不过在运行时,调用其中一个dll的函数时,会报异常,提示找不到对应的模块。
又遇到这种情况的朋友吗 ?
...全文
229 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
imSandy 2013-05-30
  • 打赏
  • 举报
回复
就不能说下怎么弄?
changjiangk 2012-12-20
  • 打赏
  • 举报
回复
问题已经解决了 谢谢大家
赵4老师 2012-12-19
  • 打赏
  • 举报
回复
ms-help://MS.MSDNQTR.v80.chs/MS.MSDN.v80/MS.WIN32COM.v10.en/win64/win64/introducing_64_bit_windows.htm Introducing 64-bit Windows A 64-bit operating system supports far more physical memory than a 32-bit operating system. For example, most 32-bit Windows systems support a maximum of 4 gigabytes of physical memory, with up to 3 gigabytes of address space for each process, while 64-bit Windows supports up to 1 terabyte of physical memory with 8 terabytes of address space for each process. The increased physical memory includes the following benefits for applications: Each application can support more users. All or part of each application must be replicated for each user, which requires additional memory. Each application has better performance. Increased physical memory allows more applications to run simultaneously and remain completely resident in the system's main memory. This reduces or eliminates the performance penalty of swapping pages to and from disk. Each application has more memory for data storage and manipulation. Databases can store more of their data in the physical memory of the system. Data access is faster because disk reads are not necessary. Applications can manipulate large amounts of data easily and more reliably. Video composition for motion picture work requires 64-bit Windows for this reason. Modeling for scientific and financial applications benefits greatly from memory-resident data structures that are not possible on 32-bit Windows. There are also important benefits for businesses: Increased productivity. Knowledge workers can spend their time thinking and producing, rather than waiting for the software to finish its tasks. Lower cost of ownership. Each server can support larger numbers of users and applications, so your business will require fewer servers. This translates directly into less management overhead—one of the highest costs in any computing environment. New application opportunities. New applications can be designed without the barriers imposed by 32-bit Windows. New graphics applications will make work easier and more enjoyable. Data-intensive tasks that are impossible today can be done with 64-bit Windows. For more information, see the following topics: Getting Ready for 64-bit Windows Designing 64-bit Compatible Interfaces Running 32-bit Applications Migration Tips
changjiangk 2012-12-19
  • 打赏
  • 举报
回复
引用 1 楼 liulcsy 的回复:
引用 楼主 changjiangk 的回复: 我现在想把32位程序移植为64位程序。用vs2010改用x64编译全部模块已经通过,不过在运行时,调用其中一个dll的函数时,会报异常,提示找不到对应的模块。 又遇到这种情况的朋友吗 ? 重新再生成一下就可以了
重新生成哪个模块?? 被调用的吗?
科比布莱恩特 2012-12-19
  • 打赏
  • 举报
回复
引用 楼主 changjiangk 的回复:
我现在想把32位程序移植为64位程序。用vs2010改用x64编译全部模块已经通过,不过在运行时,调用其中一个dll的函数时,会报异常,提示找不到对应的模块。 又遇到这种情况的朋友吗 ?
重新再生成一下就可以了

64,675

社区成员

发帖
与我相关
我的任务
社区描述
C++ 语言相关问题讨论,技术干货分享,前沿动态等
c++ 技术论坛(原bbs)
社区管理员
  • C++ 语言社区
  • encoderlee
  • paschen
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
  1. 请不要发布与C++技术无关的贴子
  2. 请不要发布与技术无关的招聘、广告的帖子
  3. 请尽可能的描述清楚你的问题,如果涉及到代码请尽可能的格式化一下

试试用AI创作助手写篇文章吧