The module secman.dll may not compatible

Add-in Express™ Support Service
That's what is more important than anything else

The module secman.dll may not compatible
 
tal avis




Posts: 7
Joined: 2010-12-07
The module secman.dll may not compatible with the version of windows that you're running.

check if the module is compatible wth an x86 (32-bit) or x64 version of regsvr32


when i try to register secman.dll as admin from console.

I did that because the line

HRESULT hr = CoCreateInstance(CLSID_OutlookSecurityManager, NULL, CLSCTX_SERVER,
IID_IDispatch, (void **) (IDispatch *) &iOSM);
if (!SUCCEEDED(hr)) return -1;

return class not registered

what am i doing wrong?

i'm running windows 7 (64 bit) with outlook 2007
Posted 07 Dec, 2010 04:08:22 Top
Eugene Astafiev


Guest


Hi Tal,

How did you register the secman.dll? Could you please show me the full command line?

FYI Please use another http://www.add-in-express.com/forum/list.php?FID=11 to ask the Outlook Security Manager related questions.
Posted 07 Dec, 2010 04:55:36 Top
tal avis




Posts: 7
Joined: 2010-12-07
c:\windows\system32\regsvr32 secman.dll
Posted 07 Dec, 2010 05:06:31 Top
Eugene Astafiev


Guest


Hi Tal,

It looks like you use x64 version of the regsvr32.exe utility. Please try to use the following one instead:

C:\Windows\SysWOW64\regsvr32.exe secman.dll

Does it help?
Posted 07 Dec, 2010 06:02:52 Top
tal avis




Posts: 7
Joined: 2010-12-07
No. the error still happens
Posted 07 Dec, 2010 06:12:21 Top
Eugene Astafiev


Guest


Tal,

A wild thought: Do you develop an x64 based application?
Posted 07 Dec, 2010 06:15:37 Top
tal avis




Posts: 7
Joined: 2010-12-07
No x32 based application


but this has no connectionton the regsvr32 action

regsvr32 should work no matter what i am developping on.
Posted 07 Dec, 2010 06:19:32 Top
Eugene Astafiev


Guest


Tal,

What edition of the Outlook Security Manager component do you use?
Is it ActiveX? If so, please note that you need to register the osmax.ocx file on the target PC too. You can read more about that in the http://www.add-in-express.com/creating-addins-blog/2010/05/05/outlook2010-security-manager-deployment/ article on our technical blog.
Posted 07 Dec, 2010 08:10:46 Top
tal avis




Posts: 7
Joined: 2010-12-07
I have downloaded the edition of ActiveX.

We bought a license of software and since i use it from c++ App I use the edition of the Outlook Security Manager component - ActiveX component

I registered the osmax.ocx with regvr32 and everything went well.

I then tried to register the secman.dll and got the error I reported.

My machine is windows 7 64 bit.

My understanding until now is :
according to the error i received your secman.dll only can run on 32 bit platforms and cannot be registered under windows 7.
Posted 09 Dec, 2010 01:21:09 Top
Eugene Astafiev


Guest


Hi Tal,

Bitness of the Outlook Security Manager component you use depends on the Outlook bitness (not OS).

Please have a look at the http://www.add-in-express.com/creating-addins-blog/2010/05/06/outlook-deployment-bitness-regsvr32/ article on our technical blog. Also you may be interested in the http://www.add-in-express.com/creating-addins-blog/2010/05/10/deployment-standalone-applications/ article.
Posted 09 Dec, 2010 04:47:49 Top