Link to home
Start Free TrialLog in
Avatar of nasa000
nasa000

asked on

Assertion at program start (involving CTime and processshellcommand)

Hi,

I am writing an application using vc++ 6.  When I start my app I get multiple (10+) assertion errors for a line under CTime:

     ASSERT(nDay >= 1 && nDay <= 31);

This is being called from the app initinstance function.  All this code was added by VC++ -- I haven't done anything with time (at least I don't think so).  

Ignoring the assertions allows the program to continue as expected.

I would like to fix this annoying problem, but am unsure where to look.  


Any help would be greatly appreciated.


Nasa
ASKER CERTIFIED SOLUTION
Avatar of fl0yd
fl0yd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nasa000
nasa000

ASKER

No, I hadn't initilazed my dates in my constructors -- didn't realize I had to.  Fixed the problem, updated the database and it all cleared up!  Thanks


Nasa