Browsed by
Tag: pinvoke

P/Invoking Native Libraries

P/Invoking Native Libraries

You’re a VB.NET developer. You’re writing code, and you need to integrate with a machine tool, automation system, sensor, scanner, or some other bit of hardware. Lucky for you, the manufacturer provides a library. But wait… it’s not a .NET library. You can’t just “Add Reference…” the DLL. If you’ve never used P/Invoke, this is where you start.