Link to home
Start Free TrialLog in
Avatar of prangel
prangel

asked on

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

ASKER CERTIFIED SOLUTION
Avatar of SuperMario
SuperMario

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of inpras
inpras

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
Avatar of prangel

ASKER

Sup . . ,

Thanks!

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

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

-D