<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Park,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&gt; Oh, you have wrong version of 
service.c<BR>&gt; I will attach service.c for you.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Sorry again ;-(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is with the new service.c you attached and 
</FONT></DIV>
<DIV><FONT face=Arial size=2>slightly modified test2.rb:</FONT></DIV>
<DIV><FONT face=Arial 
size=2>----------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2&gt;ruby 
extconf.rb<BR>creating Makefile</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2&gt;nmake</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Microsoft (R) Program Maintenance 
Utility&nbsp;&nbsp; Version 6.00.8168.0<BR>Copyright (C) Microsoft Corp 
1988-1998. All rights reserved.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl 
-nologo -MD -Zi -O2b2xg- -G6 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I.&nbsp; -I. -I./.. -I./../missing -c 
-Tcservice.c<BR>service.c<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cl 
-nologo -LD -Feservice.so service.obj msvcrt-ruby18.lib&nbsp; oldnames.lib 
user32.lib advapi32.lib wsock32.lib&nbsp; -link -incremental:no -pdb:none -dll 
-libpath:"c:/ruby/lib" -def:service.def<BR>&nbsp;&nbsp; Creating library 
service.lib and object service.exp</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2&gt;ruby 
test\tc_service.rb<BR>&nbsp;&nbsp; This test will stop and start your Clipboard 
service, as well as pause and<BR>&nbsp;&nbsp; resume your Schedule 
service.&nbsp; This is harmless unless you are actually<BR>&nbsp;&nbsp; using 
these services at the moment you run this test.&nbsp; Is it OK 
to<BR>&nbsp;&nbsp; proceed? (y/N)<BR>y<BR>This will take a few seconds.&nbsp; Be 
patient...<BR>Loaded suite 
test/tc_service<BR>Started<BR>.....F.............F....<BR>Finished in 16.183 
seconds.<BR>---------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>24 tests, 66 assertions, 2 failures, 0 
errors</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2&gt;nmake 
site-install</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Microsoft (R) Program Maintenance 
Utility&nbsp;&nbsp; Version 6.00.8168.0<BR>Copyright (C) Microsoft Corp 
1988-1998. All rights reserved.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>install -c -p -m 0755 service.so 
c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/win32</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2&gt;cd test</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;dir 
*.rb<BR>&nbsp;Volume in drive C has no label.<BR>&nbsp;Volume Serial Number is 
6B0E-6992</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;Directory of 
C:\extract\_ruby\WIN32-~1.2\test</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>01/15/2004&nbsp; 07:07 
AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7,394 
tc_service.rb<BR>01/15/2004&nbsp; 07:07 
AM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,987 
test.rb<BR>01/25/2004&nbsp; 09:47 
PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,241 
test2.rb<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3 File(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10,622 
bytes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
0 Dir(s)&nbsp; 21,345,996,800 bytes free</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;ruby test2.rb 
install<BR>&nbsp;(Win32ServiceError)te_service': The specified service already 
exists.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from 
test2.rb:10</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;tp 
test2.rb</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;"test2.rb"&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;======================================&gt; 
</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;Park:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; here I 
modified the test2.rb and changed the name of the service</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to 
"Sample_Svc1" to avoid name conflict</FONT></DIV>
<DIV><FONT face=Arial 
size=2>&lt;=======================================&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;ruby test2.rb 
install<BR>installed</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;ruby test2.rb 
start<BR>&nbsp;(Win32ServiceError)t': Overlapped I/O operation is in 
progress.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from 
test2.rb:19</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;ruby -v<BR>ruby 
1.8.0 (2003-08-04) [i386-mswin32]</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>C:\extract\_ruby\WIN32-~1.2\test&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>