Solved

Linking problem while including afxtempl.h

Posted on 2000-03-28
2
311 Views
Last Modified: 2013-11-20
I want to declare a CList variable in my
console project (and I have another MFC project depending on it). There are many link errors jumping up of a kind:

unresolved external symbol ___argv

What should I do?
0
Comment
Question by:Yulia
2 Comments
 
LVL 3

Expert Comment

by:Shay050799
ID: 2664139
have u tried to include the MFC dlls in ur projects ?
0
 

Accepted Solution

by:
donnerjack earned 50 total points
ID: 2664991
if you build the project as an MFC application try adding:
#include <afxtempl.h>
if not build it as an MFC application.
(CList is an MFC object)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question