Infognition forum
February 08, 2012, 10:12:31 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Last GraphEditPlus version: 1.4.0   Last Video Enhancer version: 1.9.7
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Exception on Win64  (Read 2667 times)
dpaxson
Newbie
*

Karma: +1/-0
Posts: 12


View Profile
« on: June 10, 2009, 01:45:07 AM »

Hi,

I upgraded to an XP 64-bit system and am running Graph Edit Plus.

When I ran as 64-bit and then tried to pull up the property page of the "Hauppage HD PVR Encoder", I got the following exception:



Text:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.DllNotFoundException: Unable to load DLL 'olepro32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at ..(IntPtr , Int32 , Int32 , String , Int32 , Object[] , Int32 , IntPtr , Int32 , Int32 , IntPtr )
   at ..(IBaseFilter , IntPtr )
   at ..(Object , EventArgs )
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at ..WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
gep
    Assembly Version: 1.3.3.0
    Win32 Version: 1.3.3.0
    CodeBase: file:///C:/Program%20Files%20(x86)/GraphEditPlus/GraphEditPlus.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DirectShowLib-2005
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/GraphEditPlus/DirectShowLib-2005.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




Thanks,

David
Logged
dpaxson
Newbie
*

Karma: +1/-0
Posts: 12


View Profile
« Reply #1 on: June 10, 2009, 01:49:30 AM »

If I use GraphEditPlus 32-bit and use the same "Hauppage HD PVR Encoder", nothing happens.

When I use the "Hauppauge HD PVR Crossbar", it also crashes with GraphEditPlus 64-bit but it pulls up the property page under GraphEditPlus 32-bit.

If I use the "MPEG-2 Demultiplexer", I also get the crash in 64-bit and nothing happening with 32-bit.
Logged
dpaxson
Newbie
*

Karma: +1/-0
Posts: 12


View Profile
« Reply #2 on: June 10, 2009, 01:59:30 AM »

Hmmm....  Further research shows olepro32.dll has been replaced with oleaut32.dll, so most likely that should be used instead.
Logged
Dee Mon
Administrator
Hero Member
*****

Karma: +8/-0
Posts: 512



View Profile WWW
« Reply #3 on: June 10, 2009, 10:38:09 AM »

Thanks for the info!
GEP doesn't control inner workings of third-party filters and COM, it just asks DirectShow to show a property page.
But if this problem is more general, we'll see what we can do about it.
Logged
dpaxson
Newbie
*

Karma: +1/-0
Posts: 12


View Profile
« Reply #4 on: July 01, 2009, 09:56:26 PM »

One thing you can do about it is to switch your DllImport from olepro32.dll to oleaut32.dll for the OleCreatePropertyFrame call.  I encountered this same problem with my .NET application to interact with DirectShow property pages.

Any chance you can make that change quickly and get a new version of GraphEditPlus out?

Thanks,

David
Logged
Dee Mon
Administrator
Hero Member
*****

Karma: +8/-0
Posts: 512



View Profile WWW
« Reply #5 on: July 02, 2009, 08:44:39 PM »

I need to investigate the issue a bit. I guess you can expect a new version next week.
Logged
dpaxson
Newbie
*

Karma: +1/-0
Posts: 12


View Profile
« Reply #6 on: July 02, 2009, 09:28:36 PM »

Ok, thanks.
Logged
Dee Mon
Administrator
Hero Member
*****

Karma: +8/-0
Posts: 512



View Profile WWW
« Reply #7 on: July 10, 2009, 02:09:24 PM »

Version 1.3.4 is out. You were absolutely right, switching from olepro32 to oleaut32 solves the problem. Old MSDN states olepro32, and the new one oleaut32. We had to test it in different Windows versions (XP 32, Vista 32, Win7 64) to be sure nothing breaks.
Download link:
http://www.thedeemon.com/GraphEditPlus/GraphEditPlusSetup.exe
Logged
bnordstrom@claritymsi.com
Newbie
*

Karma: +1/-0
Posts: 1


View Profile
« Reply #8 on: August 05, 2011, 08:40:08 PM »

Hello!  I've tried everything above, but still having a crash.  Here are the details:

Here is my system info:  Windows 7 Pro, service pack 1, Latest Win 7 SDK installed.


Here is information of AviDest Filter that has problem: CLSID= {E2510970-F137-11CE-8B67-00AA00A3F1A6}


 
I right click on AviDest, get menu for “Scan Filters” and “Properties”, I select “Properties:, and immediately get this crash:


 

Full dump is below:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at  .  . (IntPtr , Int32 , Int32 , String , Int32 , Object[] , Int32 , IntPtr , Int32 , Int32 , IntPtr )
   at  .  . (IBaseFilter , IntPtr )
   at  . .  (Object , EventArgs )
   at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.Command.Invoke()
   at System.Windows.Forms.Control.WmCommand(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at  . .WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
gep
    Assembly Version: 1.4.0.0
    Win32 Version: 1.4.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/GraphEditPlus/GraphEditPlus.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DirectShowLib-2005
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/GraphEditPlus/DirectShowLib-2005.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Logged
Dee Mon
Administrator
Hero Member
*****

Karma: +8/-0
Posts: 512



View Profile WWW
« Reply #9 on: August 06, 2011, 09:34:45 AM »

That's a different issue, the crash happens inside AviDest filter. Thanks for the report!
By its CLSID I see it should be the same filter as AVI Mux. Do you have AVI Mux in the list? Does it behave the same? Do other filters show their property page?
Logged
Dee Mon
Administrator
Hero Member
*****

Karma: +8/-0
Posts: 512



View Profile WWW
« Reply #10 on: August 09, 2011, 10:01:22 AM »

Well, we can't reproduce this on our Win7 64-bit. Both 32 and 64 bit versions of GraphEditPlus show the property page of AVI Mux without problems, but we don't have AviDest in the list of filters.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!