Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I use Static MFC library in configuration settings and i got the linker error "unresolved external symbol ___argv".

Please help me How to avoid this error using "static MFC library"

Best regards,
Suji.
Posted
Comments
Sergey Alexandrovich Kryukov 22-Jul-13 10:43am    
It looks like a command-line parameter in the entry point "main" function. And due to hot weather, my access to your hard drive is somewhat limited. How can we see where did you screw up?
—SA
Jochen Arndt 22-Jul-13 11:44am    
__argv is defined in stdlib.h. If you are getting a linker error, the C standard library is probably not included when linking. Did you have specified the NODEFAULTLIB linker option somewhere (e.g. in the Linker Project Settings)?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900