7.3 Interfaces and COM

When using interfaces on Windows which should be available to the COM subsystem, the calling convention should be stdcall - this is not the default Free Pascal calling convention, so it should be specied explicitly.

COM does not know properties. It only knows methods. So when specifying property denitions as part of an interface denition, be aware that the properties will only be known in the Free Pascal compiled program: other Windows programs will not be aware of the property denitions. For this reason, property denitions must always have interface methods as the read/write speciers.