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é

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to