Generally in the windows API if there's an A at the end of the method
name change it to a W or append ;ansi to an alias.
eg;
function boolean GetUserNameW(ref string lpBuffer, ref ulong nSize)
library "ADVAPI32.DLL"
But really you should download the latest version of the pfc framework
to include other enhancements and bugfixes that have been made.
I guess the two things I'm wondering about are: why does the migration
add the ;ANSI directive, and why does that directive cause it to not
work?
Because the unicode platform class was not used in an ansi version of
PB. And the migrate process adds ansi to all external functions with
string parameters.
> string parameters.- Hide quoted text -
>
> - Show quoted text -