Share via

A question about developing a desktop application

Tan boyue 1 Reputation point
2020-07-13T01:08:29.307+00:00

I wrote a simple dialog based MFC application. and load ico and png files,show them on the dialog.
the application runs well when I double click the exe file.

Then I wrote a bat file to run the application when The windows system startup(in user's startup folder).
then the ico and png would not show(occationally on different pc, but once it occured , it alway occurs, on the other way, double click would always run well).

the bat file way would be ok, when I do logoff operate, but reboot will go bad.

could any body explain the reason for me?

Thanks a lot!!!!

running system is windows 10 x64;
dev system is windows 7 x64;
IDE vs2017 community.

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-07-13T02:31:19.093+00:00

    They're actively answering C++ question in dedicated forums here.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral

    --please don't forget to Accept as answer if the reply is helpful--


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.