tags:

views:

31

answers:

0

My problem is that my program only crashes when debugging using Visual Studio.

The background: My program comprising various modules accesses an Access 2007 database via one module. I installed Access 2010 to do some testing of it so we can see if we should use that runtime in a upcoming release. I built all my modules in debug and I can run my program fine using these debug modules.

When I start the program using Visual Studio 2008 it crashes when the code does the line of code. m_SysVRS is a DAO::RecordsetPtr.

m_SysVRS->Update(dbUpdateRegular, VARIANT_FALSE);

The code crashes in comip.h and deletes the stack. The Update works fine outside Visual Studio as the rows in the db are updated.

Does anybody have any ideas?