- Joined
- Dec 23, 2011
- Messages
- 24
- Reaction score
- 1
Hello, i have been trying to use C++ to launch a URL. I am not very good at c++ and know very little.
this is the code, i have been using : -
#include <windows.h>
void main()
{
ShellExecute(NULL, "open", "http://google.co.uk",
NULL, NULL, SW_SHOWNORMAL);
}
but i get an error messgae, can anyone write me up a new code or correct this one? tyvm
this is the code, i have been using : -
#include <windows.h>
void main()
{
ShellExecute(NULL, "open", "http://google.co.uk",
NULL, NULL, SW_SHOWNORMAL);
}
but i get an error messgae, can anyone write me up a new code or correct this one? tyvm

