RE: LNK2005 error
Hi,
this project builds and links correctly in visual studio 2003,
but not in 2005.
Based on the description, the problem is you have an ISAPI extension
program which is built OK under VS2003. When you upgrade and build it under
VS2005, it generates LNK2005 error. Please correct me if I misunderstand
anything.
The VC2005's libraries are different with the VS2003's, there exists some
incompatibility issue. I think your program imports the definition of
CRecordset::IsEOF/CRecordset::MoveNext from the corresponding type library,
how about using a namespace to wrap those imported stuffs?
You also mention that program could be build well with "Use MFC in a Shared
DLL", but it is unable to be loaded by the IIS. In this regard, I suggest
you can review the machine's event log, it should have some error message
about that unsuccessful loading.
I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.