Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhich siurce control is current now for Visual Studio 7.1 ? Pin
vgrigor19-Oct-03 23:53
vgrigor19-Oct-03 23:53 
GeneralRe: Calling Convention Problem Pin
jmkhael19-Oct-03 23:40
jmkhael19-Oct-03 23:40 
GeneralRe: Calling Convention Problem Pin
Tarundeep Singh Kalra19-Oct-03 23:44
Tarundeep Singh Kalra19-Oct-03 23:44 
GeneralRe: Calling Convention Problem Pin
Steve S20-Oct-03 0:03
Steve S20-Oct-03 0:03 
GeneralCalling Convention Problem Pin
Tarundeep Singh Kalra19-Oct-03 23:37
Tarundeep Singh Kalra19-Oct-03 23:37 
Generallaunch application Pin
boon kian19-Oct-03 23:09
boon kian19-Oct-03 23:09 
GeneralRe: launch application Pin
Abhi@Work19-Oct-03 23:34
Abhi@Work19-Oct-03 23:34 
GeneralLinking problem : check Internet connection with InetIsOffline() Pin
Abhi@Work19-Oct-03 22:46
Abhi@Work19-Oct-03 22:46 
Hi!!!

I am trying to check Internet connection on a system with the InetIsOffline().

But getting errors like
D:\Program Files\Microsoft SDK\include\IntShCut.h(220) : error C2065: 'IUnknown' : undeclared identifier

I have included intshcut.h and linked statically "url.lib". I am using VC 6.0 on Windows 2000 SP4 and IE6. Here is the code snippet

#include "stdafx.h"
#include "Wininet.h"
#include "stdio.h"
#include "stdlib.h"
#include "IntShCut.h"

nt APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{

BOOL bConnected;
bConnected = InetIsOffline(0);
/*
Other code
*/
}

I am sniffing a linking problem but have no clue. I have put url.lib in Project /Settings/ Link / library modules.

Thanx in advance.

GeneralRe: Linking problem : check Internet connection with InetIsOffline() Pin
David Crow20-Oct-03 2:38
David Crow20-Oct-03 2:38 
GeneralRe: Linking problem : check Internet connection with InetIsOffline() Pin
Abhi@Work20-Oct-03 16:06
Abhi@Work20-Oct-03 16:06 
GeneralRe: Linking problem : check Internet connection with InetIsOffline() Pin
Abhi@Work20-Oct-03 16:17
Abhi@Work20-Oct-03 16:17 
GeneralForce Registry to update Pin
soul.ripper19-Oct-03 21:44
soul.ripper19-Oct-03 21:44 
GeneralRe: Force Registry to update Pin
David Crow20-Oct-03 2:42
David Crow20-Oct-03 2:42 
GeneralRe: Force Registry to update Pin
soul.ripper20-Oct-03 3:20
soul.ripper20-Oct-03 3:20 
GeneralRe: Force Registry to update Pin
David Crow20-Oct-03 3:43
David Crow20-Oct-03 3:43 
GeneralRe: Force Registry to update Pin
Michael Dunn20-Oct-03 4:39
sitebuilderMichael Dunn20-Oct-03 4:39 
GeneralInstalling SOAP on 98 / 2000 ... Pin
Braulio Dez19-Oct-03 21:41
Braulio Dez19-Oct-03 21:41 
GeneralChanging background color of an edit control Pin
marigold_1219-Oct-03 21:12
marigold_1219-Oct-03 21:12 
GeneralRe: Changing background color of an edit control Pin
YaronNir19-Oct-03 22:04
YaronNir19-Oct-03 22:04 
GeneralRe: Changing background color of an edit control Pin
marigold_1221-Oct-03 21:06
marigold_1221-Oct-03 21:06 
GeneralSocket Callback Mystery!?! Pin
kbilly19-Oct-03 20:06
kbilly19-Oct-03 20:06 
GeneralRe: Socket Callback Mystery!?! Pin
jmkhael20-Oct-03 1:23
jmkhael20-Oct-03 1:23 
GeneralRe: Socket Callback Mystery!?! Pin
Alexander M.,20-Oct-03 2:41
Alexander M.,20-Oct-03 2:41 
GeneralClass missing in Class view pane Pin
eowyn19-Oct-03 19:30
eowyn19-Oct-03 19:30 
GeneralRe: Class missing in Class view pane Pin
Anonymous19-Oct-03 20:38
Anonymous19-Oct-03 20:38 

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.