[quote=“pabloko”]Well, it was nice intil i suscribed for some contest and now im being spammed by sublime text with almost daily emails that i cannot unsuscribe.
Its went so annoying that i just hooked user32.dll and forced MessageBoxW to return 2 if text contains “unregistered” word. just for revengue.
int WINAPI d_MessageBoxW(HWND hWnd,LPCTSTR lpText,LPCTSTR lpCaption,UINT uType) {
if (strstr(lpCaption, “unregistered”) != NULL)
return 2;//IDCANCEL
typedef int(__stdcall *pS)(HWND, LPCTSTR, LPCTSTR, UINT);
pS pps = (pS)p_MessageBoxW;
int rv = pps(hWnd, lpText, lpCaption, uType);
return rv;
}
also setup a filter to autodelete spam emails.
thanks![/quote]
First of all, I’m guessing you signed up for the “Sublimetext Tips” contest for a free sublime license that was held recently. You should be aware that Sublimetext Tips has no affiliation with Sublimetext the company, so your “revenge” is completely against the wrong person. Also, at the bottom of every Sublimetext tips email is an unsubscribe link.