Ok just copy all functions out of the project in yours. With the function "getCCAPI_IP()" you will get the IP of your PS3. Then you can easily connect and attach the current game like this:
string ip = getCCAPI_IP();
CCAPI dex = new CCAPI();
dex.ConnectTarget(ip);
dex.AttachProcess();
Would be nice when iMCSx or Enstone will add this to PS3Lib