64 Bit compatible ?

Oct 13, 2010 at 3:16 PM

When come a 64bit ITapi3 Version ?

Feb 17, 2011 at 9:28 AM
Edited Feb 17, 2011 at 9:32 AM

You could download the source and compile a 64bit version on your own ;)

In order to do so, open the .vcproj in VisualStudio and add a new build target (x64). Compile the project and voila, you have a 64bit version. I had to do the same because NUnit was unable to load the test library of a project of mine, when it was compiled as "x86" instead of "Any CPU". By referencing the 64bit version, you loose compatibility with 32bit OSes. To get around that issue, I deploy both library versions and use the side-by-side assembly method, discussed here: http://stackoverflow.com/questions/108971/using-side-by-side-assemblies-to-load-the-x64-or-x32-version-of-a-dll

Just a quick sidenote on using the above mentioned technique: You need to reference one of the two generated DLLs in your project, in order to be able to compile it.
BUT: You need to edit the reference's properties and set the "Copy Local" option to "False". Otherwise the bootstrapper's AssemblyResolve delegate wont be used.

Sep 17, 2012 at 6:47 AM

Has anyone managed to compile a working 64bit version?

Compiling ends without error but when i want to add the component to my project, it states: "ITAPI3.dll is not a .net module"

Have i messed up anything in the build target config? 

Can anyone help me out on this one?





Sep 17, 2012 at 7:44 PM

1. I add a 64 target an compile it, 64 Version works... thx @HomeSen

2. Register Assembly Resolve event

I have only a problem to make a sign Assembly (Visual Studio Bug in c++)


Sep 18, 2012 at 6:34 AM

Hi omei
Thats strange. I tried the same, with vs2008 and vs2010 but no luck.
Could you send me your zipped 64bit itapi3 Project Directory and the compiled dll? 
That would be very kind :-)
My address is han_swurst@hotmail.com


Sep 18, 2012 at 9:18 AM
Edited Sep 18, 2012 at 9:20 AM

Hi Chris,

here is the complete modified iTapi3.vcproj: http://pastebin.com/Tyw0x1c7 and a diff with the original file: http://pastebin.com/3VKcPQMK

Hope that helps.