OLE is definitely a desktop function and the MS info on server core differences What is Server Core? | Microsoft Docs and DLLs Included with Server Core (Windows) | Microsoft Docs suggests the desktop experience would be a security risk.
Dependency Walker (Depends.exe) should hilight all the api dll’s a clarion app needs, but if you dont need that functionality on server core, isnt the compiler excluding the api calls?
If you do need that functionality, could you do a work around like using check boxes (if that doesnt need the OLE dll) or command line switch or configuration txt file? Alot of headless linux apps just use a config file of sorts and I get the impression MS are trying to make server core a headless gui/desktop less experience, but I’ve not messed around with it to really be able to comment on the subject other than the info that can be read online.