'Any CPU' selection means different things in different versions of Visual Studio, however you can definitely make and make the app work correctly on both x86, x64, and other platforms.
The issue is not PDFNet specific any there are many solutions:
a) The simplest option is to select x86 in your project solution. With this option the app will work on both x86 and x64 sytem.
b) A bit more complicated option is that you select 'Any CPU' mode in your app. As part of the app install you would copy/install a version of PDFNet that matches the target hardware (i.e. x86, x64). This is possible because both versions have the same signature/cert.
c) Alternatively you can register both DLLs in GAC.
On Friday, October 12, 2012 11:21:13 AM UTC-7, CodeScrubber wrote:
This means I cannot create an 'Any CPU' .NET component in C# directly dependant PDFNet for .NET and have it work correctly on both 32 and 64 bit Windows?