Leslie
10/25/2007 2:11:00 PM
Walter,
Thanks for your help. I believe I understand the approach for the C# code,
and that should work well. Currently the C++ DLL is downloaded from the web
site as needed. Is there no way to make that approach continue to work in the
mixed 32 bit and 64 bit environments?
Thanks,
Leslie
""Walter Wang [MSFT]"" wrote:
> Hi Leslie,
>
> Based on my understanding, you should be able to compile your C# Windows
> Forms control library using targetd platform "AnyCPU". This is the also
> default platform type, assemblied compiled in this way is process
> independent. If it's executed or loaded by 32-bit os or host process, it
> will be JIT(just-in-time) compiled as 32-bit native code; and the same for
> 64-bit.
>
> For your C++ DLL, you have to compile two versions, one for 32-bit, will be
> installed to %windir%\syswow64 on 64-bit os, installed to %windir%\system32
> on 32-bit os. For 64-bit version, install to %windir%\system32.
>
> Hope this helps.
>
>
> Regards,
> Walter Wang (wawang@online.microsoft.com, remove 'online.')
> Microsoft Online Community Support
>
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>