Jump to content



Photo

.NET DLL - ComVisible is False - How to inteface


  • Please log in to reply
2 replies to this topic

#1 ShawnJ007

ShawnJ007

    Seeker

  • Active Members
  • 8 posts

Posted 17 April 2012 - 05:27 PM

Hi there,
I'm trying to interface with a software program that has an API via .NET DLL. I'm used to creating programs with COM objects (ObjCreate), but i'm not able to register the .NET DLL because comvisible is set to false.

I have registered DLLs before, but this one gives the following error:

C:\Windows\Microsoft.NET\Framework\v2.0.50727\Regasm.exe wrote:
RegAsm : warning RA0000 : No registry script will be produced since there are no types to register.

Can someone help get me started with access the methods within the DLL without registering it?

Thanks





#2 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,692 posts

Posted 17 April 2012 - 05:43 PM

You can't with AutoIt. If it doesn't expose COM bindings, AutoIt doesn't have a way to interface with it.

#3 ShawnJ007

ShawnJ007

    Seeker

  • Active Members
  • 8 posts

Posted 17 April 2012 - 07:33 PM

Thanks Richard, I'll reach out to the developers to try and get a comvisible-enabled build of the DLL.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users