Hi shabbir
1st thanks for ur reply 2nd could u please give me more details
what u mean by TCHAR array if u have any document about that or any usefull websites link

and how can i declare my string as TCHAR array

alsow

could u pls write the code for how to pass a string using the GetBuffer
Forgiveme i'm still learning how to program