Started by Juergen Kuehlwein, June 22, 2018, 06:25:36 PM
0 Members and 1 Guest are viewing this topic.
Quotebut it doesn't fail consistently in the same place
hr = IGraphBuilder_RenderFile(c->pIGraphBuilder, @wtext, NULL)
DIM wstyle as UINTEGERDIM xstyle as UINTEGERDIM fixedsize as UINTEGERDIM wflag as UINTEGERDIM hflag as UINTEGERDIM cx AS uinteger 'xDIM cy AS uinteger 'yDIM p AS uinteger 'percentageDIM w AS uinteger 'widthDIM h AS uinteger 'height
c = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, SIZEOF(movie_data)) 'allocate memory for data
' // This will modify the passed WSTRINGSUB Foo (BYREF x AS WSTRING) x = "some text" ...END SUB
SUB Foo (BYREF x AS CONST WSTRING) DIM cws AS CWSTR = x cws = "some text" ...END SUB
Quoteconsisting in changing BYREF AS WSTRING to BYREF AS CONST WSTRING
SUB Foo (BYREF x AS WSTRING) x = "some text"END SUBDIM ws AS WSTRING * 260 = "Test string"Foo wsprint ws
Page created in 0.261 seconds with 21 queries.