lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redefine dvar for convenience
[lcore.git]
/
dnswin.pas
diff --git
a/dnswin.pas
b/dnswin.pas
index 567ea68f04424b720616f36070a62106b0779d0a..17a8a97a02830ad4e4468465bfb14316aeb60092 100644
(file)
--- a/
dnswin.pas
+++ b/
dnswin.pas
@@
-39,6
+39,8
@@
type
\r
end;
\r
\r
\r
end;
\r
\r
+procedure init;
\r
+
\r
implementation
\r
uses
\r
{ zipplet: moved pgtypes to interface because it's needed for the string definitions }
\r
implementation
\r
uses
\r
{ zipplet: moved pgtypes to interface because it's needed for the string definitions }
\r
@@
-330,6
+332,7
@@
var
hbrBackground : 0;
\r
lpszMenuName : nil;
\r
lpszClassName : 'dnswinClass');
\r
hbrBackground : 0;
\r
lpszMenuName : nil;
\r
lpszClassName : 'dnswinClass');
\r
+procedure init;
\r
begin
\r
\r
if Windows.RegisterClass(MyWindowClass) = 0 then halt;
\r
begin
\r
\r
if Windows.RegisterClass(MyWindowClass) = 0 then halt;
\r
@@
-346,4
+349,7
@@
begin
nil); { CreateParam }
\r
//writeln('dnswin hwnd is ',hwnddnswin);
\r
//writeln('last error is ',GetLastError);
\r
nil); { CreateParam }
\r
//writeln('dnswin hwnd is ',hwnddnswin);
\r
//writeln('last error is ',GetLastError);
\r
+end;
\r
+
\r
+
\r
end.
\r
end.
\r