Article View: borland.public.cppbuilder.nativeapi
Article #4371Re: NT Service / DCOM server failing on Windows 2003
From: Remy Lebeau (TeamB)
Date: Thu, 23 Feb 2006 18:46
Date: Thu, 23 Feb 2006 18:46
23 lines
1897 bytes
1897 bytes
"Mike Collins" <its@TheBottomOfThePost.com> wrote in message news:43fd9660@newsgroups.borland.com... > Out of interest, how did you discover this? A newsgroup search. I had a problem with my COM server failing when I first migrated it to Win2003. It took several days to track it down. Of course, now that I know the problem, it takes only a minute or two to find the information online now. Many people have reported the same issue and similar workarounds. > What are the backward compatibility issues with this code relating > to win 2000 and win XP The code I gave you is a copy/paste from my own project, which works fine on all NT-based systems. As you can see, the WinMain() function looks at the OS version and then applies the workaround to only Win2003 and later versions. Under earlier versions, the runtime behavior is exactly the same as it used to be. Gambit
Technical Details
Message-ID:
<43fe02e4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<43fc85d2$1@newsgroups.borland.com> <43fcf481$1@newsgroups.borland.com> <43fd9660@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,45cf8d20e0960657 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43fc85d2$1@newsgroups.borland.com> <43fcf481$1@newsgroups.borland.com> <43fd9660@newsgroups.borland.com> Subject: Re: NT Service / DCOM server failing on Windows 2003 Date: Thu, 23 Feb 2006 10:46:35 -0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43fe02e4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140720356 68.69.17.41 (23 Feb 2006 10:45:56 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail