Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 32 位 dll 文件,我需要在 windows 7 x64 上注册它们,我尝试了文件夹 c:\windows\syswow64 中存在的 regsvr.exe 文件但是,我什么也没发生,我还没有成功信息。
当我在 regedt 中搜索我的 dll 时,我没有找到它。
那么,我该如何解决。
问候,阿雅。
在 32 位 Windows 上执行此操作没有什么不同。
您运行两个 regsvr32.exe 版本中的哪一个也没有关系:如果将 64 位 DLL 传递给 32 位版本,则它足够聪明地调用 64 位版本,反之亦然。(至少在 Windows 7 上。)
如果您遇到错误或注册请求根本没有返回,那么问题可能出在 DLL 中的注册函数上(例如,由于其他一些平台差异,它陷入了长时间或无休止的操作或循环中),或 DLL 本身(例如,它的一些依赖项丢失)。
我有两个类,它们都有许多扩展它们的类(用于多个级别)。由于多态性,我只在堆上分配它们。
我想重载<<operator,这样我就可以“流”到另一个。我想A << B简化为A->setNext(B),这个函数将
<<operator
A << B
A->setNext(B)