Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

using ppGIF in DLL

edited April 2003 in General
Hello

I'm using loading reports in my DLL in D6 update 2.
I'm using unloading DLL by myself as shown below:

finalization
if ReportDll > HINSTANCE_ERROR then FreeLibrary(ReportDll);
end.

My program hungs (CPU utilization is about 100%) when adding a module that
uses ppGIF and it doesn't when adding a module that uses ppJPEG.

WBR Sergey Kovalev svk@siamed.ru

Comments

  • edited April 2003
    I have to inform you additionally that the same problem is present when
    adding ppGIF in your sample module:
    $(DELPHI)\RBuilder\Demos\7. DLL\FormDLL.pas
  • edited April 2003
    I'm use D6 upd2 and RBE 7.02

    "Chris Ueberall [TeamDM]" ???????/???????? ?
  • edited April 2003
    Hi Sergey,

    I wasn't able to reproduce the issue with unit 'ppGIF', but I included it only by the uses clause without accessing any code from it.
    I used RB7 & D7.

    regards,
    Chris Ueberall;
  • edited April 2003
    RB unit ppGIF is very fast, that's why I want use one. Would You help me
    with thread safe version of this unit? May I give patch from You?

    "Chris Ueberall [TeamDM]" ???????/???????? ?
  • edited April 2003
    Sergey,


    I used the wrong unit to include 'ppGIF', now I was able to reproduce the problem.
    The app is waiting for something (MsgWaitForMultipleObjectsEx). Probably isn't the unit thread safe.

    regards,
    Chris Ueberall;
  • edited April 2003
    Sergey,


    Sorry but I have no patch, I'm a user of RB like you!

    regards,
    Chris Ueberall;
  • edited April 2003

    I just sent you a patch that I think will fix this issue.

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2003
    > I just sent you a patch that I think will fix this issue.

    Thank you Nard.
    Please send the patch at sergey_kovalev@inbox.ru once again.
This discussion has been closed.