visual studio 2010 - Static Library created in VS2010 not linkeable in CVI -


i created simple static ansi-c90 library vs2010. able create c++ project in vs2010, import , test lib.

i opened labwindows cvi project , tried import lib file there.

unfortunatelly there not go on - message is: "bad header encountered while reading external module: 'release\mylib.obj'"

is there way how can investigate whats wrong lib file? there standard format vs2010 not following?


edit #1:

i identified possible source of problem unable check that. vs2010 not compiling static-single-thread-libraries - feature removed. possible cvi can not handle static-multi-thread-libraries.

i posted question on ni forum.

edit #2:

ni forum link broken - assume nis fault , provide google search link posting.

user mohan in ni forums posted answer there.

one option in visual studio needs changed cvi can import file:

properties -> general -> whole program optimization

default is: "use link time code generation"

has changed to: "no whole program optimization"


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -