Skip to content

Error BASE/1004 No exported method: CPROTO #384

Open
@pwypustek

Description

@pwypustek

#include "hbclass.ch"

FUNCTION Main()
LOCAL oHttp := TIPClientHttp():New() // tworzenie obiektu
LOCAL cHtml

    IF oHttp:Open( "example.com", 80 )
        oHttp:cProto := "GET"
        cHtml := oHttp:ReadAll( "/" )
        ? "Rec:"
        ? Left( cHtml, 200 )
        oHttp:Close()
    ELSE
        ? "Error"
    ENDIF  

RETURN NIL

C:\hb\bin\win\msvc\hbmk2.exe ./main.prg -lhbtip
Windows 11
MS Visual Studio 2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions