removed incorrect executable status from files
[lcore.git] / lcorewsaasyncselect.pas
old mode 100755 (executable)
new mode 100644 (file)
index cde709b..075d558
@@ -6,7 +6,10 @@ procedure lcoreinit;
 \r
 implementation\r
 \r
-uses wcore,lcore,bsearchtree,sysutils,windows,winsock,pgtypes,messages,classes,lsocket;\r
+uses\r
+  dnswin, //to call init\r
+  wcore,lcore,bsearchtree,sysutils,windows,winsock,pgtypes,messages,classes,lsocket;\r
+\r
 type\r
   twineventcore=class(teventcore)\r
   public\r
@@ -205,6 +208,8 @@ procedure lcoreinit;
 begin\r
   if (inited) then exit;\r
 \r
+  dnswin.init;\r
+\r
   eventcore := twineventcore.create;\r
   if Windows.RegisterClass(MyWindowClass) = 0 then halt;\r
   //writeln('about to create lcore handle, hinstance=',hinstance);\r