[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

MFC & MAPI & EDK Linker Problem

Working in MSVC++ V6. Trying to use MAPI and EDK functions to access/modify the Exchange V5.5 GAL data. Can't seem to get Exchange Development Kit (ExchSDK.lib) to link with my MFC AppWizard app.  I keep getting: 'LINK : fatal error LNK1104: cannot open file "mfc40.lib"'.

I tried adding the sub-libs of ExchSDK.lib, as needed, and using 'Ignore LIBCD', but when I do that I get: 'unrseolved external' on ___argv, ___argc and __mbctype.

Thanks

0
prangel
Asked:
prangel
  • 2
1 Solution
 
SuperMarioCommented:
May be a problem with the method you are linking MFC. Are you linking it statically or dynamically? Try both.
-D
0
 
inprasCommented:
Check for the path of the file and check whether U have enough disk space
restart UR system once and try compiling again after this also if U get error check whether UR library is valid
Hope this helps
Regards
0
 
prangelAuthor Commented:
Sup . . ,

Thanks!

I was trying to link statically. It looks like a dynamic link was the ticket!

-=lp=-
0
 
SuperMarioCommented:
Hey, no problem. That's the problem in a lot of linker cases. Keep that in mind. =)

-D
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now