<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/b2b71859ff79010f7cf5fa585f7be435"
  from="matthieu.dubuget@libertysurf.fr &lt;matthieu.dubuget@l...&gt;"
  author="matthieu.dubuget@libertysurf.fr"
  date="2003-07-10T16:23:39"
  subject="[Caml-list]  Is_mixed_static_/_dynamic_linking_with_C_code_possible_?"
  prev="2003/07/4f4b5ead625652da83b1005890f3e813"
  next="2003/07/36136659631ee3fbf6d32f86f93dce70"
  prev-thread="2003/07/f75742930f259f2a644535abf083b2fb"
  next-thread="2003/07/cad674da6db4c927c1be923af2934533"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list]  Is_mixed_static_/_dynamic_linking_with_C_code_possible_?">
<msg 
  url="2003/07/b2b71859ff79010f7cf5fa585f7be435"
  from="matthieu.dubuget@libertysurf.fr &lt;matthieu.dubuget@l...&gt;"
  author="matthieu.dubuget@libertysurf.fr"
  date="2003-07-10T16:23:39"
  subject="[Caml-list]  Is_mixed_static_/_dynamic_linking_with_C_code_possible_?">
</msg>
</thread>

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

</contents>

</message>

