31
Window / Re: MFC and SFML Window problem
« on: March 27, 2014, 09:32:57 am »
Because it is a CDialog project. Than means that in order to have just a simple Window, you need:
Resource.h
SFML_TEST.h
SFML_TESTDlg.h
stdafx.h
targetver.h
SFML_TEST.rc
SFML_TEST.rc2
SFML_TEST.cpp
SFML_TESTDlg.cpp
stdafx.cpp
All these files are generated by VS when you open a new, clean CDilaog project. On top of that is my simple SFML_CL class.
I can't simply convert that in a few lines of code or in a simple main(), simply because it will not work. And you will not see the problem as it is now.
The explanations states
Well if some can explain how to convert a MFC CDialog project in a single simple file I would more then happy to do it. Again the problem is in the interconnection of MFC and SFML, so without the minimal CDilaog project files I can't show you anything useful that will help my problem.
I am really not making an argument here, just want to explain that I can't do what you what from me via a simple 20 lines program.
Resource.h
SFML_TEST.h
SFML_TESTDlg.h
stdafx.h
targetver.h
SFML_TEST.rc
SFML_TEST.rc2
SFML_TEST.cpp
SFML_TESTDlg.cpp
stdafx.cpp
All these files are generated by VS when you open a new, clean CDilaog project. On top of that is my simple SFML_CL class.
I can't simply convert that in a few lines of code or in a simple main(), simply because it will not work. And you will not see the problem as it is now.
The explanations states
It is important that:
the code is complete, so people can test it
the code is as simple as possible, the best is one main() with all the code inside -- people don't want to setup a complex project just to test your code
the code reproduces the initial problem
the application doesn't depend on external resource files (unless it's related to the problem)
the code is complete, so people can test it
the code is as simple as possible, the best is one main() with all the code inside -- people don't want to setup a complex project just to test your code
the code reproduces the initial problem
the application doesn't depend on external resource files (unless it's related to the problem)
Well if some can explain how to convert a MFC CDialog project in a single simple file I would more then happy to do it. Again the problem is in the interconnection of MFC and SFML, so without the minimal CDilaog project files I can't show you anything useful that will help my problem.
I am really not making an argument here, just want to explain that I can't do what you what from me via a simple 20 lines program.