LoadLibrary fails with FIPS library when using gflags or AppVerifier

Hi Experts,

I have a library that is "not movable" because it loads to specific areas in the address space, because it is a FIPS library and because there's checking done on the library.  (not sure what I'm talking about here, but my boss told me this and I want to see if there's a way around this).

Does anyone know a way around this problem?  I just want to check buffer overruns, heap errors, etc....

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Your can rebase the other modules in your project in order not to conflict with that DLL's base address. See http://www.drdobbs.com/rebasing-win32-dlls/184416272 and http://www.drdobbs.com/windows/optimizing-dll-loads/184416922 on how to do that. 'rebase.exe' is included with VC++, the second article shows how to automate that process.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
threadyAuthor Commented:
You're an encyclopedia!  Thanks man!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.