[Migrated content. Thread originally posted on 17 June 2011]
Hello,I am getting run time error '165 Version number incompatibility' in a dll file of cobol code when a call statement is executed during animation. The calling code is a windows executable (formed by linking cobol and c objects)
I am developing a netexpress project that uses couple of c objects that are generated using visual studio express 2010.
many of the default windows libraries such as kernel32.lib user32.lib etc come installed with Nx5.1 and visual studio as well. Also both have a version of the linker (LINK.exe). Its very obvious that the linker versions are different (10 with VS and 6 with Nx51). There are 2 versions of the link.exe in the Nx5.1 installation one at /bin and the other at /bin/linker why is that ?
Will the cobol run time system be ok with code produced by visual studio using its set of files and some code from Nx5.1 library files. Which version of the linker should Nx5.1 invoke.
Could you please clarify what basic considerations do I need to take into account to avoid such errors. Whould it be ok to mix c objects produced from VS 2010 that use its version of lib files and cobol objects that use lib files from Nx5.1 installation ?
Thanks in Advance
PTeng
