[project @ 2001-09-04 18:29:20 by ken]
[ghc-hetmet.git] / ghc / docs / users_guide / win32-dlls.sgml
index a7b107b..488f5bd 100644 (file)
@@ -80,11 +80,11 @@ option on all the Haskell modules that make up your application.
 </Title>
 
 <Para>
-<Strong>Making libraries into DLLs doesn't work on Windows at the
+<emphasis>Making libraries into DLLs doesn't work on Windows at the
 moment (and is no longer supported); however, all the machinery is
 still there. If you're interested, contact the GHC team. Note that
 building an entire Haskell application as a DLL is still supported
-(it's just inter-DLL Haskell calls that don't work).</Strong>
+(it's just inter-DLL Haskell calls that don't work).</emphasis>
 <IndexTerm><Primary>Creating a Win32 DLL</Primary></IndexTerm>
 <IndexTerm><Primary>--mk-dll</Primary></IndexTerm>
 Sealing up your Haskell library inside a DLL is straightforward;
@@ -238,7 +238,7 @@ RTS---a possible implementation is:
 #include &lt;windows.h&gt;
 #include &lt;Rts.h&gt;
 
-EXTFUN(__init_Adder);
+EXTFUN(__stginit_Adder);
 
 static char* args[] = { "ghcDll", NULL };
                        /* N.B. argv arrays must end with NULL */
@@ -252,7 +252,7 @@ DllMain
 {
   if (reason == DLL_PROCESS_ATTACH) {
       /* By now, the RTS DLL should have been hoisted in, but we need to start it up. */
-      startupHaskell(1, args, __init_Adder);
+      startupHaskell(1, args, __stginit_Adder);
       return TRUE;
   }
   return TRUE;