PDA

View Full Version : SendMessage and string array



menevlster
یک شنبه 23 آبان 1389, 10:02 صبح
سلام
سیوال:پیامی که از نوع []string می باشد چگونه می توان به وسیله COPYDATASTRUCT و SendMessage ارسال کرد.
به عنوان مثال:

string[] mymessage = new string[4];
mymessage[0] = "this";
mymessage[1] = "is";
mymessage[2] = "sample";
mymessage[3] = "application";

حالا mymessage را چگونه به IntPtr می توان تبدیل کرد؟