GCDEF,

In my case I defined the struct "print form[]" globally in a FORMVIEW app, in you case you defined it local to "_tmain".

I tried sticking your example inside a my FormView::OnPrint function, still wouldn't compile. Getting

error C2440: 'initializing' : cannot convert from 'const int' to 'struct print'
No constructor could take the source type, or constructor overload resolution was ambiguous