VB.NET Declare converted to C#
I have access to VB.NET project that calls a SCAN_INIT function from a dll called ScanWrapper.dll that is attached to the project (not a reference, just added as an existing item)
This is the call:
Private Declare Sub SCAN_INIT Lib "ScanWrapper.dll" Alias "#2" (ByVal hwnd As IntPtr)
how would i do the same thing using c#?
TIA
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AdministratorRank #675 · 3.6K reputationPosted Apr 2, 2003, 11:04 PM EST
AdministratorRank #675 · 3.6K reputationPosted Apr 3, 2003, 4:04 AM EST
AdministratorRank #675 · 3.6K reputationPosted Apr 3, 2003, 7:40 AM EST
tb_anywhere29 reputationPosted Jun 30, 2004, 5:29 AM EDT