07-20-2018 09:38 AM
We have created a number of DLLs using Visual Studio, and call them using call library function nodes in LabVIEW 2011. Everything works well until we check our DLLs into ClearCase (which makes them read-only). If we subsequently check them out (making them writable) everything goes back to working as expected.
This only happens in the development environment. When we build our code into an executable the DLLs aren't required to be writable.
Has anyone else observed this? and if so, is there some kind of work-around?
Thanks in advance for your input.
David Dupont
07-20-2018 03:07 PM
Can you configure ClearCase to leave the files alone on check in?
07-20-2018 03:52 PM
Do you know for sure exactly what ClearCase does to the DLLs?
I.e. does it just set the "read-only" attribute on the DLLs, or does it do something more aggressive like opening a file handle and refusing to release it?
07-23-2018 04:33 AM
David@Work wrote:
We have created a number of DLLs using Visual Studio, and call them using call library function nodes in LabVIEW 2011. Everything works well until we check our DLLs into ClearCase (which makes them read-only). If we subsequently check them out (making them writable) everything goes back to working as expected.
What error do you get? E.g. what's not working?
Are those .NET dlls, ActiveX dlls or plain dlls?
LabVIEW Programming ((make LV more popular, read this)
07-30-2018 05:14 AM
They are plain DLLs, and we get a "Generic Error" dialog when trying to access any function in them.
07-30-2018 05:14 AM
ClearCase is source control. It's setting read only on the files that are checked in.
07-30-2018 05:15 AM
Pretty sure I cannot. Besides if I could that would completely defeat the purpose of a source control application like ClearCase.
07-30-2018 05:33 AM
David@Work wrote:
Pretty sure I cannot. Besides if I could that would completely defeat the purpose of a source control application like ClearCase.
Posting remarks without reference to what you're replying to makes it really hard to follow the conversation.
I think you're referring to the remark that you could disable read only on VIs? SVN doesn't do that at all, at least not by default. At least I never noticed (, not missed this).
Not sure why a dll call would fail if a dll is set to read only...
LabVIEW Programming ((make LV more popular, read this)
07-30-2018 05:38 AM
wiebe@CARYA wrote:
David@Work wrote:
Pretty sure I cannot. Besides if I could that would completely defeat the purpose of a source control application like ClearCase.
Posting remarks without reference to what you're replying to makes it really hard to follow the conversation.
I think you're referring to the remark that you could disable read only on VIs? SVN doesn't do that at all, at least not by default. At least I never noticed (, not missed this).
Not sure why a dll call would fail if a dll is set to read only...
My bad, I don't use this board much and didn't notice the Quote button. Sorry for the confusion. This reply was in response to the comment about setting up ClearCase to NOT set read only on checked in files.