none
fatal error LNK1257: code generation failed

    General discussion

  •  

    hi everybody

     

    i'm trying to do an aplication in VC++, to interact with cameras i'm using VFW and MIL at same time

    when i try to run the project a error is lauched.

     

    ->fatal error LNK1257: code generation failed

     

    i have no idea what might be...

     

    if anyone possible knows a possible cause for this, replu to me please

     

    Thank you

    Thursday, July 26, 2007 11:30 AM

All replies

  •  

    What kind of project it is ? Can you also post the code here ?
    Thursday, July 26, 2007 2:17 PM
  • Is a WIN32 project

     

    is too much code but i can post here a piece of it, any bit of code in special??

     

     

     

    thanks

     

    Thursday, July 26, 2007 6:14 PM
  • Have you tried creating another sample win32 project ? Do you get that same error there ?

    Friday, July 27, 2007 6:22 AM
  • I also faced same issue , resolve after  installing VS 2005 SP2 . For me it was happenning only for release mode. Once static library and exe are compiled again it worked .
    Wednesday, March 07, 2012 9:44 AM