Solved

Linking problem while including afxtempl.h

Posted on 2000-03-28
2
290 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 88
Host to IP 7 73
List out all word 7 224
Unix Command -- Challenging  question 7 79
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now