Thanks that did the job Vijay Vijay S
Vijay S
Posts
-
Changing Icon for an .exe file -
Changing Icon for an .exe fileHi , I want to change the windows default icon of an .exe file to some of my own . The exe file I have does not any window for which I can load a resource and assign an icon. It is a simple console based application calling a few functions and it does not give out any output on the console. Can anyone suggest me a method to do so. Thanks Vijay
-
Sending ALT+CTRL+DEL to the systemThanks , I got the answer . I had to define _WIN32_WINNT as 0x0500 in order to use this function as it is defined in this section of Winuser.h Thanks :) Vijay S
-
Sending ALT+CTRL+DEL to the systemThanks Zoltan for your reply . But I am having a peculiar problem . I am not able to use the Function LockWorkStation(). I have included the file Windows.h and I am working on Windows 2000 Advanced Server. Still my code is not able to compile saying that the function is an undeclared identifier. In fact I am successfully able to use other similar functions like ExitWindows() etc. I even opened the Winuser.h (which is included in Windows.h and the function definition is there. I even tried it on other computers but the same result.?? And believe me I am not making a spelling mistake. If only you could make something out of it. :(( Vijay S
-
Sending ALT+CTRL+DEL to the systemHi, I want to send the keyboard message of ALT+CTRL+DEL to the system and Lock the computer programatically. I have tried the functions SendInput() and keybd_event() functions but they fail to send to this combination of key strokes while they send all other combinations of Keys inputs. Could anybody suggest me a way out? Thanks Vijay :) Vijay S