RE: LNK2005 error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.


.



Relevant Pages

  • Why does it take so long to load workspace?
    ... The workspace takes 5 minutes to load. ... (DLLs). ... The new one uses mfc and MSXML. ...
    (microsoft.public.vc.mfc)
  • Re: Memory limit reached with Windows Mobile
    ... If we load DLLs then Data, we can load 12 Mb of DLLs then 13 Mb of ... All native DLLs get loaded ... over 12,85 Mb of VirtualMemory, and that we can't load any Native ...
    (microsoft.public.pocketpc.developer)
  • Re: Memory limit reached with Windows Mobile
    ... 1- Load the same DLL over and over. ... after 60 DLLs loaded with, ... we decided to pre-load all our Native DLLs ...
    (microsoft.public.pocketpc.developer)
  • Re: Memory limit reached with Windows Mobile
    ... I do understand what a test is, and I do understand how memory management ... ctacke: re-read Patrick's questions, ... 1- Load the same DLL over and over. ... Loading native DLLs takes at least 64k each. ...
    (microsoft.public.pocketpc.developer)
  • Re: Memory limit reached with Windows Mobile
    ... ctacke: re-read Patrick's questions, ... 1- Load the same DLL over and over. ... Loading native DLLs takes at least 64k each. ...
    (microsoft.public.pocketpc.developer)