[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: [PATCH] kdecore crashes LoadLibrary calls
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2009-03-27 15:17:55
Message-ID: 49CCEE23.5040704 () gmx ! de
[Download RAW message or body]

Ralf Habacker schrieb:
> Patrick Spendrin schrieb:
>> Hi,
>>
>> I have a small patch here which fixes a problem I recently got aware of:
>> if you try to make a regsvr32 kdecore.dll it will fail saying that
>> LoadLibrary was not achieved (simply try it). The correct error message
>> would have been a missing entrypoint for DllRegisterServer though.
>> After searching for quite a while I found the problem:
>> When you load kdecore linked to an executable, the image will be located
>> at the address 0x0040000. When you load kdecore directly via regsvr32,
>> the image will have the address 0x10000000 (0x1 0x0) instead.
>>   
> What is the use case to run regsvr32 on kdecore.dll ?
None ;-). But the problem is the same if you have an explorer-plugin
which needs to link to kdecore.dll.
I need this for the context menu to work so I can access the mimetype
functions of kdecore.
> 
> Ralf
regards,
Patrick
> 
> _______________________________________________
> Kde-windows mailing list
> Kde-windows@kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
> 


-- 
web:                 http://windows.kde.org
mailing list:        kde-windows@kde.org
irc:                 #kde-windows (irc.freenode.net)
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic