Thread: InternetOpenURLA

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    10

    InternetOpenURLA

    I'm trying to figure this out but anything I do gives me errors

    Code:
    		hINet = InternetOpen("InetURL/1.0", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 );
    		hConnection = InternetConnect( hINet, "www.com", 80, " "," ", INTERNET_SERVICE_HTTP, 0, 0 );
    Some websites tell me to use some query api to load the sourcecode into a variable but it is some strange packet request.

    If anybody has any advice or just a direction to point me in, it will be welcomed greatly

  2. #2
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    And what are the errors? Are they compile errors? Runtime errors?
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    10
    Code:
    error LNK2001: unresolved external symbol __imp__InternetCloseHandle@4
    error LNK2001: unresolved external symbol __imp__InternetReadFile@16
    error LNK2001: unresolved external symbol __imp__InternetOpenUrlA@24
    error LNK2001: unresolved external symbol __imp__InternetConnectA@32
    error LNK2001: unresolved external symbol __imp__InternetOpenA@20
    Last edited by todd14; 08-22-2007 at 08:46 AM.

Popular pages Recent additions subscribe to a feed