Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Is_mixed_static_/_dynamic_linking_with_C_code_possible_?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: matthieu.dubuget@libertysurf.fr <matthieu.dubuget@l...>
Subject: [Caml-list] Is_mixed_static_/_dynamic_linking_with_C_code_possible_?
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