Thanks for your answer.
So, if I use a vi in a dll, I can't use it in the vi that calls the dll.
I think it is a limiting factor, if for example I am using in the dll a vi that commnicate with my instrument through the serial port, but I need to use this low level vi in the main program.
By now I am copying again this vi in another folder and changing its name. Then I can use it in the main program, but I think it's quite inefficient, because I must duplicate a vi.