TerrificInToronto / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 0 forks source link

List no longer reloading when posted a windows broadcast msg of "PeerGuardian2LoadLists" #264

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

PeerGuardian had a feature which allowed you to tell PeerGuarding to
initiate the reloading of block list by broadcasting a windows msg of
"PeerGuardian2LoadLists".  

PeerBlock 1.0 XP 32bit working
PeerBlock 1.0+ (r223 & r227) XP 32bit not working

Will this feature be retained in the future?

Copy of win32 code to initiate the reloading of block list

include "stdafx.h"
#include "TCHAR.h"

int APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     int       nCmdShow)
{
    UINT msg=RegisterWindowMessage(_TEXT("PeerGuardian2LoadLists"));
    LRESULT rc = PostMessage(HWND_BROADCAST, msg, 0, 0);
    return 0;
}

Original issue reported on code.google.com by Mankai.L...@gmail.com on 15 Feb 2010 at 2:09

GoogleCodeExporter commented 8 years ago
As part of trying to remove any PeerGuardian "branding" from PeerBlock, we've 
changed
this window-message over to "PeerBlockLoadLists", as per the "hacking.txt" file 
that
should have been included in your PeerBlock download.  Sorry for having not
advertised this more publicly than in that file, we really weren't sure how many
people were using that API set.  (And actually, looks like our hacking.txt file 
has a
typo in it too, with that PeerBlockLoadLists line having an extraneous + char 
at the
beginning - I'll clean that up.)

Marking this bug as "WontFix" in order to close it; figured that might be a bit 
more
accurate than "Invalid", as we could in theory support the old PG2 API set as 
well .
. . we'd just rather keep the codebase cleaner.

Original comment by peerbloc...@gmail.com on 15 Feb 2010 at 6:53