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] Dynlink
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Warp <warplayer@f...>
Subject: Re: [Caml-list] Dynlink
> I'm trying to dynamicly link a  .cma library which contains externals
> references to a DLL.
> I'm setting (Dynlink.allow_unsafe_modules true) but it keeps me raise :
> error while linking mylib.cma.
> The external function '...' is not available.
> Although this function is available in the dll, it seems that Dynlink
> doesn't manage to load it.
> How can I do that ( tip : It's for plugin loading, so I don't want to have
> any ref to the DLL into my main build process )

Ok sorry (I fenceposted again :)
I forgot the -dllib flag at compile time.
No more need for answers.


Bug reports:  FAQ:
To unsubscribe, mail  Archives: