Version française
Home     About     Download     Resources     Contact us    
Browse thread
Win32 library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <Christophe.Troestler+ocaml@u...>
Subject: Re: [Caml-list] Win32 library
Replying to myself:

On Fri, 15 Jun 2007, Christophe TROESTLER <Christophe.Troestler+ocaml@umh.ac.be> wrote:
> 
>   link /verbose /nologo /dll /out:dllocamlodbc.dll /def:ocamlodbc.DEF  ocaml_odbc_c.d.obj /LIBPATH:"C:\Program Files\Objective Caml\lib" ocamlrun.lib odbc32.lib

I "forgot" to define CAML_DLL in

  cl /nologo /Ox /MD /DWIN32 /DCAML_DLL -I "%OCAMLLIB%" -c ocaml_odbc_c.c

Hopefully this will help other people. :)

ChriS