Jens,

quote:

BTW, the COM-object where I need this is MSWinsock.Winsock(), which I tried to use to do a Wake-On-LAN. However, MAC addresses do contain CHR(0), thus currently a no-go for KiXtart-COM

Do you have any example code written in VBS or JS that uses this COM component, and that manages to pass a string with null chars ?

Richard,

Yeah, if one was to build a COM wrapper for this, would probably just suggest wrapping this in an array and pass binary data like this:

$Object.Address = 0,3,23,0,44,255,0 ...

-Shawn

[ 18. August 2003, 14:23: Message edited by: Shawn ]