This works fine, except that the user has to enter his plugin serial at every startup! Since my serial validation returns what WritePluginInfo() returns (and that must be TRUE, otherwise my customer would have reported that the plugin doesn't work), I assume, that ReadPluginInfo() returns false, so that the serial dialog comes up every time.