Skip navigation.
Home
The QNX Community Portal

View topic - PtWebClient Demo

PtWebClient Demo

Discussion about the general applications that run on QNX6

PtWebClient Demo

Postby Sujith Varghese » Tue Nov 18, 2014 7:11 am

Hello All,

We are using PtWebclient demo provided in the download/file.php?id=186 for displaying a custom web page from local drive.
The modifications done on the source code are

int
base_setup( PtWidget_t *link_instance, ApInfo_t *apinfo, PtCallbackInfo_t *cbinfo )

{
PtArg_t args[2];
printf ("base_setup\n");
PtSetArg( &args[0], Pt_ARG_WEB_SERVER, "vserver.file", 0 );
PtSetResources( ABW_Base_web_client, 1, args );
PtSetArg( &args[0], Pt_ARG_WEB_GET_URL ,"file:///home/test.html", Pt_WEB_ACTION_DISPLAY );
PtSetResources( ABW_Base_web_client, 1, args );

return( Pt_CONTINUE );

}

But the mentioned html page didn't displayed on Window. Can you provide some helpful hint on this issue.
Sujith Varghese
New Member
 
Posts: 3
Joined: Thu Nov 13, 2014 8:04 am

Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 1 guest

cron