OpenGl .x file loader/viewer code?

Hi

does anybody know a link to sample source code to load directx .x
files into OpenGl?

yes i might do it by myself but in case there is any such sample
this will save time ( btw I’m mostly concerned on how to switch from
left to right handed coordinate system offset matrixes of different
‘parts’ of model)

there was a sample to produce opengl code from .x files on the net
years ago.
But it is no more .
so are there any pointers?