Jump to content

Set library version returns error 53


Recommended Posts

I try to change the version of a library or class with the accompanying VI, and this returns an error 53. Can anyone reproduce this?

Ton

I was able to set both class and lvlibs without any problems.

How are you calling the VI, i.e. what app refnum are you using? (I ran it standalone)

A little later.......

I can get error 53 if any of the Major, Minor, Fix numbers are zero. But works perfectly if they are all non-zero

Aha!

You cannot decrement the version of a user class. So if you are trying to set it to a lesser value, it fails with 53.

Edited by ShaunR
  • Like 1
Link to comment

A little later.......

I can get error 53 if any of the Major, Minor, Fix numbers are zero. But works perfectly if they are all non-zero

...

You cannot decrement the version of a user class. So if you are trying to set it to a lesser value, it fails with 53.

Hi Shaun,

that makes sense, is that also valid for manual changes?

I'll have a look at the documentation for that function tomorrow.

Ton

Link to comment

Yes, the GUI for a class also limits decrementing the version of a class.

Ton

Indeed. In fact it's the same as trying to set the revision number less than the current revision for a VI where it will object with error no. 1077 (which maybe is what it should be for classes rather than 53).

My opinion is that version numbers should be able to be set to whatever we want, however.

Edited by ShaunR
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.