do i need to create NEW delegate each time i use invoke ?
No
and if can use the same one, in case its multithread application, i need to
put it in synclock ?
No, not if all you do is call the delegate.
can i change the address of parameter after i created the delegate ?
Then you create a new delegate. You can't re-target an existing
delegate to another method.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.