Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: about menu Pin
David Crow12-Jul-06 6:35
David Crow12-Jul-06 6:35 
AnswerRe: about menu Pin
valikac12-Jul-06 6:51
valikac12-Jul-06 6:51 
AnswerRe: com basics Pin
RChin12-Jul-06 6:05
RChin12-Jul-06 6:05 
QuestionWriting plug-ins for media player Pin
dSolariuM12-Jul-06 5:31
dSolariuM12-Jul-06 5:31 
Questionwhat is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 5:22
method00712-Jul-06 5:22 
AnswerRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
David Crow12-Jul-06 5:31
David Crow12-Jul-06 5:31 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 6:04
method00712-Jul-06 6:04 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
led mike12-Jul-06 6:21
led mike12-Jul-06 6:21 
method007 wrote:
could u just show me how


Googling: MSDN InternetReadFile

produced hits where the second one listed is titled "Building an Internet Browser Using the Win32 Internet Functions". The following sample code is contained in that article which you could have easily found for yourself.

HINTERNET hNet = ::InternetOpen("MSDN SurfBear",
                                PRE_CONFIG_INTERNET_ACCESS,
                                NULL,
                                INTERNET_INVALID_PORT_NUMBER,
                                0) ;

HINTERNET hUrlFile = ::InternetOpenUrl(hNet,
                                "http://www.microsoft.com",
                                NULL,
                                0,
                                INTERNET_FLAG_RELOAD,
                                0) ;

char buffer[10*1024] ;
DWORD dwBytesRead = 0;
BOOL bRead = ::InternetReadFile(hUrlFile,
                                buffer,
                                sizeof(buffer),
                                &dwBytesRead);

::InternetCloseHandle(hUrlFile) ;

::InternetCloseHandle(hNet) ;


"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?"
Colin Angus Mackay in the C# forum

led mike
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 [modified] Pin
method00712-Jul-06 6:40
method00712-Jul-06 6:40 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
led mike12-Jul-06 7:05
led mike12-Jul-06 7:05 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 [modified] Pin
method00712-Jul-06 7:18
method00712-Jul-06 7:18 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
led mike12-Jul-06 8:22
led mike12-Jul-06 8:22 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 8:28
method00712-Jul-06 8:28 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
led mike12-Jul-06 9:05
led mike12-Jul-06 9:05 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 11:01
method00712-Jul-06 11:01 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
led mike12-Jul-06 12:11
led mike12-Jul-06 12:11 
GeneralRe: what is equivelent of Inet1.OpenURL in visual c++ 6 Pin
method00712-Jul-06 12:14
method00712-Jul-06 12:14 
QuestionUser Input revisted 2 [modified] Pin
Harold_Wishes12-Jul-06 5:02
Harold_Wishes12-Jul-06 5:02 
QuestionRe: User Input revisted 2 Pin
David Crow12-Jul-06 5:17
David Crow12-Jul-06 5:17 
AnswerRe: User Input revisted 2 [modified] Pin
Harold_Wishes12-Jul-06 5:39
Harold_Wishes12-Jul-06 5:39 
GeneralRe: User Input revisted 2 Pin
David Crow12-Jul-06 5:53
David Crow12-Jul-06 5:53 
GeneralRe: User Input revisted 2 [modified] Pin
Harold_Wishes12-Jul-06 6:12
Harold_Wishes12-Jul-06 6:12 
GeneralRe: User Input revisted 2 Pin
David Crow12-Jul-06 6:33
David Crow12-Jul-06 6:33 
GeneralRe: User Input revisted 2 Pin
Zac Howland12-Jul-06 10:12
Zac Howland12-Jul-06 10:12 
GeneralRe: User Input revisted 2 [modified] Pin
earl12-Jul-06 8:52
earl12-Jul-06 8:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.