Sep 17, 2018 #1 Diggu Programmer Joined Sep 17, 2018 Messages 1 Location IN ShellExecute() is declared in Shellapi.h or windows.h? The biggest problems have the simplest solutions. https://www.springpeople.com/
ShellExecute() is declared in Shellapi.h or windows.h? The biggest problems have the simplest solutions. https://www.springpeople.com/
Sep 17, 2018 #2 xwb Programmer Joined Jul 11, 2002 Messages 6,828 Location GB Easy way to help yourself Code: #include <windows.h> #include <shellapi.h> int main () { ShellExecute(); } This will produce an error. Highlight ShellExecute, right click and select Goto Definition. This will pop up the file where it is declared. Alternatively, Code: cd /d c:\p*86* cd "Micro* SDKs" findstr /s ShellExecute *.h This would have taken 5 minutes instead of the few hours/days that you've spent waiting for the answer. Upvote 0 Downvote
Easy way to help yourself Code: #include <windows.h> #include <shellapi.h> int main () { ShellExecute(); } This will produce an error. Highlight ShellExecute, right click and select Goto Definition. This will pop up the file where it is declared. Alternatively, Code: cd /d c:\p*86* cd "Micro* SDKs" findstr /s ShellExecute *.h This would have taken 5 minutes instead of the few hours/days that you've spent waiting for the answer.