X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/27e903c56380abcb11b5a0b8d7ccab88a14b5cde..7cad80355c81569210547a281e30cd491b5bb353:/dnswin.pas?ds=inline

diff --git a/dnswin.pas b/dnswin.pas
index 567ea68..17a8a97 100644
--- a/dnswin.pas
+++ b/dnswin.pas
@@ -39,6 +39,8 @@ type
 
   end;
 
+procedure init;
+
 implementation
 uses
   { zipplet: moved pgtypes to interface because it's needed for the string definitions }
@@ -330,6 +332,7 @@ var
                                  hbrBackground : 0;
                                  lpszMenuName  : nil;
                                  lpszClassName : 'dnswinClass');
+procedure init;
 begin
 
     if Windows.RegisterClass(MyWindowClass) = 0 then halt;
@@ -346,4 +349,7 @@ begin
                                nil);      { CreateParam   }
   //writeln('dnswin hwnd is ',hwnddnswin);
   //writeln('last error is ',GetLastError);
+end;
+
+
 end.