Re: ATL Issues on VS 2005
- From: User_Anony <UserAnony@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Aug 2008 14:44:06 -0700
Thanks for your time. Yes, I understand the need to post real code. Due to
proprietary reasons, I am converting the code to class names (with only start
letter) and posting them. Yes, you are right Class won't compile. It has to
be class (which it is). As I said, the code worked under CE 5.0 and also
under PC version of VS2005 libs. I am now moving it to CE 6.0 - and hence
these errors....
I don't see any funcs being exported or imprtd from B.obj nor A.obj nor
Outer.obj
Yes I have the classes declared/defined in separate comipaltion units.
Class A is under A.Cpp, Class B under B.cpp, Class C under C.cpp...
Any other suggestions?.
To help you help me, this is a warning I get from compiling A.cpp
B.obj : warning LNK4217: locally defined symbol
?MyCaller@Outer@@SAXAAVC@23@PA_WK@Z (public: static void __cdecl
Outer::MyCaller(class C &,wchar_t *,unsigned long)) imported in function
__unwind$62327
Say SomeOther.Cpp::Connect also uses the services of Outer class.
And compiling SomeOther.Cpp, it warns me of:
warning LNK4217: locally defined symbol ?MyCaller@Outer@SAXAAVC@23@PA_WK@Z
(public: static void __cdecl Outer::MyCaller(class C &,wchar_t *,unsigned
long)) imported in function "public: virtual int __cdecl
SomeOther::Connect(class C &)" (?Connect@SomeOther@@UAAHAAVC@23@@Z)
And dumpbin of SomeOther.Cpp is: again empty (for imports and exports), like
other bin files.
As you may have noticed, Outer::MyCaller() uses Class C's reference inside
its call...
Thanks,
.
- Follow-Ups:
- Re: ATL Issues on VS 2005
- From: User_Anony
- Re: ATL Issues on VS 2005
- References:
- ATL Issues on VS 2005
- From: User_Anony
- Re: ATL Issues on VS 2005
- From: Brian Muth
- Re: ATL Issues on VS 2005
- From: User_Anony
- Re: ATL Issues on VS 2005
- From: Brian Muth
- ATL Issues on VS 2005
- Prev by Date: Re: ATL Issues on VS 2005
- Next by Date: Re: ATL Issues on VS 2005
- Previous by thread: Re: ATL Issues on VS 2005
- Next by thread: Re: ATL Issues on VS 2005
- Index(es):
Relevant Pages
|