21 May '13 - 19:00 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: module unsafe for SAFESEH image  (Read 6907 times)
Hank
Guest
« on: 29 Jan '07 - 14:08 »
Reply with quoteQuote

When trying to compile using the latest bass library I receive

bass.lib(BASS.dll) : error LNK2026: module unsafe for SAFESEH image

Aside from removing the /SAFESEH from the compiler options, can BASS be made to support this ?

thank you
Logged
Hank
Guest
« Reply #1 on: 29 Jan '07 - 14:10 »
Reply with quoteQuote

Update : Here is the problem, it looks like Bass.lib must be compiled in Visual Studio 2003 / 2005 . Can anyone do that , it sure would make my compiler happy Smiley

Thanks

Visual C++ Concepts: Building a C/C++ Program 
Linker Tools Error LNK2026 

Error Message
module unsafe for SAFESEH image


/SAFESEH was specified, but a module was not compatible with the safe exception handling feature. If you want to use this module with /SAFESEH, then you will need to recompile the module using the Visual C++ .NET 2003 (or later) compiler.
Logged
Hank
Guest
« Reply #2 on: 29 Jan '07 - 17:19 »
Reply with quoteQuote

I am praying for a miracle Smiley
Can you please compile the bass.lib under visual studio 2003 ? Please see below for why :

Visual C++ Concepts: Building a C/C++ Program 
Linker Tools Error LNK2026 

Error Message
module unsafe for SAFESEH image


/SAFESEH was specified, but a module was not compatible with the safe exception handling feature. If you want to use this module with /SAFESEH, then you will need to recompile the module using the Visual C++ .NET 2003 (or later) compiler.
Logged
Ian @ un4seen
Administrator
Posts: 15259


« Reply #3 on: 29 Jan '07 - 20:04 »
Reply with quoteQuote

I'm afraid a recompile isn't possible (not using VS2003 here). I'm not familiar with the "SAFESEH" option (not using VS2003 Smiley), but I guess it only cares about the LIB file, not the DLL? If so, maybe there's a way to simply convert the LIB file to make it work with that?
Logged
Hank
Guest
« Reply #4 on: 4 Feb '07 - 03:27 »
Reply with quoteQuote

Are you sire theres no chance of you compiling with the 2003/2005 .net compiler? The SDK is free and i could probably help you if needed. It seems there no way to convert the existing Lib :/

I would really like to use Bass in a 2003 / 2005 project.

Please let me know what we can do to succeed in this.

Thank you
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines