Problem running C# code on windows 98

  • Thread starter Thread starter vikas
  • Start date Start date
V

vikas

I have an application written in c# using microsoft vis
studio .net 2003. It works fine on win 2000 and win XP
but when I run on win 98 machine it throws exception with
message R6025- Pure virtual function call. I checked the
code and I don't see any pure virtual function call in my
code.

Has any one else run into this problem and what can I do
to avoid that?

Thanks
Vikas
 
Thanks for the reply.

There is main form where an instance of second form is
created as below

frmExport frm = new frmExport();
frm.ShowDialog();

if (frm.DialogResult == DialogResult.OK)

{
// do some processing
}



In frmExport there is method called export which returns
DialogResult depending upon the processing that occurs
in export method.

private void frmImport_Load(object sender,
System.EventArgs e)
{
this.DialogResult = Import();
this.Close();
}


Most of the time this exception is thrown after this.Close
() and before value is returned to the first form.


Thanks

Vikas
 
Back
Top