本文介绍了如何检查OleInitialize是否已被调用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想写一个Delphi函数来注册一个dll。我希望该函数检查OleInitialize是否已经被调用之前,它这样做。我想我想避免初始化两次的后果,因为我不知道他们可能是什么。我担心我的函数不能像regsvr32.exe那样处理各种各样的dll。

I want to write a Delphi function to register a dll. I want the function to check if OleInitialize has already been called before it does so. I guess I'm trying to avoid the consequences of initializing twice because I'm not sure what they might be. I'm worried that my function won't handle as wide a variety of dlls as regsvr32.exe.

推荐答案

...

这篇关于如何检查OleInitialize是否已被调用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 13:33