Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Transparent Control on Gradient Fill Dialog Box.. Pin
gothic_coder6-Oct-08 20:11
gothic_coder6-Oct-08 20:11 
GeneralRe: Transparent Control on Gradient Fill Dialog Box.. Pin
gothic_coder7-Oct-08 1:12
gothic_coder7-Oct-08 1:12 
Questioncompile error for function InternetOpen Pin
George_George6-Oct-08 1:27
George_George6-Oct-08 1:27 
AnswerRe: compile error for function InternetOpen Pin
_AnsHUMAN_ 6-Oct-08 1:31
_AnsHUMAN_ 6-Oct-08 1:31 
GeneralRe: compile error for function InternetOpen Pin
George_George6-Oct-08 1:51
George_George6-Oct-08 1:51 
AnswerRe: compile error for function InternetOpen Pin
enhzflep6-Oct-08 1:36
enhzflep6-Oct-08 1:36 
GeneralRe: compile error for function InternetOpen Pin
George_George6-Oct-08 1:53
George_George6-Oct-08 1:53 
GeneralRe: compile error for function InternetOpen Pin
Rajesh R Subramanian6-Oct-08 1:59
professionalRajesh R Subramanian6-Oct-08 1:59 
George_George wrote:
So weird.


Actually, there's nothing weird. To start with it, the first error message that you got was:

1>c:\program files\microsoft sdks\windows\v6.0a\include\wininet.h(58) : error C2146: syntax error : missing ';' before identifier 'HINTERNET'

When you open the error location, you find this:

typedef LPVOID HINTERNET;

So, the error clearly suggests that LPVOID is not being recognized as anything at all - a semicolon is expected there. If you try to locate the definition of LPVOID, it is within WinDef.h

But, WinDef.h is included in Windows.h - so, Windows.h must be included before wininet.h Smile | :)

Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche

.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]

GeneralRe: compile error for function InternetOpen Pin
George_George6-Oct-08 2:01
George_George6-Oct-08 2:01 
Question[Message Deleted] Pin
TALHAKOSEN6-Oct-08 1:09
TALHAKOSEN6-Oct-08 1:09 
AnswerRe: how to get specific textbox hwnd ?? Pin
enhzflep6-Oct-08 1:29
enhzflep6-Oct-08 1:29 
Questionfull code for comparing bitmaps Pin
kaushal kishore sharma6-Oct-08 0:42
kaushal kishore sharma6-Oct-08 0:42 
AnswerRe: full code for comparing bitmaps Pin
Michael Schubert6-Oct-08 0:46
Michael Schubert6-Oct-08 0:46 
GeneralRe: full code for comparing bitmaps Pin
kaushal kishore sharma6-Oct-08 0:51
kaushal kishore sharma6-Oct-08 0:51 
GeneralRe: full code for comparing bitmaps Pin
Rajesh R Subramanian6-Oct-08 0:56
professionalRajesh R Subramanian6-Oct-08 0:56 
GeneralRe: full code for comparing bitmaps Pin
Michael Schubert6-Oct-08 1:01
Michael Schubert6-Oct-08 1:01 
AnswerRe: full code for comparing bitmaps Pin
CPallini6-Oct-08 0:52
mveCPallini6-Oct-08 0:52 
GeneralRe: full code for comparing bitmaps Pin
Rajesh R Subramanian6-Oct-08 0:54
professionalRajesh R Subramanian6-Oct-08 0:54 
GeneralRe: full code for comparing bitmaps Pin
CPallini6-Oct-08 0:55
mveCPallini6-Oct-08 0:55 
GeneralRe: full code for comparing bitmaps Pin
kaushal kishore sharma6-Oct-08 0:56
kaushal kishore sharma6-Oct-08 0:56 
GeneralRe: full code for comparing bitmaps Pin
Michael Schubert6-Oct-08 0:59
Michael Schubert6-Oct-08 0:59 
GeneralRe: full code for comparing bitmaps Pin
Maximilien6-Oct-08 1:02
Maximilien6-Oct-08 1:02 
AnswerRe: full code for comparing bitmaps Pin
kaushal kishore sharma6-Oct-08 5:50
kaushal kishore sharma6-Oct-08 5:50 
GeneralRe: full code for comparing bitmaps Pin
Michael Schubert6-Oct-08 0:59
Michael Schubert6-Oct-08 0:59 
GeneralRe: full code for comparing bitmaps Pin
Hamid_RT6-Oct-08 4:56
Hamid_RT6-Oct-08 4:56 

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.