Calling C# dll in vbscript

前端 未结 3 453
日久生厌
日久生厌 2020-12-30 15:22

I am trying to call a C# dll from QTP (uses vbscript). I have tried a number of things with no success:

  • Visual Studio 2010
  • Create C# class libary (st
3条回答
  •  臣服心动
    2020-12-30 15:39

    As Marc said, but I think it merits an answer. If you ensure that your dll will be available though the COM mechanics, your script should be able to call into it with things like CreateObject.

    How to register .NET assembly for COM interop

提交回复
热议问题