Eric Murphy wrote: > > I am using XPConnect code, and get an error. What does this mean? > > libxpt: bad magic header in input file; found 'XPCOM > ', expected 'XPCOM\nTypeLib\r\n\032' > > If you need more details, let me know, I though someone might know offhand > > Thanks, Eric
It means that the typelibrary loader system discovered that one of the .xpt files that it found in your components directory is corrupted. Did you maybe open an .xpt file with an editor or some tool that might have modified the file? Or maybe you transferred these files through some program that treated them like text files rather than binaries - and it did some transform on them? Unfortunately, the current code does not make it easy for you to figure out which .xpt file is corrupted (if only one). You'll have rebuild or reinstall a build to correct the problem. John.
