c++ - 如何在 Visual Studio 2003 中创建 64 位 native ATL C++ DLL?

标签 c++ visual-studio com atl visual-studio-2003

我有一个 32 位 ATL C++ 进程内 COM 服务器解决方案。如何将其移植到 64 位 Windows?我的意思是如何让 VC++7 发出 64 位代码?可以用 Visual Studio 2003 实现吗?

最佳答案

您需要一个 64 位编译器,它可以将 long 编译为 64 位长。 VS2005 中附带的版本可以。更高版本的 Visual C++ 和 Windows SDK 具有更高版本的编译器。 64 位支持在标准或更低版本的 Visual C++ 中被禁用,但在免费提供的 Windows SDK 中没有。其他编译器提供商(如 Intel)有自己的产品支持 Visual Studio 和 64 位。

关于c++ - 如何在 Visual Studio 2003 中创建 64 位 native ATL C++ DLL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1661410/

相关文章:

c++ - 在 C++11 中的类中的不同方法之间共享 random_number_engine

python - 调试 python Visual Studio 启动非常慢 - 加载模块

c++ - 我可以在 OpenCL 内核中嵌入 C++ 类吗?

c++ - 静态声明对象上的虚函数行为

asp.net - 错误: This assembly is built by a runtime newer than the currently loaded runtime

c# - 数据库项目部署流程

python - win32com Excel数据输入错误

c# - 自定义 C# DLL 出现 VBA 429 错误

memory-management - 内存管理

c++ - 调用 std::call_once 时出现异常