C++ error. undefined type 'Project'

Date : Thu, 14 Jul 2005 16:41:27 +0100
To : xsi(at)Softimage.COM
From : Alan Jones <skyphyr(at)gmail.com>
Subject : C++ error. undefined type 'Project'
Hi All,

Any ideas why I'd be getting this error? 

error C2027: use of undefined type 'Project'
        c:\softimage\xsi_4.2\xsisdk\include\xsi_application.h(30) :
see declaration of 'Project'

All I'm trying to do is
	XSI::Application app;
	XSI::Property PlayControl =
app.GetActiveProject().GetProperties().GetItem(L"Play Control");
	
	float start = PlayControl.GetParameterValue(L"in");
	float end = PlayControl.GetParameterValue(L"out");

but it seems to think (and from reading the .h it looks true enough)
that Project isn't defined, only declared.

Is there something I've missed in my includes or setup?

Cheers,

Alan.

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.