A question about developing a desktop application

  • Thread starter Thread starter 农码
  • Start date Start date

农码

Guest
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.


Continue reading...
 
Back
Top