Felipe Monteiro de Carvalho wrote:
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.

I need to review the code in that area, imo it is not needed.
anyway when is the allocateed memory freed ?


Marc



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to