I have a web agent in forms6.nsf. When I try to call a function from a dll in this agent, I get the error “Error in loading DLL". I have the dll both in Windows system directory and Domino directory. I tried putting the dll in Domino/Data/iNotes directory, I tried specifying the full path in Declare statement but nothing helps. Any idea? Here is the Declare statement.
Declare Function TestInitialize Lib "c:\winnt\system32\test.dll" Alias "TestInitialize" ( Byval val1 As String, Byval val2 As Integer, Byval val3 As Integer, Byval val4 As Integer ) As Integer