Problems RTE debug compile and execute

Open AT vers. 3.12 with Visula Studio 6.0

When compile “hello_word” example in debug mode RTE the result is:

Compiling…
hello_world.c
Linking…
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
Creating library rte/vc6/Debug/wav_hello_test_rte.lib and object rte/vc6/Debug/wav_hello_test_rte.exp
wav_hello_test_rte.exp : warning LNK4070: /OUT:OATAPP.dll directive in .EXP differs from output filename “rte/vc6/Debug/wav_hello_test_rte.dll”; ignoring directive
LINK : warning LNK4098: defaultlib “MSVCRT” conflicts with use of other libs; use /NODEFAULTLIB:library
“C:\DOCUME~1\R” non Å riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
Impossibile trovare il percorso specificato.
Error executing c:\windows\system32\cmd.exe.

wav_hello_test_rte.dll - 1 error(s), 3 warning(s)

When I execute the file with Build-Start debug->GO give me the error:

“Could not execute: Bad executable format (Win32 error 193)”

and the remote controller didn’t start.

yes i have the same error but with visual studio 2003 open AT 3.12

Compiling…
appli.c
Linking…
building library ./rte/vc71/Debug/deff_rte.lib and objet ./rte/vc71/Debug/deff_rte.exp
deff_rte.exp : warning LNK4070: directive /OUT:OATAPP.dll de .EXP is not the same than output filename ‘./rte/vc71/Debug/deff_rte.dll’; directive is omited
executing event after generation…
Loading Open AT IDE…
Done.
Updating RTE kernel file…
Done.

i think there are something realted to visual studio config, since wmmake -c -fulldebug it works fine