On 6/21/07, Ron Inbar <[EMAIL PROTECTED]> wrote:


But there's no logic, except that 32-bit processes should load 32-bit
DLLs,
and 64-bit processes should load 64-bit DLLs.  I don't see any reason why
this logic should be in my code and not in the OS or the CLR.


If only your code knows where to find the appropriate DLL then of course
it's an issue for your code.  There's no "standard place" to store "plain
old" DLLs such that the operating system or CLR can find the right DLL.

Now, if you were talking about COM DLLs, then there is a way for the OS to
deal with this -- when both a 32-bit and 64-bit DLL are registered with the
same CLSID, then the OS will load the appropriate DLL.

--
Curt Hagenlocher
[EMAIL PROTECTED]

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to