Simple question


M

mitch

Using Visual Studio I create a c++ class library .NET project. Now I
want to use an object of type CFile in my project. I can't. CFile is an
undeclared identifier. So I try to include afx.h - I can't:error
LNK2019: unresoved external symbol _main referenced in function
_mainCRTStratup

Any help appreciated? Can I use CFile in a project of this type?

Mitch.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top