But I’m now doing some things in Clarion11.
I’ve created a DLL with Clarion11 which is compiled as a DLL with the “lib” setting.
So this DLL is a standalone DLL which does not use the Clarion runtime DLL’s.
The problem is that when I try to dynamically load the C11 DLL inside my Clarion8 app I get the following message:
This message looks like it would be a warning because it says “can work incorrectly”.
But the problem is that after clicking OK the dynamic loading of the DLL fails.
Is there any compiler setting I can use in the C11 DLL to avoid the RTL version check?
Clarion allows to use several instances of the RTL (for example, CLARUN.DLL and CLARUNL.LIB linked locally to some executable) in one process but all these instances must be of compatible versions. This is because some data must be shared between all RTL instances. An example of such data is the per-thread string stack. There are about 30 data objects/structures which must be shared.
RTLs in C8 and C11 are not compatible.