samplehtmlappwidget | developer.brewmp.com samplehtmlappwidget | developer.brewmp.com

Developer

samplehtmlappwidget

The sample html app widget example in the UI Widgets examples does not run. It only shows a blank screen when run. Did anyone face the same problem? How did you fix it?

The problem is the null pointer error. Did anyone figure this out yet?
// open file from directory : simulating a web connection here
piFile = IFILEMGR_OpenFile(me->piFileM, pszFilename,_OFM_READ);
nErr = IFILEMGR_GetLastError(me->piFileM);
nErr = ISOURCEUTIL_SourceFromAStream(me->piSourceUtil, (IAStream*)piFile, &piSource);
piwHtml = 0x00000000
piDocModel=0x00000000
piViewModel=0x00000000
piFileM=0x00000000

The problem is the null pointer error. Did anyone figure this out yet?
// open file from directory : simulating a web connection here
piFile = IFILEMGR_OpenFile(me->piFileM, pszFilename,_OFM_READ);
nErr = IFILEMGR_GetLastError(me->piFileM);
nErr = ISOURCEUTIL_SourceFromAStream(me->piSourceUtil, (IAStream*)piFile, &piSource);
piwHtml = 0x00000000
piDocModel=0x00000000
piViewModel=0x00000000
piFileM=0x00000000