Hiya Guys,

I've got another problem. I am getting the Engine Error:
"Can't create DirectX texture: schwert_off".

The manual says: "The texture format is invalid or unsupported
by DirectX or by your video card."
BUT if I change the texture to any other working, I get the
same error(it is a part of my inventory system, so if I copy
another bmap and rename it, the error also appears).

The problem is: it appears random, but always on the same object.

The bmap is defined as the following:
Code:
BMAP* schwert_off = "schwert_off.png";
BMAP* schwert_on = "schwert_on.png";



All the panels in the following piece are already shown on the
screen, but with a different/no bmap. It just changes the bmaps.
Code:
for(i = 0; i < 8; i++)
	{
		proc_mode = PROC_EARLY;
		switch(inventar[i])
		{
			case none: invent_pan[i].bmap = NULL;
			break;
			case lighter: invent_pan[i].bmap = lighter_off;
			break;
			case oil: invent_pan[i].bmap = oil_off;
			break;
			case battery: invent_pan[i].bmap = batt_off;
			break;
			case spitzhacke: invent_pan[i].bmap = spitz_off;
			break;
			case splitter: invent_pan[i].bmap = splitter_off;
			break;
			case noten: invent_pan[i].bmap = noten_off;
			break;
			case schwert: invent_pan[i].bmap = schwert_off;
			break;
			case fischglas: invent_pan[i].bmap = fisch_off;
			break;
			case nagel: invent_pan[i].bmap = nagel_off;
			break;
			case codebook: invent_pan[i].bmap = code_off;
			break;
			case lupe: invent_pan[i].bmap = lupe_off;
			break;
			case news: invent_pan[i].bmap = news_off;
			break;
			case fischglas_full: invent_pan[i].bmap = fisch_full_off;
			break;
			case clock: invent_pan[i].bmap = clock_off;
			break;
			case runenstein: invent_pan[i].bmap = runen_off;
			break;
		}
		invent_pan[i].skill_x = inventar[i];
	}



The picking up of the object is handled as at all other
objects.(of course the number is different for all)

Oh, and if you ask: none, lighter,...,runenstein are all
defined numbers.


This is really annoying, because I can't play any further
after this point...

If you have an idea how to solve this, or if you know what the
problem could be, please be so kind and response laugh


Thanks in advance and best regards,
Rei