That's becouse VC++ sucks in compatibility, it doesn't use code::blocks or anything, but is very useful so it doesn't matter...
This is nothing to do with VC++ sucking (or not), or Microsoft not complying with some standard. It is because of the lack of a name mangling standard. All compilers use different name mangling schemes, check it out:
http://en.wikipedia.org/wiki/Name_mangling#How_different_compilers_mangle_the_same_functions
Different compilers will produce incompatible DLLs if they are exporting C++ code. The only way around this is to export everything as C (by using extern "C") but this complicates the API because C doesn't support cool C++ stuff like classes and function overloading. You could ask the good Doc (aka Martin Schweiger) to rewrite the API to get around this but I wouldn't expect a sympathetic ear. Personally, there are other features I would prefer him to work on.
Oh, and Mars 2060 for the third time, uses the same dll becouse it only changes the textures!.
I know, I read that the first two times, hence my suggestion that you write your own Mars.dll

. If you want to change Mars' atmospheric model, the only route is to write your own code and substitute it for the default dll.
It's not impossibile... in fact, i think is quite easy if you know some inverse engineering and hard core asm programming (which i don't).
You would need that if you wanted to
reverse engineer (not inverse, which would be quite something else) the default Mars.dll but I really think it would be easier to write your own in C++. Those I know who know reverse engineering would rather avoid it if they can.
How about you tell us how it's done?
I can't but it looks like the API docs can. I don't think anyone has produced a tutorial or anything for coding a planet (I can't find one, anyway).
I've already tried unsuccesfully, maybe I should try with VC++ 2005
This should be your first step, see my comments above.
but I just can't understand what should I code in each function, is there any good tutorial? maybe some example code?
None that I know of. Do you have any specific questions?