[fpc-pascal] EOLESysError calling CreateOLEObject
Marco van de Voort
marcov at stack.nl
Tue Jul 22 14:58:00 CEST 2008
> I created a very simple program to create a shortcut in the desktop,
> but it crashes with EOLESysError (nothing else in the error message).
> I tryed to google, but it didn't show much. Am I missing some kind of
> initialization call that should be made? thanks, here is the full
> program.
I'm no com wizard, BUT
Try coinitialize(nil); (and couninitialize;) from unit activex.
More information about the fpc-pascal
mailing list