[fpc-pascal] Writing a DLL to be use in a VBA code

Marco van de Voort marcov at stack.nl
Sat Jun 6 17:16:40 CEST 2015


In our previous episode, Michael Van Canneyt said:
> > function concatenate(name: string): string; cdecl;
> > begin
> > result := 'Freepascal ' + name;
> > end;
> 
> No, IMHO you will need to use pchar everywhere.

VBA might understand WIDESTRING ?



More information about the fpc-pascal mailing list