Page 1 of 1

CopyFile Bug PB5.21LTS(Solved)

Posted: Tue Dec 17, 2013 2:27 pm
by leonhardt
create some file such as 1.txt

Code: Select all

Procedure foo(p)
  CopyFile("c:\1.txt","c:\2.txt")
EndProcedure
;CopyFile("c:\1.txt","c:\2.txt") this line works,but the thread not works
CreateThread(@foo(),0)
CopyFile can not be used in thread? not mentioned in help file. :(
PB 5.21 win7 32bit

Re: CopyFile Bug PB5.21LTS

Posted: Tue Dec 17, 2013 2:33 pm
by KJ67
With a WaitThread() in there to it seems to work for me.