I have a VB project with one class holding a variable declared as Friend Property Set ProjectName(), and another class setting the value of that projectName. Since the classes are in the same project, this works fine.
I complie this into a .dll file, and the dll file works fine too.
Exept, on one of our windows server the .dll lauches an error basically saying that the friend function is not avaliable to the caller. I have added logging to the function, and I can see that the line that fails is the attempted assignment of a new value to the projectName property.
Since the .dll works fine on two machines, I have excluded a programming reason for this behaviour, and assume that it has to be some kind of windows configuration issue. But I have no idea where to start looking. Hints?