Open GoogleCodeExporter opened 9 years ago
also any chance of adding official build of x64 version?
thanks.
Original comment by spameden
on 6 Jul 2012 at 5:53
awk, your turn, my friend.
Original comment by themiron.ru
on 28 Jul 2012 at 1:20
here is an update (thanks to cheshirabit):
you need to change in hpp_olesmilies.cpp (2 lines idFrom :UINT to :UINT_PTR and
cbSize :integer to :size_t) in this structure:
type
PFVCNDATA_NMHDR = ^TFVCNDATA_NMHDR;
TFVCNDATA_NMHDR = record
//NMHDR structure
hwndFrom :HWND; // Window of smiley host
idFrom :UINT_PTR; // ignored --------------- was UINT
code :UINT; // NM_FIREVIEWCHANGE
cbSize :size_t; //------------------ 8 bytes in 64bit, NOT 4 (integer)
bEvent :Byte; // FVCN_ value - pre- or post- painting
bAction :Byte; // FVCA_ keys
hDC :HDC; // Canvas to draw on
rcRect :TRECT; // Valid/should be in case of FVCA_DRAW
clrBackground:COLORREF; // color to fill background if fTransparent is not set
fTransparent :BOOL; // if need to fill back color (not supported)
lParam :LPARAM; // used by host window PreFire and PostFire event
end;
in SmileyAdd you need to edit m_smileyadd.h and change 1 line (UINT idFrom to
UINT_PTR idFrom):
typedef struct
{
//NMHDR structure
HWND hwndFrom; // Window of smiley host
UINT_PTR idFrom; // ignored was UINT before
UINT code; // NM_FIREVIEWCHANGE
size_t cbSize;
BYTE bEvent; // FVCN_ value - pre- or post- painting
BYTE bAction; // FVCA_ keys
HDC hDC; // Canvas to draw on
RECT rcRect; // Valid/should be in case of FVCA_DRAW
COLORREF clrBackground; // color to fill background if fTransparent is not set
BOOL fTransparent; // if need to fill back color (not supported)
LPARAM lParam; // used by host window PreFire and PostFire event
} FVCNDATA_NMHDR;
after these changes history++ works correctly with SmileyAdd and animated
smilies work.
Just in case if you're lazy here are built versions working on x64 miranda:
http://www.mediafire.com/?9cb6jvjpzzposs7 (history++ for miranda x64)
http://www.mediafire.com/?bl7w60nyod0c7h7 (smileyadd for miranda x64)
Original comment by spameden
on 19 Aug 2012 at 10:50
I opened an issue at SmileyAdd, hope borkra will fix it.
Please commit this in SVN as well.
Thanks
Original comment by spameden
on 19 Aug 2012 at 10:52
Original issue reported on code.google.com by
spameden
on 6 Jul 2012 at 5:50