Hi Max,
Yes in one part of our project , which is a out of process com server.
and in a number of .rc for the other com parts we used
#include “resource.h”
#ifdef _DEBUG
1 typelib debug\rtd.tlb
#else
1 typelib release\rtd.tlb
#endif
to have this ability, but have not use #import on the projects that use this
com object
Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU51 4BL
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com
Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
United Kingdom
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: 25 October 2001 16:14
To: NT Developers Interest List
Cc: MSVC (E-mail)
Subject: [ntdev] Re: Problems running an app compiled under win2k sp2 on
a win2ksp1 pc
Do you use #import (compiler COM support)?
Max
----- Original Message -----
From: “Fernando, Robert”
To: “NT Developers Interest List”
Cc: “MSVC (E-mail)”
Sent: Wednesday, October 24, 2001 3:18 PM
Subject: [ntdev] Problems running an app compiled under win2k sp2 on a
win2ksp1 pc
> Hi all,
>
> We built a copy of our app on a pc running win 2k sp2 and msvc v6 sp4
> After copying the app to a win2k sp1 dell pc it failed to run.
> Recompiling the source code on the win2k sp1 pc made it work.
>
> What could be different between sp1 and sp2 that could cause the app to
fail
> ?
>
> Our app make calls to a number of com components to do it’s processing and
> this com component loads a number of out of process com exe, plus one in
> process com DLL to do data logging.
>
> We also make a number of calls to Winsock from inside our com DLL.
>
> The main com DLL is created from a thin com layer on top of a DLL which
> implements the actual body / function for each com call.
>
> Any Suggestions ?
>
> Robert Fernando
> Anite Telecoms Ltd
> 110 Fleet Road
> Fleet
> Hampshire GU51 4BL
> United Kingdom
> Tel: +44 (0) 1252 775200
> Fax: +44 (0) 1252 775 321
> Email: xxxxx@anitetelecoms.com
>
> Anite Telecoms Limited Registered in England No. 1721900 Registered
> Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
> United Kingdom
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: xxxxx@anitetelecoms.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com