K
Kevin Sun
I have a problem about non-managed code and managed code.Could you like to
give me some suggestion?
In a non-managed MFC application project, I add some managed codes and
these files are setted into /clrldSyntax. But the problem is that when the
debug exits, the non-managed object CApplicationApp(maybe all the global and
static objects)'s ~ctor is called twice.
In fact the managed code only is a function without any statement and is
never called.
I have been investigating for sereval days but haven't found any cause
or solution.
Could you help me? Thanks.
Good Luck.
Kevin Sun.
give me some suggestion?
In a non-managed MFC application project, I add some managed codes and
these files are setted into /clrldSyntax. But the problem is that when the
debug exits, the non-managed object CApplicationApp(maybe all the global and
static objects)'s ~ctor is called twice.
In fact the managed code only is a function without any statement and is
never called.
I have been investigating for sereval days but haven't found any cause
or solution.
Could you help me? Thanks.
Good Luck.
Kevin Sun.