[Request] Need somebody with VC10

So I need to compile a plugin, but the executable has been made in VS, and I only have MinGW at the moment.
Fact it is, code implies use of virtual classes, and VS classes seem to have the destructor in a different position than in MinGW.

Precisely:

In VS it is:
VS Header
Destructor
Function A
Function B
Function C

VS Vtable
Function A
Function B
Function C
Destructor


Where MinGW matches them correctly in the written order.
Tried changing the order but it still won't work (Stack corruption).
Tried also switching cdecl/stdcall, nothing.

So, if that's possible, I pass you a .cpp file (plus an extra .lib file to link against) and you give me back a .dll file?
Only trusted users, if possible.
OK, I'm curious enough to ask for more info. I'm using Microsofts 2010 compiler, but I'm using Code::Blocks so if any more funny parameters are normally passed into the compiler by VS I would need to know about them. I'm not making any promises and it may take a little while because I will be reading the code before I compile it.
Jesus, wrote a huge reply and it didn't send correctly... forgot to copy it... :'c

Well I had enough time to redownload VS10 myself and it compiled on the 1st try, and I felt a bit "high" to be able to do that.

For your curiosity it is an .h exporter for Milkshape3D who doesn't use indexed vertices to make things easy for me.

I'm using it for my NDS homebrew project and I'll post pictures as soon as I get the model imported. My cold doesn't want me to get up from my bed.

I was going to delete the topic, but after I went to dinner I felt too bad and had to sleep a bit, resulting in me waking up at 2:40am writing in my bed from my mobile.

The plugin exports raw vertices, texcoords, normals and texture name, naming variables after the meshgroup's name.

If you want I can send you the code, it's just 5kb of cpp and lib, zipped together.

Don't know if I'll use indexed vertices at the end. But I probably will.

I'll send screenshot + .nds once I get it done, ndslib's interface is very opengl-ish.

And...
http://pdkarm.kissr.com
Topic archived. No new replies allowed.