Starting to write another add on for the IDE (for work) and came across a situation in that the "procedure Register;" method wasn't being called. Yes, the case was correct but what I didn't know was that it failed to get called because the unit had an underscore in the name of it!!

Starting to write another add on for the IDE (for work) and came across a situation in that the "procedure Register;" method wasn't being called. Yes, the case was correct but what I didn't know was that it failed to get called because the unit had an underscore in the name of it!!

Removed the underscore and the Register method got called.

This might be because an underscore is a "special" character in the mangled version of the name... but that is a guess on my part.

Just thought I would share this so others won't get caught out.

Comments