Would like to ask if there is any available .NET wrapper Dll or code snipets for document management functionality ?
As in calling the PWISE Dll functionality and methods that are C based in .NET environment C# preferably
Thnkx
ame54,
I have been where you are. If I have time this weekend, I may write a blog article on how to get started. The problem is that there are challenges with marshalling at every turn. Even when going from SS2 to SS4, and going from 32bit ro 64bit on SS4 using the same functions, the marshalling works different. Only a few but, the challenges are there. There is not a real standard rule you can put out there and say always do this ... and it will work. Also a really good working knoweldge of how the API works in C++ is almost a must. In order to call C# from a menu (MRR or Hook) you have to have a C++ stub that calls the C# trhough COM Interop.
thnx for the reply would really appreciate if u shared the link to ur blog when u get the article up
I could not create a blog, don't know why. So I created a Wiki article here:communities.bentley.com/.../6827.aspx
I think this is the link you are looking for Leif - ProjectWise API access with C#
I attemtped to update the Wiki article but was unable to update it. I did see where I had posted a comment that said I was able to get an .MRR to work as a comment on the Wiki.