caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list]  Is mixed static / dynamic linking with C code possible ?
@ 2003-07-10 16:23 matthieu.dubuget
  0 siblings, 0 replies; only message in thread
From: matthieu.dubuget @ 2003-07-10 16:23 UTC (permalink / raw)
  To: caml-list

Hello,

This question may be a newbie question? If this is the case,
please
excuse me.

I'm trying to call C functions (packaged in a dll) from a ocaml
bytecode program.

To do that, I wrote a little IDL file, from which camlidl
generates
mli, ml, c and h files.

The problem is at the link time: the functions I need to
link with are
not found.

Is it possible to mix static link and dynamic link witch C
code? This
is the case there since there are both an object file
generated from
the C stub and the target dll.

If this is the problem, what is the solution you would
advise me?

Salutations



********** L'ADSL A 20 EUR/MOIS**********
Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem ADSL offert ! 
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/
Offre soumise à conditions.


-------------------
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-10 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 16:23 [Caml-list] Is mixed static / dynamic linking with C code possible ? matthieu.dubuget

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).