Hi, I've sorted this finally out. It turned out there was a x64 library
called by another unmanaged library. Anyway, all looks good but
intellisense which keeps bugging me with some error:
There was a problem reading metadata from
'{BF5AC628-BB8E-4B99-8601-8CFE58405E9E}' ('The system cannot find the
file specified.'). IntelliSense may not work properly until the solution
is reloaded.
I've experimented a lot and it happens when managed C++ project with
references to unmanaged C++ is added as a reference to C# code. This is
the case each time I go for this sort of solution. Alternatively, if a
managed DLL is added as a reference (rather than a whole project), the
intellisense keeps quiet.
Any thoughts how to shut it up?
Thanks in advance,
Peter.
A 32-bit process running on Win64 should automatically load any system
DLLs from C:\WINDOWS\SysWOW64, so it shouldn't be a problem.
I've worked on project which used interop between managed and
unmanaged code (both written for the project) extensively, including
frequent callbacks between the two, and we did not have any issues
such as you describe.
Can you detail further on the nature of your managed/unmanaged calls?
Is it P/Invoke or COM interop, for starters? Are there callbacks?