On Nov 17, 2007 1:25 PM, Marc Weustink <[EMAIL PROTECTED]> wrote:
> First question, why is the copying needed ?
> Why isn't    lpStrFile := PWChar(FileNameWide);
> simply enough ?
>
> IMO, you're copying way to much.

That variable is only valid on the scope of the function, and we need
something more permanent.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to