|
OK!
Good signs then: the (project .. I was guessing) compiles. And it's important that you provide information like what the version you migrated from -> VS 2010 to VS 2017. That type of thing is always helpful for those trying to help. I haven't upgraded since 2010 and am sticking to my 64-bit guns still (not until MS, not until).
VERBOSE is a linker switch and what it does is make ALL linker messages present in the immediate window (yes, there's the overly warning/error widget which modernized the whole business) which I find easier to interpret mainly because it's time sequential and spits out mangled strings that can be used in a regular file search through your system; in the event that any one error says a library is missing, you can just type in the string that "can't be found" and window's search'll usually tell you which library to add to the reference (it contains the stubb of the string).
But since you've more or less passed over that hurdle and the thing's essentially a .dll or .exe or a set of each or both you can skip that.
I just have only one more thing to add and that's as I said ... MFC is more or less pushed by the VS version you've produced your executables with and as targetted OS .exe and .dll, managed or otherwise (I'm lumping .NET in this statment as well as long as you've properly dialed in the assembly in the properties (3.0, 3.5 ... what are we up to now? 4.5? etc) [as well I mean]) and as to why if you were building under x86 (for Win7 say or even WinXP) how anything out of even VS2017 would cause scale and panel metrics to be out of whack I can't fathom. As you say "abstracts in the hardware layer" ... bad stuff all wrastled out by informed folk at NVidia/etc.
I see in some of these posts that "Advanced Settings" has been a topic but I can say that unless this is an old video game you're trying to spruce up enough to display the same interface you had on 1080 (not even right?) 1200 x 1600 multimonitor set up while running @ 600 x 800 ... that'd be the only place to do the appropriate experimentation. Sometimes that battle can be won but I've lost it more times than I care to count.
Try everything? Sorry I can't be of more/better help.
|
|
|
|
|
Have you tried running the app in compatibility mode?
|
|
|
|
|
Yes. No change. Also tried "override high dpi scaling", with no change. Although at 1080p, there shouldn't be high dpi issues.
|
|
|
|
|
Are the controls being created at runtime?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
no. they were designed in dialog editor.
|
|
|
|
|
Which means they should not be changing size or position unless otherwise instructed to do so via code.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
You're right, it shouldn't but something is causing it. There is nothing in the code that resizes or moves any of the controls. The program was designed to be fixed position & size from the start.
|
|
|
|
|
Check the other Windows scaling controls (Advanced scaling settings).
|
|
|
|
|
I've tried various scaling settings, and it doesn't help. It appears the controls inside the dialog windows are being drawn as fixed pixel dimension. The scaling settings only change the dimension of the window. So actually, if I set scaling to 200%, the dialog window becomes large enough to show all the controls within. But that's not an ideal solution, since 200% is almost unusable for everything else.
What has me stumped is that other PCs of similar specs do not exhibit this issue.
|
|
|
|
|
Hi,
You should be able to fix this without modifying/recompiling the application. You would need to use the manifest tool to embed an application manifest. You would need to set the dpiAware/dpiAwareness mode.
Application Manifests - Win32 apps | Microsoft Docs[^]
Best Wishes,
-David Delaune
|
|
|
|
|
|
No, that's not how this site works. We'll help you with YOUR code, but the site is not a "code to order" site.
|
|
|
|
|
I have used this free tool on Windows 7 for years, https://www.codeproject.com/Articles/354/A-Utility-to-Clean-Up-Compiler-Temp-Files , it's useful.
I now want to use this utility to clean up compiler temp files on Windows 10, but after registered the DirClean.dll file, the two menu items do not show on the context menu. I check the source files, but I can't find what is wrong.
Thank you for help!
|
|
|
|
|
Please use the forum at the end of the article so the person who wrote the article can help you.
|
|
|
|
|
There is few reply in the article forum, so I start this thread here. Thanks!
|
|
|
|
|
If you knew the extensions that you wanted to routinely delete (e.g., obj, tmp, pdb), you could simply add them to a BAT file something like:
del /s *.obj
del /s *.tmp
...
Put the BAT file in the parent folder of your work area and run it when needed. You could even create a scheduled task to do it automatically.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Thank you for the alternative method. I will try the BAT file.
Can anyone find the reason why the free tool failed to work on Windows 10? Thanks!
|
|
|
|
|
i wanna ask, can anyone suggest any good tutorials references for learning C from the beginning, especially for the latest C version (C17, afaik) ?
refs can be web, e-books, or anything
note:
i tried google. found no tutorials for this.
|
|
|
|
|
C is a rather stable language, every standard doesn't add so many features like happens, for instance, with C++ , so you may find (of the tons available) a good tutorial on a previous version (e.g. C99 or C11 ) and start learning. Then, in order to complete your knowledge, you may access the freely available 'final draft of the standard' (external link in the very wikipedia page: C17 (C standard revision) - Wikipedia[^].
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
but there's errors in old syntax if we use old tutorials
coz, there's tutorials using old syntax of C and that's not used in today's C's syntax anymore
e.g.: i have K&R book and their example is like:
#include <stdio.h>
main () { }
that's why i'm looking more for tutor that suit with the latest C's syntax, which is C17
|
|
|
|
|
I didn't say it has not changed. It changed, but just a little. You haven't to go back to K&R. While probably there aren't yet many tutorials on the latest standard, there are many many available good ones for recent versions of it. That could be your fishing pond.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
ok, i guess i'll go for tutorials around 2015 and above
do you have any suggestions on this?
|
|
|
|
|
|
i searched more for C17 and not just C tutorials
coz, there's tutorials using old syntax of C and that's not used in today's C's syntax anymore
e.g.: i have K&R book and their example is like:
#include <stdio.h>
main () { }
i'm looking more for tutor that suit with the latest C's syntax, which is C17
|
|
|
|
|