Click here to Skip to main content
15,078,081 members

Comments by Debojyoti Majumder (Top 66 by date)

Debojyoti Majumder 21-Apr-15 2:48am View
   
We re-wrote the module in .NET, at that point of time I have not found any good solution apart from that. The module was not so big and that's why I think I was able to do that.
Debojyoti Majumder 14-Nov-11 5:16am View
   
Please specify the problem in detail...
Debojyoti Majumder 9-Aug-11 6:09am View
   
@KarstenK
Thanks.

I tried to give some credentials to the client thread.
I used this code...

RPC_SECURITY_QOS SecQos;

// Set the quality of service on the binding handle
SecQos.Version = RPC_C_SECURITY_QOS_VERSION_1;
SecQos.Capabilities = RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH;
SecQos.IdentityTracking = RPC_C_QOS_IDENTITY_DYNAMIC;
SecQos.ImpersonationType = RPC_C_IMP_LEVEL_IDENTIFY;

status = RpcBindingSetAuthInfoEx(hello_v1_0_c_ifspec,
NULL,RPC_C_AUTHN_LEVEL_PKT_PRIVACY, RPC_C_AUTHN_WINNT, NULL,RPC_C_AUTHZ_NONE,&SecQos);

But the call it's not working.
status returned 1702... invalid binding.

What am I doing worng??
Debojyoti Majumder 4-Aug-11 2:02am View
   
Nice answer..
Debojyoti Majumder 28-Jul-11 7:15am View
   
I am intersted in knowing purpose of the problem??
Debojyoti Majumder 27-Jul-11 6:46am View
   
Can you share your code??
Debojyoti Majumder 27-Jul-11 6:45am View
   
Do you want a screen shot or remote control (similar to mstsc)??
Debojyoti Majumder 27-Jul-11 6:06am View
   
Can you share your code??
Debojyoti Majumder 27-Jul-11 1:48am View
   
What information acctually you want??
Your question is not clear.
Debojyoti Majumder 15-Jul-11 2:51am View
   
Yes, I have already done this part..
anyways thanks for your help.
...
Debojyoti Majumder 15-Jul-11 1:31am View
   
is it a joke??
Debojyoti Majumder 15-Jul-11 1:31am View
   
Your problem is not at all clear...
Debojyoti Majumder 15-Jul-11 1:29am View
   
Please clearify your requirements...
Debojyoti Majumder 11-Jul-11 2:46am View
   
can you show us the GetExcelDriver() code...??
Debojyoti Majumder 27-May-11 3:22am View
   
me too..
Debojyoti Majumder 25-May-11 6:27am View
   
What problem you are facing in doing so..??
Debojyoti Majumder 24-May-11 8:04am View
   
Do you have a device driver for your device?
Debojyoti Majumder 24-May-11 4:15am View
   
In case of linux you can this command /usr/bin/check-bios-nx --verbose
Debojyoti Majumder 24-May-11 2:03am View
   
C-style char*
Debojyoti Majumder 23-May-11 5:48am View
   
The structure is not that big. It just contains two strings.
Debojyoti Majumder 23-May-11 5:35am View
   
No, the variable is in local scope.. and it's not static.
Debojyoti Majumder 23-May-11 3:54am View
   
I am looking forward for a solution. Good question..
Debojyoti Majumder 23-May-11 3:13am View
   
Thanks for your views.

Actually, I forgot to mention the code is working correctly in Debug mode but crashing in release mode.

stDevInfo is getting filled properly.
I have checked it.
Debojyoti Majumder 23-May-11 1:53am View
   
Deleted
My code is something like this
vector<dev_info> vInfo;
...
....
DEV_INFO stDevInfo; // User defined structure
FillDevInfo(&stDevInfo); // User defined function call
...
..
vInfo.push_back(stDevInfo); // This line crashing
Debojyoti Majumder 18-May-11 0:45am View
   
Yes.
Debojyoti Majumder 17-May-11 8:04am View
   
Hey, it's not a problem... it's a task.
Debojyoti Majumder 17-May-11 7:54am View
   
Please share your code.
Debojyoti Majumder 16-May-11 5:34am View
   
Please format your code properly..
Debojyoti Majumder 16-May-11 2:48am View
   
do you want to list all the browser available in the system??
Debojyoti Majumder 13-May-11 1:00am View
   
can you share your code?
Debojyoti Majumder 28-Apr-11 7:58am View
   
it's a tough question for sure...
Debojyoti Majumder 28-Apr-11 7:55am View
   
use <pre> tag to post your code..
Debojyoti Majumder 20-Apr-11 2:06am View
   
I guess you are talking about "project".
Debojyoti Majumder 20-Apr-11 2:00am View
   
Please share your code.
Debojyoti Majumder 19-Apr-11 2:00am View
   
Do you any .mak file in your VC++ project?
Debojyoti Majumder 19-Apr-11 1:59am View
   
What value you are having in Request.QueryString["ID"]?
Debojyoti Majumder 18-Apr-11 9:44am View
   
Improve your question..
Debojyoti Majumder 18-Apr-11 8:02am View
   
what error you are having??
Debojyoti Majumder 18-Apr-11 4:06am View
   
are you using C++ 0x standards??
Debojyoti Majumder 4-Apr-11 2:43am View
   
have you google-ed it???
Debojyoti Majumder 1-Apr-11 2:21am View
   
can you share your code??
Debojyoti Majumder 28-Mar-11 2:44am View
   
Please share your code..
Debojyoti Majumder 24-Mar-11 2:32am View
   
How you are getting "printDialog1.PrinterSettings"?
Debojyoti Majumder 23-Mar-11 3:10am View
   
Can you share your code??
Debojyoti Majumder 21-Mar-11 1:37am View
   
Can you share your code??
Debojyoti Majumder 19-Mar-11 2:55am View
   
Quite a big task...
Debojyoti Majumder 9-Mar-11 5:59am View
   
use thread...
Debojyoti Majumder 8-Mar-11 5:23am View
   
Can you share your code??
Debojyoti Majumder 5-Mar-11 5:03am View
   
Sorry for the mistake. I was talking about the "Read" access.
Debojyoti Majumder 3-Mar-11 1:41am View
   
can you give any hint or link to do so??
It would be very helpful for me.
Debojyoti Majumder 17-Feb-11 23:25pm View
   
Thanks... App-verifier telling it's caused because of heap.

I tried not to use CImageList in my project and commented them (made my application without Icons).

I got crash in some other point.
The reason is same... "Heaps".
Debojyoti Majumder 17-Feb-11 22:54pm View
   
Here is my stack trace
vrfcore.dll!000007fef03937ed()
[Frames below may be incorrect and/or missing, no symbols loaded for vrfcore.dll]
vrfcore.dll!000007fef03997d4()
ntdll.dll!0000000077103703()
vfbasics.dll!000007feefc566d2()
vfbasics.dll!000007feefc5818e()
vfbasics.dll!000007feefc57872()
ntdll.dll!0000000077048a8f()
ntdll.dll!00000000770459b2()
ntdll.dll!000000007707fe48()
comctl32.dll!000007fefd2c1a09()
comctl32.dll!000007fefd2c1a7b()
comctl32.dll!000007fefd2c83b1()
> mfc100d.dll!CComCtlWrapper::_ImageList_Destroy(_IMAGELIST * himl=0x000000001f6179d0) Line 230 + 0xd2 bytes C++
mfc100d.dll!AfxImageList_Destroy(_IMAGELIST * himl=0x000000001f6179d0) Line 40 + 0x22 bytes C++
mfc100d.dll!CImageList::DeleteImageList() Line 1399 C++
mfc100d.dll!CImageList::~CImageList() Line 1375 + 0xd bytes C++
WinDiag.exe!CMainFrame::~CMainFrame() Line 72 + 0x27 bytes C++
WinDiag.exe!CMainFrame::`scalar deleting destructor'() + 0x2c bytes C++
mfc100d.dll!CFrameWnd::PostNcDestroy() Line 264 + 0x31 bytes C++
mfc100d.dll!CWnd::OnNcDestroy() Line 890 C++
mfc100d.dll!CWnd::OnWndMsg(unsigned int message=130, unsigned __int64 wParam=0, __int64 lParam=0, __int64 * pResult=0x000000000023e140) Line 2354 C++
mfc100d.dll!CWnd::WindowProc(unsigned int message=130, unsigned __int64 wParam=0, __int64 lParam=0) Line 2067 + 0x2b bytes C++
mfc100d.dll!AfxCallWndProc(CWnd * pWnd=0x000000000bfde830, HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=130, unsigned __int64 wParam=0, __int64 lParam=0) Line 248 + 0x30 bytes C++
mfc100d.dll!AfxWndProc(HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=130, unsigned __int64 wParam=0, __int64 lParam=0) Line 411 C++
mfc100d.dll!AfxWndProcBase(HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=130, unsigned __int64 wParam=0, __int64 lParam=0) Line 420 + 0x18 bytes C++
user32.dll!0000000076e2c3c1()
user32.dll!0000000076e2a01b()
user32.dll!0000000076e1f56e()
ntdll.dll!000000007707fdf5()
user32.dll!0000000076e1f5ba()
mfc100d.dll!CWnd::DestroyWindow() Line 1033 + 0xf bytes C++
mfc100d.dll!CDocument::OnCloseDocument() Line 857 C++
mfc100d.dll!CDocTemplate::CloseAllDocuments(int __formal=0) Line 433 C++
mfc100d.dll!CDocManager::CloseAllDocuments(int bEndSession=0) Line 666 C++
mfc100d.dll!CWinApp::CloseAllDocuments(int bEndSession=0) Line 102 C++
mfc100d.dll!CFrameWnd::OnClose() Line 880 C++
WinDiag.exe!CMainFrame::OnClose() Line 262 C++
mfc100d.dll!CWnd::OnWndMsg(unsigned int message=16, unsigned __int64 wParam=0, __int64 lParam=0, __int64 * pResult=0x000000000023ea30) Line 2354 C++
mfc100d.dll!CWnd::WindowProc(unsigned int message=16, unsigned __int64 wParam=0, __int64 lParam=0) Line 2067 + 0x2b bytes C++
mfc100d.dll!AfxCallWndProc(CWnd * pWnd=0x000000000bfde830, HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=16, unsigned __int64 wParam=0, __int64 lParam=0) Line 248 + 0x30 bytes C++
mfc100d.dll!AfxWndProc(HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=16, unsigned __int64 wParam=0, __int64 lParam=0) Line 411 C++
mfc100d.dll!AfxWndProcBase(HWND__ * hWnd=0x0000000000eb02a0, unsigned int nMsg=16, unsigned __int64 wParam=0, __int64 lParam=0) Line 420 + 0x18 bytes C++
user32.dll!0000000076e2c3c1()
user32.dll!0000000076e2a01b()
user32.dll!0000000076e2a061()
ntdll.dll!000000007707fdf5()
user32.dll!0000000076e2a08a()
user32.dll!0000000076e2a389()
user32.dll!0000000076e1e095()
user32.dll!0000000076e1e028()
user32.dll!0000000076e2c3c1()
user32.dll!0000000076e26484()
user32.dll!0000000076e52bdb()
mfc100d.dll!CWnd::DefWindowProcA(unsigned int nMsg=274, unsigned __int64 wParam=61536, __int64 lParam=8847406) Line 1069 + 0x2f bytes C++
mfc100d.dll!CWnd::Default() Line 282 C++
mfc100d.dll!CWnd::OnSysCommand(unsigned int __formal=61536, unsigned int __formal=61536) Line 470 + 0x1c bytes C++
mfc100d.dll!CFrameWnd::OnSysCommand(unsigned in
Debojyoti Majumder 17-Feb-11 4:50am View
   
Can you share your code??
Debojyoti Majumder 15-Feb-11 5:02am View
   
did you wrote any code for uninstallation??
Debojyoti Majumder 14-Feb-11 2:35am View
   
Try to open the file using "Dependency Walker"
Debojyoti Majumder 8-Feb-11 0:38am View
   
Does "VerifyPID" belongs to some .dll files??
Debojyoti Majumder 2-Feb-11 2:24am View
   
Can you share the code that creating the thread??
Debojyoti Majumder 2-Feb-11 2:22am View
   
Yes... I have used the method you said, but it's returning some other value.

I tried to use Spy++, and trace which window it's returning.
But the returned value was not matching any window.
Debojyoti Majumder 1-Feb-11 8:47am View
   
Thanks, It helped
Debojyoti Majumder 31-Jan-11 3:24am View
   
Many thanks..
It helped a lot.
Debojyoti Majumder 31-Jan-11 2:53am View
   
Many thanks.
Can you show how to use it in the command line??
Debojyoti Majumder 24-Jan-11 7:52am View
   
Please share your code..
Debojyoti Majumder 24-Jan-11 7:51am View
   
Deleted
Please share you code...
Debojyoti Majumder 22-Jan-11 5:04am View
   
many thanks
Debojyoti Majumder 22-Jan-11 1:44am View
   
Many thanks for giving the msdn link.
It will be very useful for me.
Debojyoti Majumder 18-Jan-11 2:17am View
   
Yes, I have signed my assembly.
In my case my assembly is .dll