Url+Buffer problem.

Hello,

I need to add a buffer to a specific url to open a page.

Here is my code for now:

hFile = InternetOpenUrl(hInternet,("www.site.com\"+buffer), NULL, 0, INTERNET_FLAG_RELOAD, 0);

What's the good way to do it?

Thx


Do you ask for joining a string literal and a variable string ? If so, use strcat() or std::string.
thanks a lot man!
Topic archived. No new replies allowed.