Home  |  Trial Copy   | License  |  Order  |  Contact Us   |  Sample Applications  |  Licensed Users

Withholding32  Since 1999







2012 tables are now available in the Licensed Users section. 





(c) 2012 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 2005, 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