Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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@l...>
Subject: [Caml-list] Is_mixed_static_/_dynamic_linking_with_C_code_possible_?

This question may be a newbie question? If this is the case,
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
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?


********** 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 :
Offre soumise à conditions.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: