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