I’m curious as if anyone has used any method of getting data from perforce into a managed language. I’ve found a few sample applications out there, and I’m hoping someone here has had success in doing this and could offer some advice.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We have in our application using the P4.NET library. It works OK, however we wrapped it as the interface was difficult to work with. P4.NET is not supported by Perforce and is probably missing a few features.
I have considered running SWIG on the C++ library and create a our own managed library but haven’t had the chance (time) to do so.
EDIT Just re-read my post and it’s absolutely gibberish. Let’s try again…
We have used the P4.NET library in our application, it works OK. It’s interface is a little ugly and we wrote a wrapper hide it and expose the functionality we wanted. Writing a wrapper is a good idea anyways as it gives us the option/flexibility to swap the VC system out with SVN or GIT (why you would if you can use Perforce I don’t know…).
I have look briefly at the option of running SWIG against the Perforce C++ library and creating our own wrapper with a cleaner interface but it hasn’t been a high priority task as P4.NET works.