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....

Thanks,
Mike
LVL 1
threadyAsked:
Who is Participating?
 
jkrCommented:
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.
0
 
threadyAuthor Commented:
You're an encyclopedia!  Thanks man!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.