M
M
Maxim Rudnev2016-09-07 15:37:51
C++ / C#
Maxim Rudnev, 2016-09-07 15:37:51

How to convert a console application into a window application?

link to the project
in it everything works and starts, but the application is a console one.
What is the correct way to import source files into a new MFC window application project?
when I just copy files, I get a bunch of linking errors 2019 "reference to unresolved symbol" when building. Is it
not enough to just copy .h/.cpp to a folder? do you need something else?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fat Lorrie, 2016-09-07
@Free_ze

Add to project. Something like Add -> Existing item...
Otherwise, they are not passed to the compiler -> object files are not obtained -> there is nothing to link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question