Controlling a SPDT relay, OFF = HIGH, so that it remains OFF at start up

There is also another similar thread where I suggested a way to try to force the outputs high at power-up (well, tristate-on, really). The problem is there is always time between pinMode(D0,OUTPUT); and digitalWrite(D0,HIGH); so there is always a brief time when the output is low. The untested idea is to directly write the output pin to high before calling pinMode().

[Sorry for the triple post–website weirdness]