Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
Luc Pattyn19-Jan-09 4:40
sitebuilderLuc Pattyn19-Jan-09 4:40 
AnswerRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
«_Superman_»19-Jan-09 16:05
professional«_Superman_»19-Jan-09 16:05 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
ThatsAlok19-Jan-09 21:52
ThatsAlok19-Jan-09 21:52 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
Stuart Dootson19-Jan-09 22:11
professionalStuart Dootson19-Jan-09 22:11 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
«_Superman_»19-Jan-09 23:36
professional«_Superman_»19-Jan-09 23:36 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? Pin
Ahmed Charfeddine19-Jan-09 22:13
Ahmed Charfeddine19-Jan-09 22:13 
GeneralRe: Is it theoretically possible to instantiate an abstract C++ class ? How ? [modified] Pin
Stuart Dootson19-Jan-09 22:36
professionalStuart Dootson19-Jan-09 22:36 
QuestionMFC removed from project: error LNK2001: unresolved external symbol ___argv Pin
RedSonja19-Jan-09 3:42
RedSonja19-Jan-09 3:42 
As reported in previous threads, I had to remove all use of MFC from all my projects. This is supposed to increase portability. So I replaced all CStrings, CLists, Containers, etc.
It all compiles nicely now, but here is the latest problem - it won't build
error LNK2001: unresolved external symbol ___argv
error LNK2001: unresolved external symbol ___argc

In despair I recreated all my projects under VisualStudio8 with following properties:
console project Application exe
Use Standard Windows Libraries
Use Multi-Byte character set

When I recreated the projects it made new mains which look like this:

int _tmain(int ___argc, _TCHAR* ___argv[])
{
// here my bits
char *configfile;
if ( ___argc == 2 )
{
configfile = ___argv[1];
}
return 0;
}

And it won't link. So has anyone an idea what I am doing wrong?

-------------
Bibo ergo sum

AnswerRe: MFC removed from project: error LNK2001: unresolved external symbol ___argv Pin
Stuart Dootson19-Jan-09 4:00
professionalStuart Dootson19-Jan-09 4:00 
GeneralRe: MFC removed from project: error LNK2001: unresolved external symbol ___argv Pin
RedSonja19-Jan-09 4:33
RedSonja19-Jan-09 4:33 
QuestionMFC DLL Pin
bhanu_850919-Jan-09 2:46
bhanu_850919-Jan-09 2:46 
AnswerRe: MFC DLL Pin
Cedric Moonen19-Jan-09 3:33
Cedric Moonen19-Jan-09 3:33 
GeneralRe: MFC DLL Pin
bhanu_850919-Jan-09 5:24
bhanu_850919-Jan-09 5:24 
GeneralRe: MFC DLL Pin
Cedric Moonen19-Jan-09 7:53
Cedric Moonen19-Jan-09 7:53 
GeneralRe: MFC DLL Pin
bhanu_850919-Jan-09 20:22
bhanu_850919-Jan-09 20:22 
GeneralRe: MFC DLL Pin
Cedric Moonen20-Jan-09 2:32
Cedric Moonen20-Jan-09 2:32 
GeneralRe: MFC DLL Pin
bhanu_850920-Jan-09 2:45
bhanu_850920-Jan-09 2:45 
GeneralRe: MFC DLL Pin
Cedric Moonen20-Jan-09 2:51
Cedric Moonen20-Jan-09 2:51 
GeneralRe: MFC DLL Pin
bhanu_850920-Jan-09 3:08
bhanu_850920-Jan-09 3:08 
GeneralRe: MFC DLL Pin
Cedric Moonen20-Jan-09 4:25
Cedric Moonen20-Jan-09 4:25 
GeneralRe: MFC DLL Pin
bhanu_850920-Jan-09 23:46
bhanu_850920-Jan-09 23:46 
QuestionINF file, DelFiles not working as expected. Pin
abhijitr19-Jan-09 2:39
abhijitr19-Jan-09 2:39 
QuestionRe: INF file, DelFiles not working as expected. Pin
David Crow19-Jan-09 3:03
David Crow19-Jan-09 3:03 
AnswerRe: INF file, DelFiles not working as expected. Pin
ThatsAlok19-Jan-09 21:58
ThatsAlok19-Jan-09 21:58 
QuestionHow to pass array of byte? Pin
Joe Smith IX19-Jan-09 2:27
Joe Smith IX19-Jan-09 2:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.