<?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/10/9a4a4be0cfe7c019ae4f42aaf4c47b30"
  from="matthieu.dubuget@libertysurf.fr &lt;matthieu.dubuget@l...&gt;"
  author="matthieu.dubuget@libertysurf.fr"
  date="2003-10-02T14:16:12"
  subject="[Caml-list] Printf.sprintf_and_string_of_float"
  prev="2003/10/af98552ca0ffbadca25a0ba23600da76"
  next="2003/10/8a448c527bac9969dd490c001a558855"
  next-in-thread="2003/10/8a448c527bac9969dd490c001a558855"
  prev-thread="2003/10/af98552ca0ffbadca25a0ba23600da76"
  next-thread="2003/10/f3d9c4c952226ae84420081ffb0d0799"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Printf.sprintf_and_string_of_float">
<msg 
  url="2003/10/9a4a4be0cfe7c019ae4f42aaf4c47b30"
  from="matthieu.dubuget@libertysurf.fr &lt;matthieu.dubuget@l...&gt;"
  author="matthieu.dubuget@libertysurf.fr"
  date="2003-10-02T14:16:12"
  subject="[Caml-list] Printf.sprintf_and_string_of_float">
<msg 
  url="2003/10/8a448c527bac9969dd490c001a558855"
  from="Matthieu Dubuget &lt;matthieu.dubuget@m...&gt;"
  author="Matthieu Dubuget"
  date="2003-10-02T14:55:04"
  subject="Re: [Caml-list] Printf.sprintf and string_of_float">
</msg>
</msg>
</thread>

<contents>
Hello.

I'm still using Ocaml 3.06.

I have a C program calling Ocaml functions.
As soon as I introduce Printf.sprintf function,
for example with:

let unused_later = Printf.sprintf "string" () ;;

Everything compiles normally, but when I run the program,
I obtain a definitive :

L'instruction à "0x..." emploie l'adresse mémoire "0X...".
La mémoire ne peut être "read".

I have really no idea in which direction to investigate to
solve this problem. Any idea?

Thanks in advance

Matthieu Dubuget

********** L'ADSL A 20 EUR/MOIS********** 
Avec Tiscali, l'ADSL est à 20 EUR/mois. Vous pourrez chercher longtemps avant de trouver moins cher ! 
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>

