Krzysztof Korpiela

Show:

What's happening?

  • Followup: RE: Exception on executing DLL function

    works with no problem under Turbo Delphi - thanks again for pointing me it out.

    2009-03-30 15:39:35 UTC in Dev-C++

  • Followup: RE: Exception on executing DLL function

    thanks for your time. > If the test fails, the second call to Function will still be attempted and will fail Yes of course I will keep checking all the time, it is safer. The thing is that the first call never failed to me. The pointed address remains the same before and after calling the function (0x1001A4E0). But I unnecessarily removed the check in code causing the confussion here...

    2009-03-24 16:33:20 UTC in Dev-C++

  • Followup: RE: Exception on executing DLL function

    Thanks a lot for detailed explanation. On the second call of "Function" I did not used the "if (Function)" condition becase the function address validity has been already checked in the previous call. > Is it possible that Function is in fact NULL and the call that is protected by the if() is never called? The first time "Function" is called, it is...

    2009-03-24 06:41:02 UTC in Dev-C++

  • Followup: RE: Exception on executing DLL function

    > FreeLibrary(hInstLibrary); sorry, of course I meant: FreeLibrary(LibH);.

    2009-03-23 19:40:59 UTC in Dev-C++

  • Exception on executing DLL function

    Hello, I have my DLL built with MSVC; everything is exported using "__declspec(dllexport) __stdcall" (aimed to be used with Delphi) and with use of def file. I load the DLL in DevCpp for testing: #include <cstdlib> #include <iostream> #include "windows.h" #include <conio.h> typedef void (*_Function)(int, int, int); int main(int argc...

    2009-03-23 19:38:13 UTC in Dev-C++

About Me

  • 2004-11-10 (5 years ago)
  • 1156452
  • krzychk (My Site)
  • Krzysztof Korpiela

Send me a message