Resolved! Error 12340002 using STM DFU DLL's SelectCurrentConfiguration
Using the STM DFU DLL's to load firmware onto some 3rd party custom hardware, we have to call SelectCurrentConfiguaration becuase the bootloader in the hardware requires this before it allows the STM32F4xx ROM to be written to Normally this works OK...