If you try to set a title for a window and you don't define one in the .def file you will get an exception.
Here is the code I used:
app.cpp
csRef<iAwsComponent> wnd = i_aws->CreateWindowFrom("Window");
scfString str("Fuh");
wnd->SetProperty("Title", reinterpret_cast<intptr_t>(&str));
my.def
window "Window"
{
Frame: (0,0) - (400,100)
# Title: ""
}
I think the error is in awsWindow::SetProperty (awswin.cpp line 296):
title->DecRef ();
I use the CVS version of CS but it's a few days old.
btw: can anyone please write a good aws documentation?