Standalone applications

Hello everyone,

I am writting a standalone application that is meant to connect toand interact with SolidWorks. I have noticed that if i try to runthe exe on a machine that does not have SolidWorks installed itcrashes without giving out any helpful reason. I have also noticedthat if i run the application form a shared location on the networkon a machine that does have solidworks it still crashes.

Is there a way to detect if a machine has SolidWorks installed oreven is there a way to avoid this crash and just inform the userthat the machine he is on does not have SolidWorks?

Cheers,

--stav.SolidworksApi macros