Hello, I have a brief questions regarding registering of .dll files for debugging and other matters.
I currently have a test code, test.f95 s.t:
subroutine test()
!DEC$ ATTRIBUTES DLLEXPORT :: TEST
implicit none
end subroutine test
I create a .dll file using slink:
C:\\...>slink
[SLINK/Win32 v1.44 Copyright (c) Silverfrost Ltd. 1995-2010]
* dll
* entry TEST
* lo test.obj
* exportall
* file
WARNING - Default LibMain being provided
Creating dynamic link library: C:\\test.dll
When I run regsvr32, I receive the following error: 'test.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered”
Is this the proper way to specify an entry point using slink? If not, can you assist with the syntax? I attempted to use ('entry TEST') in the subroutine as well instead of (!DEC$ ATTRIBUTES DLLEXPORT :: TEST), and received the same error as well.
Thank you very much in advance for your advice.