I have a win32 program, when run manually, it display a message in WinMain, but when I put the same program under registry (Run) so that when the PC reboots, it will run automatically, the message will never appear (but the program run normally).
Anyone knows why there is a difference between starting the program manually (by clicking the exe file) and automatically (via Windows Registry)?
Thanks
Clement