From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA13012; Thu, 10 Jul 2003 18:23:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA27202 for ; Thu, 10 Jul 2003 18:23:38 +0200 (MET DST) Received: from mail.libertysurf.net (mail.libertysurf.net [213.36.80.91]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h6AGNbT29804 for ; Thu, 10 Jul 2003 18:23:37 +0200 (MET DST) Received: from tiscali.fr (192.168.10.8) by mail.libertysurf.net (6.5.026) id 3F07E6DC000EA08D for caml-list@inria.fr; Thu, 10 Jul 2003 18:23:37 +0200 Date: Thu, 10 Jul 2003 18:23:37 +0200 Message-Id: Subject: [Caml-list] =?iso-8859-1?Q?Is_mixed_static_/_dynamic_linking_with_C_code_possible_=3F?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?matthieu.dubuget@libertysurf.fr?=" To: "=?iso-8859-1?Q?caml-list?=" X-XaM3-API-Version: 3.2 R30 (B58 pl3) X-type: 0 X-SenderIP: 81.48.193.30 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; matthieu:01 dubuget:01 newbie:01 mli:01 stub:01 tiscali:99 cher:99 adsl:99 offert:99 cliquez:99 idl:01 ocaml:01 camlidl:01 bytecode:01 linking:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello,=0D=0A=0D=0AThis question may be a newbie question? If this is the = case,=0D=0Aplease=0D=0Aexcuse me.=0D=0A=0D=0AI'm trying to call C functio= ns (packaged in a dll) from a ocaml=0D=0Abytecode program.=0D=0A=0D=0ATo = do that, I wrote a little IDL file, from which camlidl=0D=0Agenerates=0D=0A= mli, ml, c and h files.=0D=0A=0D=0AThe problem is at the link time: the f= unctions I need to=0D=0Alink with are=0D=0Anot found.=0D=0A=0D=0AIs it po= ssible to mix static link and dynamic link witch C=0D=0Acode? This=0D=0Ai= s the case there since there are both an object file=0D=0Agenerated from=0D= =0Athe C stub and the target dll.=0D=0A=0D=0AIf this is the problem, what= is the solution you would=0D=0Aadvise me?=0D=0A=0D=0ASalutations=0D=0A=0D= =0A=0A=0A********** L'ADSL A 20 EUR/MOIS**********=0ATiscali propose l'AD= SL le moins cher du march=E9 : 20 EUR/mois et le modem ADSL offert ! =0AP= our profiter de cette offre exceptionnelle, cliquez ici : http://register= .tiscali.fr/adsl/=0AOffre soumise =E0 conditions.=0A ------------------- 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