Infognition forum
August 01, 2010, 06:52:45 AM *
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.3
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: GetPin not working  (Read 182 times)
csd-gw
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« on: March 16, 2010, 04:59:03 PM »

As a new user to GraphEditPlus, I have asked GEP to render a wave file and it built a very simple graph
using 'WaveParser', and plays the file fine within GEP.
I generate the C++ code and import it into Borland C++ builder (console app)

I need to change the (deprecated) POSIX wcsicmp to _wcsicmp to enable compiling.

When run I get the output:

Building graph...
Pin not found!
Pin not found!
Error 80004003: Cant connect FileSource (Async.) and Wave Parser
Invalid pointer


When GetPin is called looking for 'input pin' of the WaveParser, only one pin is tested,
but pinfo.achName is empty (""). (Similarly when looking for "Output" on the FileSourceAsync).

I don't think that the cange from the POSIX function is the issue, as when I inspect pinfo.achName
I don't see the expected name.

What should I try?

CSD
Logged
mdortiz
Newbie
*

Karma: +0/-0
Posts: 5


View Profile
« Reply #1 on: March 17, 2010, 09:49:20 PM »

Try using the full path to the file, maybe it can't find it?

Did you modify c++ code? (other than the one you mention)


Check for NULL pointers...

Error 80004003 =
HRESULT: 0x80004003 (2147500035)
Name: E_POINTER
Description: Invalid pointer
Severity code: Failed
Facility Code: FACILITY_NULL (0)
Error Code: 0x4003 (16387)
Logged
Dee Mon
Administrator
Sr. Member
*****

Karma: +7/-0
Posts: 271



View Profile WWW
« Reply #2 on: March 19, 2010, 09:43:46 AM »

If you want to render a file you don't need to build the graph manually. You can just use IGraphBuilder::RenderFile().

If you need to build it manually, you can use IGraphBuilder::AddSourceFilter() and  ICaptureGraphBuilder2::RenderStream(), the system will insert proper parsers automatically.
Logged
Pages: [1]
  Print  
 
Jump to:  

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