BorlandC++ Builder Launch a Web Site

closed account (z6X8T05o)
Hi,

I need help about launching a web site in default browser using Borland ( button click = launch google.com, for example ).

I found solution valid in DEV:

1
2
ShellExecute(NULL, "open", "http://google.net",
			NULL, NULL, SW_SHOWNORMAL);


But it shows an error if used in Borland:


Access violation at address 0A1826C8 in module 'bordbk61.dll'. Write of address DD57D84A


And program freezes afterwards.

Any solution?

Thanks!
Last edited on
Your cracked version of Borland is not good, drop it and get a real compiler instead, like MinGW or Visual Studio.
Topic archived. No new replies allowed.