[fpc-pascal] TAP-Win32

José Mejuto joshyfun at gmail.com
Fri May 14 01:00:46 CEST 2010


Hello FPC-Pascal,

Friday, May 14, 2010, 12:14:31 AM, you wrote:

JAGdFJ> This is the C# example i found :
JAGdFJ> http://www.varsanofiev.com/inside/TunTest.cs

Also this line is wrong IMHO:

TAP_Device = '\\\\.\\Global\\{44F7688F-77FA-43DC-8D8F-9CBA23E01BB0}.tap';

it should be:

TAP_Device = '\\.\Global\{44F7688F-77FA-43DC-8D8F-9CBA23E01BB0}.tap';

Pascal does not need the slash escape sequence.

-- 
Best regards,
 José




More information about the fpc-pascal mailing list