2
Answers

Calling entry points in C# DLL

Ask a question
Administrator

Administrator

21y
2.1k
1
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)