In fact, I don't know about *any* way for a Win32 application to load a .NET assembly into the same process. (Maybe someone has an idea?) I know that it's easy to call a Win32 DLL from managed code using platform invoke, but that doesn't help here - wrong direction! To load the assembly by C-evo as if it was a regular Win32 DLL does definitely not work, so a simple *port* of the C++ AI code to C# will not do. Maybe the only way to make programming a C-evo AI in C# possible will be to start a second process (within the .NET environment), which does nothing but manage the AIs implemented with .NET.
On the other hand, it's possible to build AIs in Java using a special interface (see files section). That seems to be a solution to a comparable problem, but I don't know how it works.
Steffen
Posted 18-Jan-06 08:54 by Steffen
