Solved

Linking problem while including afxtempl.h

Posted on 2000-03-28
2
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Detect CR LF to each line 12 174
no14 challenge 14 73
either24  challenge 19 105
Updating statistics with error notification email in SQL server 4 119
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

763 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