ikalganov / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

DisplayPropertyPage in directshow in vista/Windows 7 fails #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.call DisplayProperty Page
2.
3.

What version of the product are you using?
2.0.1

Original issue reported on code.google.com by king...@gmail.com on 28 Sep 2009 at 8:24

GoogleCodeExporter commented 8 years ago
It works fine for me on several Vista PCs.

1. Do you 32-bit or 64-bit system>
2. Does it fail when camera is running? Or it also fails when camera is not 
running?
3. Do you get exception? Or property page just does not appear?

Original comment by andrew.k...@gmail.com on 29 Sep 2009 at 8:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
See issue #106:
http://code.google.com/p/aforge/issues/detail?id=106

Original comment by andrew.k...@gmail.com on 13 Oct 2009 at 2:21

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 13 Oct 2009 at 2:22

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 5 Nov 2009 at 2:03

GoogleCodeExporter commented 8 years ago
I get an exception. I am using 64 bit machine. It says olepro32.dll not found

Original comment by king...@gmail.com on 5 Nov 2009 at 5:01

GoogleCodeExporter commented 8 years ago
That is bad.

Where have you been before when I was asking for additional details?

Anyway. Don't have 64 bit system now, so the fix will need to wait.

Original comment by andrew.k...@gmail.com on 5 Nov 2009 at 5:04

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 5 Nov 2009 at 5:05

GoogleCodeExporter commented 8 years ago
Sorry got busy with other stuff and now I'm back to it. 

Original comment by king...@gmail.com on 5 Nov 2009 at 8:20

GoogleCodeExporter commented 8 years ago
I have solution for the problem.
The olepro32.dll is not in System32 folder, so it is only x86 version.
But OleCreatePropertyFrame method oresent also in library oleaut32.dll, which 
is 
present in System32 folder.

So simple change in Win32.cs file in the line DllImport() from olepro32.dll to 
oleaut32.dll solves the problem. (After recompiling)

Original comment by superd...@gmail.com on 20 Nov 2009 at 5:02

GoogleCodeExporter commented 8 years ago
Thank you for the hint. It seems to work.

Committed in revision 1142. Will be released in 2.1.x version.

Original comment by andrew.k...@gmail.com on 23 Nov 2009 at 10:04

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 24 Jan 2010 at 2:31