RE: LNK2005 error
Hi,
how about using a namespace to wrap those imported
stuffs?
You can use the "rename_namespace" import attribute, for example:
#import "C:\Program files\Common Files\System\Ado\msado15.dll"
rename_namespace("MSXML")
using namespace MSXML;
...
Please refer to the following MSDN documentation:
http://msdn2.microsoft.com/en-us/library/15t265fx.aspx
it simply reports an event 2268, which pretty much says, failed to
load.
In some case, there would be an error code(e.g. 0x81001234) in the event's
'Data' textbox, does it exist in your case?
On the other hand, the "Failed to load" error may be caused by the IIS
cannot find those shared MFC dlls. In this regard, I suggest you use the
depends.exe to check which MFC runtime dlls needs to be loaded of your
ISAPL DLL(with "Use MFC in a Shared DLL"), then copy them to the system32
directory for a test.
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.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.