tags:

views:

43

answers:

1
A: 

Just remove the SetLastError = true, CharSet = CharSet.Auto, ExactSpelling = false, CallingConvention = CallingConvention.StdCall, ThrowOnUnmappableChar = true, BestFitMapping = false from GetServByName method , It should work.

cheers

Shaik Phakeer