2006-02-21, 07:12 PM
sub when i call this pluginHelper.ReturnToMainMenu() (only in the one plugin the rest are fine) i get this error
that line is the pluginHelper.ReturnToMainMenu() call.
it is only happening in the one plugin which is strange, i think the problem is happening when its drawing the main menu.
if i switch to another plugin (using F4 etc) and then goto the main menu all is fine, its just that method call from that plugin.
any ideas?
oh i also get this error when i start a video from "my videos" and then switch to the inset (menu key), which also returns to the main menu.
Code:
22/02/2006 8:05:58 a.m..154 ERROR [2] Error: msg=0x100 (WM_KEYDOWN) hwnd=0x6e008e wparam=0x7a lparam=0x1 result=0x0 : System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr)
at xae10db17d26ba033.x86396f56243de9fb.render(Boolean& xbae0ec4fbb835d1e)
at xae10db17d26ba033.xbb1566157f5f8b1f.ReturnToMainMenu()
at MyVideosPlugin.MyVideosTask.ReturnToMainMenu() in c:\xmltv\my videos 5\myvideos.cs:line 1019
it is only happening in the one plugin which is strange, i think the problem is happening when its drawing the main menu.
if i switch to another plugin (using F4 etc) and then goto the main menu all is fine, its just that method call from that plugin.
any ideas?
oh i also get this error when i start a video from "my videos" and then switch to the inset (menu key), which also returns to the main menu.