<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=224220903-06112007>This
may be off the track, but as I have often found that the problem was not in
the area I was looking - is it possible that for instance there is some security
setting is preventing the interface from working? ie a shrewd look at what
has changed in the Win2003 SP2 might give a hint, epecially to do with the
security model. If the settings are in the registry it sort
of hints at something like that.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left>John Bird</P>
<P class=MsoAutoSig>
<P class=MsoAutoSig><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<DIV></DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz] <B>On Behalf
Of </B>staff<BR><B>Sent:</B> Monday, 5 November 2007 5:00 p.m.<BR><B>To:</B> NZ
Borland Developers Group - Delphi List<BR><B>Subject:</B> Re: [DUG] Com Server
registration in Win 2003 SP2<BR><BR></FONT></P></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2>Thanks Rohit for this suggestion. The error I am
seeing is for the three Win 2003 SP2 servers I have tried. All fail in the
same way. The single Win 2003 SP1 I have tried works OK.</FONT></DIV>
<DIV><FONT face=Arial size=2>So I am guessing the problem is not related to a
problem on one server. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am learning where to look y reading the manual
"OLE/COM - explained" section for the registry program "RegistryTool".
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I've not found a solution yet so any other
suggestions are welcome.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Russell</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rohit@cfl.co.nz href="mailto:rohit@cfl.co.nz">Rohit Gupta</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@delphi.org.nz
href="mailto:delphi@delphi.org.nz">NZ Borland Developers Group - Delphi
List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 05, 2007 4:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [DUG] Com Server
registration in Win 2003 SP2</DIV>
<DIV><BR></DIV>It may have nothing to do with it, but it could be damaged
dotnet.<BR><BR>Last week I had a situation where suddenly the BDS IDE
stopped compiling, but command line compile still worked. It turned
out be corrupted dotnet2 files. Reinstalling it did not fix it.
However, uninstalling and installing again did. I only found it by
comparing every windows exe with another pc. :-)<BR><BR>staff wrote:
<BLOCKQUOTE cite=mid:001801c81dad$6948b720$800101df@bcd2800 type="cite">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>I am (still) working with D6 on a
program that provides a COM/OLE services on windows clients, windows
networks. The program allows VB code in MS Word and other programs to call
these com services in my D6 executable. Typically the services get data
from a Firebird DB and pass it to the requestors.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The program can register its COM interfaces
when it first runs or by running it with the /regserver command line
option.</FONT></DIV>
<DIV><FONT face=Arial size=2>It registers OK in all MS operating systems
win9x, win2000, XP, win 2003, win 2003 SP1, (but not Win 2003 SP2)
and Vista (once we use the "real admin" logon account). I have verified
its registration works on each OS mentioned in actual sites and in my test
setup. I have verified the registration is only partial in Win 2003 SP2.
The com interfaces appear in the registry and they are removed when I run
the program with command line /unregserver. Using TREGSRV does not
help.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I repeat that Win 2003 SP1 and below is OK
and Win 2003 SP2 gives me this problem.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial><FONT size=2>The dot (myfile.dot) file used when
users are running MS Word as part of the application, when on Win 2003
SP2, is failing to compile. <SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"><SPAN> T</SPAN>he
VB Editor tissues the error "Compile error \n Error in Loading DLL" and
points to an object referencing a servive provided by my program. When
other programs ask for com services they are not provided. Yet when I edit
this code in the VB Editor the code completion feature knows about my type
library and presents options from my type library. So my type library
seems to have been registered OK.</SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">This appears to be
a Win 2003 SP2 bug. But, as the program is a Delphi 6 product I
am hoping someone here has some insights for me. We need the program
running on Win 2003 where it is used as a terminal
server.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">Insights will be
welcome.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">Thanks,</SPAN></SPAN></FONT></DIV>
<DIV><FONT size=+0><FONT face=Arial size=2><SPAN class=value><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">Russell
Belding</SPAN></SPAN></FONT></FONT></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <A class=moz-txt-link-abbreviated href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A>
Admin: <A class=moz-txt-link-freetext href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A>
Unsubscribe: send an email to <A class=moz-txt-link-abbreviated href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</A> with Subject: unsubscribe</PRE></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<DIV align=left>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana color=#666666>Rohit
Gupta</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana
color=#666666>B.E. Elec. M.E. Mem IEEE
Associate IEE</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT size=2><FONT face=Verdana
color=#666666>Technical Manager</FONT></FONT></STRONG></DIV>
<DIV align=left><STRONG><FONT face=Verdana color=#666666 size=2>Computer
Fanatics Limited</FONT></STRONG></DIV>
<DIV align=left><STRONG></STRONG> </DIV>
<DIV align=left><FONT face=Verdana color=#666666
size=2><STRONG>Tel</STRONG> +64 9
4892280</FONT></DIV>
<DIV align=left><FONT face=Verdana color=#666666
size=2><STRONG>Fax</STRONG> +64 9 4892290</FONT></DIV>
<DIV align=left><FONT color=#666666><FONT face=Verdana
size=2><STRONG>Email </STRONG></FONT><A
href="mailto:rohit@cfl.co.nz"><FONT face=Verdana color=#0080ff
size=2>rohit@cfl.co.nz</FONT></A></FONT><FONT color=#666666><FONT
face=Verdana size=2><STRONG></STRONG></FONT></FONT></DIV>
<DIV align=left><FONT color=#666666><FONT face=Verdana
size=2><STRONG>Web </STRONG></FONT><A
href="http://www.cfl.co.nz/"><FONT face=Verdana color=#0080ff
size=2>www.cfl.co.nz</FONT></A></FONT></DIV>
<DIV> </DIV>
<DIV>
<HR>
</DIV>
<DIV align=left><SPAN
style="FONT-SIZE: 7.5pt; COLOR: rgb(153,153,153); FONT-FAMILY: Verdana"><FONT
size=1><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT
color=#000000><FONT face=Verdana color=#808080 size=1>This email and any
attachments contain information, which is confidential and may be subject to
legal privilege and copyright. If you are not the intended recipient, you
must not use, distribute or copy this email or attachments. If you have
received this in error, please notify us immediately by return email and
then delete this email and any attachments.</FONT>
<O:P></O:P></FONT></SPAN></FONT></SPAN></DIV></DIV></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>NZ Borland
Developers Group - Delphi mailing list<BR>Post:
delphi@delphi.org.nz<BR>Admin:
http://delphi.org.nz/mailman/listinfo/delphi<BR>Unsubscribe: send an email
to delphi-request@delphi.org.nz with Subject:
unsubscribe</BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>