.net - regasm just doesn't work -


for every example of registering .net com objects in web, see tool "regasm" doing job. so!!!
never worked me! tired of trying overcome it! solution regsvr32, requires function define in c++.
please tell me why wouldn't work!!!

considering doesn't work on 4 of computers, plus 3 virtual machines, running windows 7 down 2000, can show me working example of regasm call? think idiot.

registering [comvisible] .net assemblies regsvr32.exe not possible. doesn't have required dllregisterserver entrypoint regsvr32 needs. have make work regasm.exe or setup project. latter necessary when deploy server machine.

there few failure modes. other than:

  • forgetting use /codebase option. required if don't deploy assembly gac, should not on dev machine.

  • using wrong version of regasm.exe. there 2 on 64-bit machine, framework64 directory contains 1 have use if client code 64-bit.

  • running command prompt not elevated. regasm.exe writes hklm hive of registry, uac actively prevents. that's issue on vista , win7.

just getting assembly grossly wrong of course possible too. not making 1 or more interfaces and/or classes [comvisible].


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -