The given link is about "Digital Code Signing" and i need to retrive information programmatically from digital signature embedded in an executable such as signer name and counter signer name.
K Sushilkumar
Posts
-
Digital Signature: Signer Name -
Digital Signature: Signer NameHow to programmatically extract or get the signer name and counter-signer name from an exectuable file if it is digitally signed. Is there any API or any raw method.
-
Symbian Deflate algorithmNew Symbian executable uses Deflate algoritm for compression. Where can i get help/algo/source related to this algorithm? Thanks in advance.
-
Symbian executable file formatSymbian has released new executable (E32Image) file format for Symbian OS v9.x. This format is a bit different from the previous one. How can we different the executable whether it is of new format or old format (programatically)? Thanks in advance.
-
drives listI have three users viz. User1 User2 User3 User2 has mapped network drive. Now when i enumerate drives using GetLogicalDrieStrings in User1, i only get drives of User1. What i want is to enumerate all the drives including mapped drive in User2 in any user context. How can i acheive this??? Thanks in advance. Regards, K. Sushilkumar.
-
Enumerate HooksHi All, How can i enumerate installed hooks? Thanks & Regards, K. Sushilkumar.
-
Get dependent Dll listYou can find out what DLL's are implicitly linked to the DLL or EXE by reading the PE import table. Thanks & Regards, K. Sushilkumar.
-
ShellExecute with new instanceHi All, I am trying to open a web page using the following code.
ShellExecute(this->m_hWnd, _T("open"), _T("www.xyz.com"), NULL, NULL, SW_SHOWNORMAL);
It works well. Consider, Default browser is Mozilla Firefox. An instance of the Mozilla Firefox is running with some tabs open in it. The above code will open a new tab (www.xyz.com) in the existing instance. Now what i want is to open my web page with new instance. Thanks & Regards, K. Sushilkumar.
-
How to make topmost control on dialog? [modified]I am not sure but you can have a try, You need to SetWindowPos for all the controls that intersect with your listbox. The call should be in the same order you would like to. Ex. SetWindowPos(EDIT_1) SetWindowPos(EDIT_2) SetWindowPos(LISTBOX) //Top-most.
-
is executable digitally signedHow do we programmatically come to know whether an executable is digitally signed or not? Is the signature in the form of section or a structure? If it is like a structure then is there any document structure for it. Does the size of the signature stored stored anywhere? I am having two samples of same dll viz. signed and unsigned. I find the difference in windiff only at the end of the files. Thanks & Regards, K. Sushilkumar.
-
creating dialogs in a loopThank you. It is a good solution. Yes it could help me to some extent in my code. Because the dialogs are already being implemented. And i cannot change them from my side. I can only create the dialogs. As i discussed in earlier post that i was searching for some different technique instead of using if-else/switch for new operator. But as part of education/knowledge the technique used is mind blowing. Thanks & Regards, K. Sushilkumar.
-
How to change the appearence of mouse pointer to sand TimeIf you are using MFC then try,
BeginWaitCursor();
...
EndWaitCursor();or
CCmdTarget::BeginWaitCursor();
...
CCmdTarget::EndWaitCursor();Thanks.
-
creating dialogs in a loopYes you are right. To do that task now i am sequentially writing those many statements for each dialogs. I thought this task as challenging. I continued with some research and tryouts. You have suggested about templates, can you please help me out with a piece of code. This is just educational. I haven't stuck for this but I am trying to complete the task in any ways. Though it is silly problem I have spend enough time for it. I hope you understood the problem. Thanks & Regards, K. Sushilkumar.
-
creating dialogs in a loopYes that is confusing but it is usable. I'll give you the scenario, I need to write options/settings module for a product. The product is dialog based. Now the options will be in a tree control on the left side. When user clicks a particular option i need to display appropriate dialog. There a 20 such options. To hide or show the respective dialog first they need to be created. The question i posted doesn't relate to number of dialogs to be created. Instead, in a loop how can we provide the typename for new operator. Just refer the root post. Thanks.
-
creating dialogs in a loopYour solution was actually very good and convincing. But i was trying the same without using switch/if-else or any user defined function. I feel that there may be any other means to achieve the problem. If it is not feasible then i am really sorry for the question i posted. Thanks.
-
creating dialogs in a loopYour solution is good. But i had given a sample of code. What actually i want to do is to create around 20 dialogs of different types. The resource i can have for this is the array of DLG_INFO. For acheiving this we can extend or add more members to DLG_INFO. Thanks.
-
creating dialogs in a loopI am sorry that u didn't get the question. what i want to do is similar to the following, float *pf; float *pf = new float; (This is the normal case where float is the typename passed to new operator). (Now consider our problem) int *pi; char *pc; If i have such many different types of pointers. And i want to create memory to that respective pointer with it's respective type in loop. So how am i able to provide typename to the new operator generically in a loop.
-
creating dialogs in a loopHi everybody, I am trying to create dialogs in a loop. I am having pointer to each dialog and resource id. Problem is while creating an object of that dialog using new operator. As new requires the typename which i am unable to provide in a loop. Please refer the code below. DlgA *pDlgA; DlgB *pDlgB; typedef struct tagDLG_INFO { CDialog *pDlg; DWORD dwDlgID; } DLG_INFO, *P_DLG_INFO; DLG_INFO arrDlgInfo[2] = { {pDlgA, IDD_A}, {pDlgB, IDD_B} }; for (DWORD dwLoopCount = 0; dwLoopCount < 2; ++dwLoopCount) { arrDlgInfo[dwLoopCount].pDlg = new XXX; //(How to provide typename in a loop). arrDlgInfo[dwLoopCount].pDlg->Create(arrDlgInfo[dwLoopCount].dwDlgID, this); } I tried using macros, templates, RTTI, typeinfo, but i did'nt find any proper solution. Thanks in advance.