Index: /trunk/src/lib/nt/nthlpfs.c
===================================================================
--- /trunk/src/lib/nt/nthlpfs.c	(revision 2709)
+++ /trunk/src/lib/nt/nthlpfs.c	(revision 2710)
@@ -85,4 +85,6 @@
     MY_ANSI_STRING      Src;
 
+    birdResolveImports();
+
     pNtPath->Length = pNtPath->MaximumLength = 0;
     pNtPath->Buffer = NULL;
@@ -133,4 +135,6 @@
     MY_OBJECT_ATTRIBUTES    ObjAttr;
     MY_NTSTATUS             rcNt;
+
+    birdResolveImports();
 
     if (  (fCreateOptions & FILE_OPEN_REPARSE_POINT)
@@ -187,6 +191,4 @@
     MY_NTSTATUS         rcNt;
 
-    birdResolveImports();
-
     /*
      * Adjust inputs.
@@ -223,6 +225,4 @@
     MY_UNICODE_STRING   NtPath;
     MY_NTSTATUS         rcNt;
-
-    birdResolveImports();
 
     /*
Index: /trunk/src/lib/nt/ntstat.c
===================================================================
--- /trunk/src/lib/nt/ntstat.c	(revision 2709)
+++ /trunk/src/lib/nt/ntstat.c	(revision 2710)
@@ -471,4 +471,6 @@
     {
         DWORD fFileType;
+
+        birdResolveImports();
 
         SetLastError(NO_ERROR);
