More informations about my problem...
I've compiled my TPC using the Multi-threaded Debug DLL... And all seems to work in a normal way, sprites are well displayed.
I don't know a lot about all Visual C++ Express options. I begin to think that the error may come from compilation parameters.
here is how is actually set the Code Generation :
Any error ?
Without this Debug Dll, I've found new informations.
When I replace this line :
sprite->sprite->Draw( sprite->texture,NULL,&sprite->center,&sprite->position,D3DCOLOR_ARGB(sprite->alpha,sprite->rouge,sprite->vert,sprite->bleu));
By this one :
sprite->sprite->Draw( sprite->texture,NULL,NULL,&sprite->position,D3DCOLOR_ARGB(sprite->alpha,sprite->rouge,sprite->vert,sprite->bleu));
Here is what I get :
Instead of this :
Each time I put back the original command, two sprites disappeared, and when I put the NULL, they appeared...
So, I added to the DBpro code the command that return the sprite center...
With the NULL, I get this :
And without, this :
I'm getting mad... I understand nothing between the modification and its effect. I can't guess where's the bug coming from. The only thing I can suppose is that it is related to the Draw method.