[Haskell-cafe] Regarding Haskell FFI

rajendra prasad rajendradprasad at gmail.com
Tue Mar 27 09:56:23 CEST 2012


Hi,

I am trying to load the DLL(Wrapper.dll) in my code(Main.hs). When I am
placing the dll in local directory, I am able to load it through following
command:

ghci Main.hs -L. -lWrapper


But, I am not able to load it if I am putting it in some other
directory(../../bin). I used the following command:

ghci Main.hs -L../../bin/ -lWrapper

I doubt I am not using the correct way to specify the path of dll in the
command.

Please correct me if I am wrong.


Thanks in advance.


Regards,
Rajendra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120327/5ec97b36/attachment.htm>


More information about the Haskell-Cafe mailing list