Per suggestions from Friedrich I believe my problems in calling a dll from
my SB script is because the called function is not being exported correctly
by the dll.

In the dlls .exp file I have this:

LIBRARY 'CPINSTALLREG' GUI
EXPORTS
a whole bunch of other stuff then
;start of exported procedures
AUTOREGISTER@FRsclsb

Using SBDLL.EXP as an example, per Friedrich's email, the exported function
should be something like this:

AUTOREGISTER @1

How do I override the .exp file created by Clarion 8.0.9661 and use my own
..exp file ? I tried to add MyOwn.exp to the solution's external resource
files but I get a compile error:

AUTOREGISTER is unresolved for export.

This is a new area for me so please pardon my ignorance - I have never
created a DLL that is to be called by something other than a Clarion
generated .exe or dll.

regards,

Chuck