开发者

Cant load interop.PRNADMINLib in c# on Windows 7 64 bit

Hi have a project that uses the functions in prnadmin.dll, in order to the use them I reference the interop.PRNADMINLib.dll It all works fine on 32 bit but I get the following error on 64 bit:

Could not load file or assembley 'Interop.PRNADMI开发者_如何学GoNLib, version=1.........

I have registered the prnadmin.dll on the 64 bit system using regsvr from the SysWOW64 folder.

Is this ever going to work? If so how?

Thanks


Make sure your project specifically targets the 32 bit environment, don't use the "any" configuration. See if that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜