Home > Software engineering >  On Windows desktop applications use bat script starts, cannot show ico icon and PNG file anomalies o
On Windows desktop applications use bat script starts, cannot show ico icon and PNG file anomalies o

Time:11-08

Edited adjustment
Please technology to support for sure,,

Recently developed A small desktop software based on the MFC dialog (called display software B), mainly displays the ico icon and PNG images, ico icon have another program (called A) background change through send_message news, PNG images obtained from httprequest query back-end services A numerical, display the corresponding pictures,

Background services after A start, just start display software B,

Use the bat wrote A startup script B, A script in the user starts directory (startup folder),

Is the set of software has been deployed in more than 10 PCS of the same configuration, there are 2 sets appear the following situation:
Electricity starts, ico icon and PNG images don't show (data, and have the tooltip can display updates),
After the cancellation of Windows login to log into the system, ico icon and PNG images showed normal,
Program USES double click the mouse left key operation, everything is normal,

System has shut down procedures after closing store application state,

Runtime environment operating system:
Win10 x64
Development environment
Windows 7 x64
IDE
VS2017

Still thank moderator, the reader, the attention of Daniel, good code farmers had no bug

CodePudding user response:

Play the log, see what mistakes when loading,
  • Related