|
Decrypt an md5 hash?
Ha, ha - nice one. I can md5 a 100mb file or I can md5 a 100 byte string. In some circumstances the md5 result will be the same. Md5 is used _because_ it's irreversible.
You're not going to find a decrypt function, since there isn't one.
See: How to decrypt md5 data[^]
|
|
|
|
|
I think it is not possible to decrypt the string that is encrypted by md5Capi. Why dont you use CryptEncrypt & Cryptdecrypt function ??
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
Hello,
I have created an MFC application and now I want to prepare setup for it.
Please tell me how to do it.
Thanks & Regards.
Dhiraj Kumar Saini
|
|
|
|
|
Use this[^] or install shield or other utilities. NSIS is free.
Some things seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I have InstallBuilder MFC Application but i need to know the steps.
Thanks
|
|
|
|
|
|
And there's also InnoSetup[^] which is quite used.
|
|
|
|
|
I have listview in recordview mode . I want to move the position of the
row up and down the in the list view like in vc++ includedirectory path . where we can
easily move up and down the various include path . for which I am using two buttons one
for up and one for down.how it is possible.
Trioum
|
|
|
|
|
To the best of my knowledge, there is no LVM_MOVEITEMTOANOTHERPLACE message, so you'll have to write some code.
We'll assume that the item you want to move is as position N.
1/
Make a new item as position (up: N-2, down: N+2);
2/
Copy all the information from OldItem to NewItem.
3/
Delete the old item.
That's it really! Whether you read the OldItem information from the list view, or you can just regenerate it from the original data is up to you.
You also have to be careful about moving the top item up, or bottom item down. But this is a good time to add a selection handler for your list view, and disable the up and down buttons when appropriate.
Iain.
|
|
|
|
|
You idea is working fine . but a major problem is occuring now. every time I have to select the
row to move up and down . how it is possible like in visual studio directory structure that select the row and move up and down by clicking the up and down button with selecting the row every time .
Trioum
|
|
|
|
|
You'll want to make sure the list view has the "show selection always" bit set - though it probably already has.
And you'll need to select the new row after you've done your moving about.
Which is harder than it sounds... You'll need to use LVM_SETITEM (or the mfc equivalent), with LVITEM::mask set to LVIF_STATE, and LVITEM::state set to LVIS_SELECTED.
There may be niftier ways of doing it, but that's the brute force way.
Iain.
|
|
|
|
|
I checked it is not working. if I click the list view row it selected the row with blue color.
if you give me any idea that I select the list view row with blue color without clicking it, only on
the basis of item number i.e. row number then Problem will be solved.
Trioum
|
|
|
|
|
trioum wrote: if you give me any idea that I select the list view row with blue color without clicking it
That's the idea I was giving you. You need to read up on the LVM_SETITEM message - but you only want to set the state, not the whole item.
You may also need an Invalidate to get the listview to repaint itself.
Iain.
|
|
|
|
|
Hi,
I have MessageMap fucntion in Mainfrm.H
I want to use this function in another class.But the messagemap functions are protected i can't use this in another class.
Can i use public out of message map and declared the required fucntions in Public and then use it.
Is this correct way? Or is there any other option in it.
protected:
//{{AFX_MSG(CMainFrame)
afx_msg void OnCursessInfo();
I changed this to (after the line /}}AFX_MSG )
public:
afx_msg void OnCursessInfo();
Anu
|
|
|
|
|
A message map "just" maps incoming messages to methods, it shouldn't care if the given method is accessible from outside of the class or not, so basicly making it public is ok, just not too nice. As an alternative, you could call these methods thorough the message map by using SendMessage or PostMessage.
AtomAnt
- If God wanted man to code, man would have been born without the need to sleep.
|
|
|
|
|
Thank you.
I get tht.
Anu
|
|
|
|
|
How does one get the 'UNIT message' of the, say ONPAINT, function in the other class?
To get a dialog in a CTabCtrl to initialize when selected, unique identifiers (WM_APP + 1)were defined and sent. This works fine as the WindowProc function receives the message and then branches to the appropriate initialization. Would one have to do a user defined message to the WindowProc in the other class, and then issue the function call?
Thanks.
|
|
|
|
|
I want to add grid to list box. how can i add it.Please tell me.
|
|
|
|
|
|
Shilpi Boosar wrote: Click Here -->[^]
its listctrl not listbox!
|
|
|
|
|
But why you dont use of CListCtrl?
|
|
|
|
|
In the existing code,they r using list box. They r passing the listbox variable to some other functions.If i changed listbox to listctrl,i need to change the existing code also. So i want to add gird to list box without doing any changes in the existing code.
|
|
|
|
|
Does this[^] help?
Regards,
Sandip.
|
|
|
|
|
i have this code guys:
j = -3;
for (i=0;i<3;i++)
{
switch (j+2)
{
case 3:
case 2: j--;
break;
case 0: j += 2;
break;
default: j=0;
}
if (j>0) break;
j = 3-i;
}
i want to write this without the breaks and goto
how can i do it gurus?
phokojoe
|
|
|
|
|
int j = 1; Remove everything else.
It's better to do your homework yourself.
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|