Thank you for explaining how to use iceboxnet with .NET 4.0 .dll's.
However, I can't seem to find the x32 version of "iceboxnet.exe".
Here is the output from corflags in the x32 folder:
Code:
C:\Program Files (x86)\ZeroC\Ice-3.4.1\bin>corflags iceboxnet.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
Version : v2.0.50727
CLR Header: 2.5
PE : PE32
CorFlags : 1
ILONLY : 1
32BIT : 0
Signed : 0
As you can see, its a 64-bit build.
Here is the output from corflags in the x64 folder:
Code:
C:\Program Files (x86)\ZeroC\Ice-3.4.1\bin\x64>corflags iceboxnet.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.
corflags : error CF002 : Could not open file for reading
As you can see, there is no file in the x64 folder.
So, to fix this problem, you need to:
1. Shift the x64 build of "iceboxnet.exe" from the x32 folder into the x64 folder.
2. Create a x32 build of "iceboxnet.exe" and put it into the x32 folder.
As an aside, I think you should display some meaningful error when the user attempts to load a .NET 4.0 .dll into "iceboxnet.exe". I just assumed that it was impossible, as the error message did not indicate the source of the problem, and nothing else worked except for recompiling a .NET 3.5 .dll (I also spent a lot of time trying to diagnose this problem).