Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Calling entry points in C# DLL

Mar 24 2003 1:55 PM
I find endless information on how C# can call other language functions in DLL, but nothing about how another language can call C# functions. From LotusScript (essentially VB) I want to either instantiate a C# object or simply call a C# function (or preferably be able to do both). I can't find any information on that in books or on the web. I create the DLL with: csc /target:library HelloWorld.cs I declare it with: Declare Public Sub Main Lib "HelloWorld.dll" Alias "Main" () (And I've tried other entry points.) Running the LotusScript I get "External function not found". Can anyone please point me in the right direction? --David

Answers (2)