I can make changes to it, but the results are usually horrific.
Code: Select all
LRESULT FavHubProperties::OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
if(wID == IDOK)
{
char buf[256];
GetDlgItemText(IDC_HUBNAME, buf, 256);
entry->setName(buf);
GetDlgItemText(IDC_HUBDESCR, buf, 256);
entry->setDescription(buf);
GetDlgItemText(IDC_HUBADDR, buf, 256);
entry->setServer(buf);
GetDlgItemText(IDC_HUBNICK, buf, 35);
entry->setNick(buf);
GetDlgItemText(IDC_HUBPASS, buf, 256);
entry->setPassword(buf);
GetDlgItemText(IDC_HUBUSERDESCR, buf, 35);
entry->setUserDescription(buf);
HubManager::getInstance()->save();
}
EndDialog(wID);
return 0;
}
That's an IF statment out of the source for DC++... compare that to my sad little embeded while statements... you get the idea
I haven't contributed, but maybe I'll be able to after I get out of college. I hope so.
But to answer your question I run all different flavors of DC++ from .301 to .303 to BCDC... I was running that Reverse Connect thing earlier... but none are my own, yet
