In order to load not compiled effect file You use function D3DXCreateEffectFromFile.
In order to load comipled shader file You do:
byte * data = loadFile("compiledShaderFile.fxc");
IDirect3DPixelShader9 *ps = NULL;
HRESULT hr = device->CreatePixelShader(data, ps); The similar history with compiled vertex shader.
But how to load compiled effect file? I didn't find the similar method.
The problem with D3DXCreateEffectFromFile is that I cannot tell this method to compile effect file with x64 compiler.