c ++:procedure注册一个dll [英] c++ : procedure register a dll
问题描述
大家好,
我想创建一个dll并在Windows中注册,所以我有两个问题。
1)注册C ++ dll的命令是什么。
2)如果我想注册,是否需要存在任何特定的方法在dll。
基本上我想知道注册dll的常数是什么?
谢谢,
从回答中移出:
大家好,
i有一个C ++ dll和ac#dll,
i无法注册,
for c#dll ,我收到错误
无法将程序集添加到缓存中:尝试安装程序集而不是
trong name
和C ++我收到的错误是,
mydll.dll已加载,但是DllRegisterServer entr找不到y点,这个文件无法注册。
嗨。
我认为只有COM dll可以注册到系统。
我猜你可能会创建一个dll作为一般动态dll。
如果你想将你的dll注册到系统,你应该创建dll Project作为ATL ComAppWizard。
Hi All,
I want to create a dll and register it in Windows, So i have two questions.
1) what is the command to register a C++ dll.
2) if i want to register are there any specific methods need to be present in the dll.
Basically i want to know what are the constariants for registering a dll ??
Thanks,
Moved from answer:
Hi All,
i have one C++ dll, and a c# dll,
i am not able to register them,
for c# dll, i am getting the error as
"Failure adding assembly to the cache: Attempt to install an assembly without a s
trong name"
and for C++ i am getting the error as,
"mydll.dll was loaded, but the DllRegisterServer entry point was not found, This file cannot be registered."
Hi.
I think only COM dll can be registered to system.
I guess you may created a dll as general dynamic dll.
If you want to register your dll to system, you should create dll Project as ATL ComAppWizard.
这篇关于c ++:procedure注册一个dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!