Section 7.1 Definition in Chapter 7 Interfaces of the FreePascal Language 
Reference says

"Instances of interfaces cannot be created directly: instead, an instance of a class implementing the interface must be created."

However, I assume that FreePascal classes (inheriting from interfaces) are (unlike C++ classes) not binary compatible (on Win32) with interfaces ? In other words, when I need to pass an instance of an interface to Win32 COM, I have to call CoCreateInstance ?

Regards,

Adriaan van Os

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to