Cyclops Posted February 4, 2009 Posted February 4, 2009 (edited) Hi all! Just thought to share my keygen template coded in C. Enjoy! src+bin: http://cyclops.ueuo.com/sources/Template.rar Edited May 23, 2010 by Cyclops
mudlord Posted February 5, 2009 Posted February 5, 2009 Nice job. I like how you kept all your code clean and abstracted And the skin plain rocks. Great work! Its nice to see another C/C++ coder around these parts....
dofoge Posted February 15, 2010 Posted February 15, 2010 (edited) "Invalid or Deleted File"any chance of seeing this reUped? Edited February 15, 2010 by dofoge
h0xii Posted March 18, 2010 Posted March 18, 2010 This is great as I've been wanting to learn more Win32 API programming and haven't found many good examples. At quick glance I'm a bit confused about your variable hwnd. I'm guessing it is there to hold the string the user enters? However, i'm not following where it first reads it. Maybe you can comment...
atom0s Posted March 19, 2010 Posted March 19, 2010 This is great as I've been wanting to learn more Win32 API programming and haven't found many good examples. At quick glance I'm a bit confused about your variable hwnd. I'm guessing it is there to hold the string the user enters? However, i'm not following where it first reads it. Maybe you can comment...HWND is just a handle to a window, or another similar type of object. It's a Windows defined type, defined as:typedef HANDLE HWND;
ph0six Posted March 26, 2010 Posted March 26, 2010 Cyclops,First thanks for the great keygen template, I have a question regarding your source base and a modification...I made the following adjustment to make the background textboxes transparent case WM_CTLCOLORSTATIC: ret = (HBRUSH)GetStockObject(NULL_BRUSH); SetBkMode((HDC)wParam,TRANSPARENT); SetTextColor((HDC)wParam, RGB(255, 255, 255)); return (LRESULT)ret; break; case WM_CTLCOLOREDIT: ret = (HBRUSH)GetStockObject(NULL_BRUSH); SetBkMode((HDC)wParam,TRANSPARENT); SetTextColor((HDC)wParam, RGB(255, 255, 255)); return (LRESULT)ret; break; But as a result, whenever the text is updated on the forum, its like overlapping and mushing together, im not sure what causes it but was hoping you might know.Thanks !
dofoge Posted April 15, 2010 Posted April 15, 2010 ..text.. Don't think we'll get a reply from him anytime soon seeing as his last visit was almost a year ago
Cyclops Posted May 23, 2010 Author Posted May 23, 2010 Sorry for the long delay, was kinda busy with *you know what* @ph0six: you have to repaint the textbox or whole form. You can use InvalidateRect(hWnd, NULL, FALSE) to repaint the whole form. Try this link for better discussion: http://forum.tuts4you.com/index.php?showtopic=8344&st=0
MulleDK19 Posted November 30, 2010 Posted November 30, 2010 (edited) Hey.How do you create the .rgn file?Edit: Nevermind, found out. Edited November 30, 2010 by MulleDK19
minius Posted August 23, 2011 Posted August 23, 2011 hey ! bumping this cuz it helped me out with embedding .xm in my exe ! thanks cyclops ! very helpful !
mudlord Posted August 23, 2011 Posted August 23, 2011 I personally use bin2c to embedd the stuff as a array. Much easier to do, if your library supports loading music from memory.
Killboy Posted August 23, 2011 Posted August 23, 2011 (edited) Why not use LoadResource, that's as simple as it gets. That is if you don't care about people ripping the xm, but unless the xm is actually yours I don't see the point. Edited August 23, 2011 by Killboy
hmi222 Posted August 23, 2011 Posted August 23, 2011 I personally use bin2c to embedd the stuff as a array. Much easier to do, if your library supports loading music from memory.Another way is to including the sound by nasm and incbin directive as object with a global.Then playing from memory, if lib is supporting that.works with c++,masm,nasm...
Mr.ROSE Posted May 9, 2014 Posted May 9, 2014 Super bro . . . Nice jobplease provide more templates like ways. . .Very VeryThankyou for this one . , .
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now