[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Cannasse <warplayer@f...> |
| Subject: | Re: [Caml-list] OCaml on Windows please advise |
> I'd like to do GUI and other interfaces with one of the Windows RAD > tools (e.g. Delphi) that is well-developed for such things and do > back-end algorithms in OCaml. For this to work the Windows way, > the OCaml should probably be packaged as a COM server or DLL. Is > anyone doing this with good success? Any details on how would be > welcome. You should perhaps consider packaging your Delphi GUI into a DLL with exported function and then have the OCaml Runtime be your startup. It seems easier because of the following : - if you want an ocaml interpreter, you have to link your Delphi with the ocamlrun.lib file, which is a MSVC one so not compatible with Borland compiler and linker : you need to rebuild it with Borland tools and nobody seems to have already done it - there was some issues in 3.05 when you wanted to have a C "custom" application running ocaml bytecode which was using a C DLL ( because the DLL was calling OCaml C API function from ocamlrun.exe, which wasn't your main interpreter ). I haven't check if this is resolved by the usage of ocamlrun.dll in 3.06 Nicolas Cannasse ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners