--- a/ooDialog/trunk/ooDialog/oodialog.mak
+++ b/ooDialog/trunk/ooDialog/oodialog.mak
@@ -232,7 +232,7 @@
     $(lflags_common_console) \
     /STACK:262144 \
     $(REXXAPI_LIBS) \
-    shell32.lib \
+    shell32.lib Advapi32.lib\
     -out:$(OOD_OUTDIR)\ooDialog.com