Run out of memory ? Maybe you can put a part of this code inside the loop en show the result while running. Than you see if there is a memory leak. cErrorLog += " Hardware memory: " + ; cValToChar( Int( nExtMem() / ( 1024 * 1024 ) ) + ...
... a possible workaround. The reason it is explained here: https://githubhot.com/repo/MicrosoftEdge/WebView2Feedback/issues/2156 This memory leak happens because the program doesn't enter the message loop. When there is no message loop ICoreWebView2CreateCoreWebView2ControllerCompletedHandler::Invoke() ...
Dear Jimmy, Thank you, I got it now. hi Dutch, OK, you have a TIMER and got Property This is the code that I use for looping vdo play. function BuildMPlayer2( oDlg, cFile, nTop, nLeft, nWidth, nHeight ) ... oActiveX2:url = cFile try change that line as "last" line this is the...
Dear cmsoft, Thank you for your idea. I will try as your suggestion. Hi Dutch, Today I have something like this running a video running in a loop, and it never stops. It is an informative terminal and shows the shifts. Adapt it so you get the idea. I hope it helps you. #include "FiveWin.ch"...
hi Dutch, OK, you have a TIMER and got Property This is the code that I use for looping vdo play. function BuildMPlayer2( oDlg, cFile, nTop, nLeft, nWidth, nHeight ) ... oActiveX2:url = cFile try change that line as "last" line this is the Place when load/play different Media...
Hi Dutch, Today I have something like this running a video running in a loop, and it never stops. It is an informative terminal and shows the shifts. Adapt it so you get the idea. I hope it helps you. #include "FiveWin.ch"#include "layout.ch"#include "xbrowse.ch"STATIC ...
Dear Jimmy, This is the code that I use for looping vdo play. DEFINE DIALOG oDlg SIZE nWndWidth, nWndHeight ; STYLE nOr( WS_CHILD, WS_POPUP ) ; COLOR CLR_BLACK, CLR_WHITE ; FONT oFont60 DEFINE TIMER oDlgCLose INTERVAL 10000 ACTION iif(MEMVAR->lCloseAll, (MEMVA...
hi Dutch, you can use CLSID "{6BF52A52-394A-11d3-B153-00C04F79FAA6}" or PROGID "WMPlayer.OCX.7" i wonder that it is working with "WMPlayer.OCX" without ".7" --- you need to "destroy" ActiveX oActiveX1 := nil but only when not used any more --- oActiv...
Dear Antonio, I search in internet and found below. It look better. oActiveX1:url := "" I will try as your suggestion and compare between below and above. I will let you know the result. Dear Dutch, Please try this: oActiveX1:Settings:setMode("loop",.T.) oActiveX1 := nil T...
Dear Jimmy, Thank you for your suggestion. What are different between "WMPlayer.OCX", "WMPlayer.OCX.7" and "{6BF52A52-394A-11d3-B153-00C04F79FAA6}"? It works as the same. hi Dutch, oActiveX1 = TActiveX():New( oDlg, "WMPlayer.OCX", nTop, nLeft, nWidth, nHeight ...
I've used WMPlayer.OCX to play MP4 file on Windows10. The memory leak after play 10 times from 1xx to 7xx MB. Then the vdo doesn't play anymore. The code is below. How do I release memory used? Thank you in advance for any idea or help. ...ACTIVATE DIALOG ...