Static Library & CLR/WinForms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • George P Boutwell

    #1

    Static Library & CLR/WinForms

    I've got an 'third-party' library that had an library.sln for 2003.. I've
    opened that in VS 2005. I've modified the library and the test application
    that are part of that to enabled exceptions (the exceptions that where
    being used didn't work with /clr, so I changed them to the kind that did),
    and then I enabled /clr for both of them. The library builds fine, but
    then the test application fails to link with it (#using failed to load
    library_d.lib?) If it turn off the /clr in just the library the test
    application compiles and runs fine.
    Do I need to do something special to get the library to compile and be
    link able with /clr enabled? or is it 'safe' to say that I can use the
    non-clr version with WinForms applications with-out too much trouble?

    Thanks,
    George
Working...