D
Dennis
I have an ASP.NET Web Service C++ project using managed extensions. It
starts out working, but adding the last line in this sample code
causes everything to stop working.
// Initialize Win32 C++ dll
...
// Create one of our collection classes (defined in the dll)
CVOCollection coll(CMetaSet( _T("$\\cgActivities") ));
// Execute the query
coll.Select();
// Some simple tests
int count = coll.GetCount(); // this works
int count2 = coll.Current().GetFieldCount(); // this works
// With this line in, the simple tests above fail, but
// comment out this line and they work. That is not logical.
//CField* pField = coll.Current().GetField("Activity");
Help! Thanks.
starts out working, but adding the last line in this sample code
causes everything to stop working.
// Initialize Win32 C++ dll
...
// Create one of our collection classes (defined in the dll)
CVOCollection coll(CMetaSet( _T("$\\cgActivities") ));
// Execute the query
coll.Select();
// Some simple tests
int count = coll.GetCount(); // this works
int count2 = coll.Current().GetFieldCount(); // this works
// With this line in, the simple tests above fail, but
// comment out this line and they work. That is not logical.
//CField* pField = coll.Current().GetField("Activity");
Help! Thanks.