Windows Server Core is windows server running with the “Desktop Experience”. This means there is no desktop, no file exporter, etc. Basically, you manipulate the server from a command prompt and powershell.
You can run a program with a UI like notepad and it works fine, so it doesn’t really mean no GUI. It means no built-in Windows GUI.
I wanted to run a nettalk server as a service on this type of Windows Server installation.
I found the program never launches, either from the command line as a non-service or running as a service.
I did some experimenting and this is what I found.
I have an old utility written in Clarion 5.5. This utility runs OK.
I wrote the following little program.
PROGRAM MAP MODULE('Winapi') OutputDebugString(*CSTRING),PASCAL,RAW,NAME('OutputDebugStringA') END TestWindow procedure() END TestString cstring('Hello world') CODE OutputDebugString(TestString) TestWindow() TestWindow procedure() MyWin WINDOW,AT(,,225,118) STRING('Hello word'),AT(43,39),USE(?STRING1) END code open(MyWin) accept end close(MyWin)
This program works when compiled in LIB mode but fails when compiled in DLL mode. This is true even if I drop the TestWindow procedure so there is no window in the program at all. In that case I see the “hello world” message in debug view only when the program is compiled in LIB mode.
My conclusion at this point is there is some dependency in the Clarion runtime that does not exist in the Server Core installation.
Has anyone been able to get their Clarion 10/11 program to run under Server Core?