I try to use SDk in VS2012
project name: example_LoadMDL7
when build Project, I get this errorsb
Error 1 error C2072: '_errno' : initialization of a function
Error 2 error C2205: '_errno' : cannot initialize extern variables with block scope
Error 3 error C2440: 'initializing' : cannot convert from 'int' to 'int *(void)'
Error 4 IntelliSense: function "_errno" may not be initialized
I correct this by change of locl variable "errno" in
main block to new name: "int errn"
I build Project again i get this errors and some warnings.
Error 1 error LNK2026: module unsafe for SAFESEH image.
Error 2 error LNK1104: cannot open file 'LIBCD.lib'
I try to solve this by write "LIBCD.lib" in Project Properties -> Linker -> Input -> Ignore specific Default Libararies
I build Project again i get this errors and one warning
Warning 1 warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification
Error 2 error LNK2026: module unsafe for SAFESEH image.
Error 3 error LNK1281: Unable to generate SAFESEH image.
I try to solve this by write " /SAFESEH:NO " in Project Properties -> Linker -> Command Line ->
Additional Options
So now it work very well
I want to use File instructions that provided by Gamestudio to read and write to file,So I HAVE TO Understand the format of the MDL7
Thanks