10.01.2014, 11:19, "leledumbo" <leledumbo_c...@yahoo.co.id>:
I'm writing a web app hosting several tasks in FPC, however one of the task
is calling a function residing in a .NET dll. I've made a flat C interface
for the dll (so that I can call it from FPC easily), and it works just fine
IF the dll is somehow loaded first. Currently, I use a trick to debug my web
app from Visual Studio and makes the app calls the dll function. This
automatically bootstraps the CLR and as long as there's no update on the dll
my app would stay working. However, this is of course cumbersome. I wonder
if there's any way to load the dll without such a dirty trick.
It is hard to understand from your message how exactly this works. I mean the details. I suggest you try the following: compile a .net executable which does nothing but require your .net dll assembly. Then launch this .net executable and keep the process running. Then launch your FPC application and see if it works
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal