Hello all!

I'm creating an external which should only allow one copy loaded at the same time.
Is there a way to check this upon creation?

I tried going the same approach as checking if a receiver exists before attempting to send, but it doesn't seem to work.

if (gensym("class_name")->s_thing) {
    post("Exists!");
    return false;
}

Any help is greatly appreciated.


Best regards,
Alex Clément