Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Can someone explain the usage of IVsRunningDocumentTable.RegisterAndLockDocument?

$
0
0

Hi all,

Once my project files processed using this function,We pass the Edit Lock and it get result as S_OK. However, the files were not able to be opened from menu “File->Open…” any more.

If we comment out this API, it works well.

So can someone explain the usage for details? Is there any way to keep all other functionality expect “lock”, I mean only RegisterDocument without Lock, so that we can view it?

Thanks in advance.

Regards,

Yi


MSC on Computer Science (Parallel algorithm)


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>