Home  |  Trial Copy   |  Order  |  Contact Us   |  Samples  |  Licensed Users   |  WEB API!

Withholding32  Since 1999







Current Version is 2015.14.






(c) 2015 Park Square West LLC
Here is an application you can download which shows how to call a non-managed Withholding32 function from a managed c++ application.  This particular application was created under Visual Studio 2010, though the techniques used can be used with all versions of Visual Studio.

The application is a standard shell application as created by Visual Studio.  All additions in this project to call a Withholding32 function are in the file 'form1.h'.  The additions are:

At beginning of File

using namespace System::Runtime::InteropServices;

[DllImport("wh32.dll")] extern "C" double WH32_Version(void);

 

In function 'System::Void button1_Click'

double dd=WH32_Version();

System::String ^ ss=textBox1->Text;

ss= Convert::ToString(dd);

wh32version->Text=ss;

 

Download the project by clicking here