Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linking problem while including afxtempl.h

Posted on 2000-03-28
2
Medium Priority
?
346 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 100 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month12 days, 1 hour left to enroll

916 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