English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Win32 API
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-01-01 (18:25)
From: Warp <warplayer@f...>
Subject: Re: [Caml-list] Win32 API
> For several months I've been putting together an OCaml library providing
> direct access to the Win32 API.  It's a huge project that I'm sure I will
> never totally finish... but I've got a good chunk of it done, and I've
> posted it at the following URL:
> http://www.speakeasy.org/~hchomsky/code/ocaml-win32.zip

Hello Harry !
That's quite a big work, and it's works fine.

You can add theses lines to the Makefile

dllwin32_c.dll : $(MODULES:+=_c.obj)
    -del $@
    link user32.lib kernel32.lib gdi32.lib ocamlrun.lib advapi32.lib
shell32.lib /dll /out:$@ $**

Then , it'll try to build the Dynamic Link Library version of Win32_c, which
is easier to use
with bytecode ocaml.

But I get theses two unresolved externals :

local_roots ( again ! )

... which are not referenced in the ocamlrun.lib... have they been forgotten

I would also like to share your ideas about a future OCaml IDE on Win32.


Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr