Deployment COM Objects

Hi, I'm trying to deploy a project with VS2012.

This project references two DLL and works as a standalone, background application:

C:\Program Files\Solidworks Corp\SolidWorks\api\redist\SolidWorks.Interop.swconst.dll

C:\Program Files\Solidworks Corp\SolidWorks\api\redist\SolidWorks.Interop.sldworks.dll

After deployment, I've a folder with all of my software, but without that 2 DLL files, and I think that is correct,

app will search for them locally in the default SolidWorks installation path.

Ok, starting main executable  (in the deploy folder) results in launching SLDWORKS.exe process

(I see it in task manager, so DLL are correctly found), but communication with it doesn't work properly.

Everythig works fine if I launch the software from development folder (i.e. debug).

Anyone can help me with this? Many thanks.

SolidworksApi macros