AFAIK, the use of constref for cdecl parameters is wrong in libnotify.pas.
Indeed that was the problem. So what does constref is used for ?! Thanks Ludo Constref is passing a value by its reference (as in var paramter) with the promise that the callee won't change it. In this case you want to pass the pchar and not a pointer to the pchar (ppchar). Ludo
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
