Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread leledumbo
This seems to be the best solution, though a proprietary one. I don't think my office would like to buy, especially since the price is somewhat shocking :p -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Load-NET-dll-or-bootstrap-CLR-to-be-precise-from-FPC-tp5

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread leledumbo
COM server... I thought I've read that somewhere, I'll search again. The code to host .NET runtime seems plenty, but quite possible. I'll try to make a good use of those links. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Load-NET-dll-or-bootstrap-CLR-to-be

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread leledumbo
Seems like CLR caches each running .NET executable including dll, so when a .NET dll is loaded by .NET exe, other non-.NET application shouldn't worry about loading it. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Load-NET-dll-or-bootstrap-CLR-to-be-precise-

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread leledumbo
> For the same task, I typically create .NET executable that would use the .NET dll and call the executable from FPC code. No hacks - no worries This could be possible, maybe just with a little delay. This is the only task that uses .NET dll, the others are pure FPC. I'll consider it, good idea.

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread hinst
  10.01.2014, 11:19, "leledumbo" :I'm writing a web app hosting several tasks in FPC, however one of the taskis calling a function residing in a .NET dll. I've made a flat C interfacefor the dll (so that I can call it from FPC easily), and it works just fineIF the dll is somehow loaded first. Curre

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread Michael Van Canneyt
On Fri, 10 Jan 2014, Sven Barth wrote: Am 10.01.2014 08:19 schrieb "leledumbo" : > > 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),

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread Sven Barth
Am 10.01.2014 08:19 schrieb "leledumbo" : > > 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 someho

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread Dmitry Boyarintsev
On Fri, Jan 10, 2014 at 2:18 AM, leledumbo wrote: > 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... > For the

Re: [fpc-pascal] Load .NET dll (or bootstrap CLR to be precise) from FPC

2014-01-10 Thread Mark Morgan Lloyd
leledumbo wrote: 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