CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: 2kaud

Search: Search took 0.07 seconds.

  1. Re: LoadLibrary giving system err 183 while loading Crypto dll

    Do you have the source for crypto? If yes, I suggest that you change the interface so that both in and systemKey are const char *. This would simplify things.

    As general good practice, function...
  2. Re: LoadLibrary giving system err 183 while loading Crypto dll

    Try first to LoadLibrary "msvcrt", then LoadLibrary "cryptocpp.dll" (using full path) and then LoadLibrary "crypto.dll" (using full path). I tried to load cryptocpp.dll on my computer and I got an...
  3. Re: LoadLibrary giving system err 183 while loading Crypto dll

    This means that the problem is probably within dllmain() as DONT_RESOLVE_DLL_REFERENCES means that dllmain() isn't called for process and thread initialisation. However, it also means that the system...
  4. Re: LoadLibrary giving system err 183 while loading Crypto dll

    How did you create the crypto.dll? cryptopp version 5.6.1.0 is available from Wei Dai's home page as a set of source files to be compiled to produce a .dll. Using their standard build produces...
  5. Re: LoadLibrary giving system err 183 while loading Crypto dll

    1)Are you sure you are checking for error from LoadLibrary correctly as you have not posted here any real code just the odd line.

    2) On the computers that are giving you the problem, have you...
  6. Re: LoadLibrary giving system err 183 while loading Crypto dll

    Try a simple test. Create a new test program that just does LoadLibrary("crypto"); See if this works or fails on the machines where your original program failed. If this simple test does fail, try...
  7. Re: LoadLibrary giving system err 183 while loading Crypto dll

    Try using LoadLibraryEx with dwFlags DONT_RESOLVE_DLL_REFERENCES and see what the error code is then.
  8. Re: LoadLibrary giving system err 183 while loading Crypto dll

    I suspect that you are getting error 183 because the DllMain function of Crypto.dll is returning FALSE when it is called with DLL_PROCESS_ATTACH.

    On the computers on which it fails, have you tried...
  9. Re: LoadLibrary giving system err 183 while loading Crypto dll

    Error code 183 means 'Cannot create a file when that file already exists.'
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured