|
我用了如下3种方法都不能导入系统自带的inftee.dll的例子
1.使用了pb5.0编译得到的regsvr32.exe,然后使用 regsvr32.exe inftee.dll,系统返回错误:Registration Operation failed hr = 0x800700c1
2.使用了ce4.0的REGSVRCE.EXE ,说 DllRegisterServer in inftee.dll failed,不知CE5.0有没有REGSVRCE.EXE的呢?
3.网上搜到的如下程序:
if ((NULL == usFilterPath) && (0 == wcslen(usFilterPath)))
{
return -1;
}
HINSTANCE hFilterLib;
hFilterLib = LoadLibrary(usFilterPath);
if (NULL == hFilterLib)
{
nErrorCode = GetLastError();
printf("Error == %d\n", nErrorCode);
return -2;
}
pfRegisterFun = (REGISTER_FUNC)GetProcAddress(hFilterLib, L"DllRegisterServer");
if (NULL == pfRegisterFun)
{
return -3;
}
pfRegisterFun();
bResult = FreeLibrary(hFilterLib);
if (!bResult)
{
return -4;
}
用了这段代码,graphedt还是看不到注册的filter。
请问各位,应该如何才能把filter注册进系统里,才能在graphedt里看到呢?谢谢啊!!!!ToT
|
|