use Inline C => Config => AUTO_WRAP => ENABLE; use Inline C => Config => LIBS => '-L"C:\Program Files\Common Files\Product\4.1\dptcpiphi.dll" -ldptcpip';