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:

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 solutions, or I'll need to use external bat launchers to open it >> system("open_site.bat")? :angry:

Thanks!

Recommended Answers

All 3 Replies

Are you trying to Launch a Browser or get the HTML from a page?

That works ok for me using vc++ 2010 express.

Are you trying to Launch a Browser or get the HTML from a page?

I'm trying to open concrete url in default browser.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.