Original Post
🔒 Locked
Having a Debug window without console app?
Advertisement
Is this it? You will need to change the subsystem property in the settings.
Well I mean to change the subsystem, all you have to do is go to Project->Properties->Linker->System->SubSystem = "Console (/SUBSYSTEM:CONSOLE)". I mean I don't know if there is anything simpler than that really. I will look for something else though, that would be nice to have [smile].
Ok drew,
SO i found that shortly before u posted (sorry) and it doesnt like linking after i change it. I was wondering if that option was the differnce between creating a windowed app or console app project.
I also looked at that code in the post u linked to and for some reason it wont compile.
I'll have another look some day...
Thanks for ur time.
ace
SO i found that shortly before u posted (sorry) and it doesnt like linking after i change it. I was wondering if that option was the differnce between creating a windowed app or console app project.
I also looked at that code in the post u linked to and for some reason it wont compile.
I'll have another look some day...
Thanks for ur time.
ace
Oh no, it's fine! As for that code, that was if you had a windows app and were making a console. If you are using some other library that uses console mode, but does not have a console, you will need to use this:
If that does not work, just let me know. It should though. But you might have to explain what type of project you are doing. I cannot find the 'entry' option in Visual Studio though, so this method is definitly not what you saw perhaps.
#pragma comment(linker, "/subsystem:\"console\" /entry:\"mainCRTStartup\"")If that does not work, just let me know. It should though. But you might have to explain what type of project you are doing. I cannot find the 'entry' option in Visual Studio though, so this method is definitly not what you saw perhaps.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement