Actually this is a stand-alone EXE, so I am destroying my object at the end
of my cusPrintDrawings() subroutine.
Thanks for the tip anyways, because I will creating some add-ins in the near
future.
The strangest thing is that on my development machine it works perfect and
at the client site when I installed it, it crashes on ALL 3 machines that I
installed my app on!
All machines are XP pro, Inv 8 + SP1, and essentially my app performs its
required task, its just that this Autodesk error box pops up when I destroy
the Inv object, which doesnt even affect my app, but it just looks and
sounds awful, like something has gone catastrophically wrong.
Ugh...
"RobertWilliams" wrote in message
news:40bf7593_2@newsprd01...
> Mike: Is this an add-in or stand-alone exe?
>
> In an add-in you should set your Inventor object to nothing in the
> ApplicationAddInServer_Deactivate() event in your main add-in class. Do
you
> have it elsewhere? If so, perhaps this is causing the Hard Crash.
>
> Private Sub ApplicationAddInServer_Deactivate()
>
> Set INVapp = Nothing
>
> End Sub
>
> rw
> --
> Robert A. Williams
> http://www.leacar.com
>
> "Mike Rand" wrote in message
> news:40bf649d$1_3@newsprd01...
> Hi All,
>
> I have a custom application built in VB 6.0
>
> I launch some routines and perform various operations on Inventor files
> without problem, but when I try to clean up and close my Inventor object
and
> set it to Nothing, I get a crash and one of those General Autodesk errors.
>
> Has anyone else experienced behavior like this? What are some possible
> reasons behind this? HAs anyone heard about problems with Inventor when an
> Antivirus software is installed and running?
>
> Thx!
>
>