|
Your code uses some libraries (like the C-runtime for instance) and if the crash occurs there, then sometimes nou source code is available. Check the call stack to find one of your function that is causing the problem.
Forget what I said, I was mixing with another message
Anyway, as already stated, you need to have the source code of the dll.
|
|
|
|
|
That's never completely true. As you can see with Dependency Walker tool, your code possibly links with several other libraries.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
tasumisra wrote: i tried with "go to source code" then it is saying source code is not avalable ...
Errh, do you have the actual source code?
Make sure the .pdb file for dll can be found, you may copy it to the directory from which you're running the application that uses the library.
Without the .pdb file the debugger cannot find out how to map the executable code to source code and vice versa.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
yes i do have .. i am executing my code only .. what was happening i was debuuging my code .. and in the meantime i modified my code so what happen it show me a pop there and there was a checkbox to show the assembly
... now it is control is going to assembly only ... not to the actual source code..
vikas da
|
|
|
|
|
tasumisra wrote: what was happening i was debuuging my code .. and in the meantime i modified my code so what happen it show me a pop there and there was a checkbox to show the assembly
Well, to me it sounds like you've built some thing with a program database for "edit and continue" and you've done just that; edited and continued.
Make sure that your .pdb file for the library is up-to-date. You may delete it and rebuild the library, or you can do a "rebuild all".
Make the rebuilds when you're not inside a debugging session.
If this has worked before, some part has got hick-ups and it's usually easily fixed by rebuilding.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
It sounds like your debug settings arent complete. You got to check your project settings, to include debug information in the dll.
It is also possible that you get an assertion before your breakpoint. => Make a breakpoint at the dll startup code and than go ahead.
Greetings from Germany
|
|
|
|
|
Have you tried closing the window containing the assembly code? I've seen this often with VS6. I just close that one window and continue on.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
Hello friend,
We have some aappplication which was made previously.
Actually we need to convert it into 64 bit to support the OS.
We need to use it for other aapplication which made by us in current 64 bit.
Please can anyone tell how we can convert any application(dll/exe) of 32 bit into 64 bit
abhi
|
|
|
|
|
Compile and link all your source code on 64 bit machines.
Please refer here[^] for configuring Visual C++ Projects to Target 64-Bit Platforms.
Regards,
Paresh.
|
|
|
|
|
|
I m using libtiff library which has medianfilter tool.It reduces original file(.tif) size to 1/3.Why?
|
|
|
|
|
If I understand it right the median filter is computing the difference from the median.
That leads for instance from "100 102 103" to "100 2 3" so it is shorter, and thats what you see.
Greetings from Germany
|
|
|
|
|
Any body have sample code for "TRIVIAL FILE TRANSFER PROTOCOL" Using C++??
Thanks in Advance
Hitesh sojitra
|
|
|
|
|
|
That is a sample for FTP not TFTP.
|
|
|
|
|
|
|
Hi,
I have had a look and can't find an answer to this 'simple' question?
Under Vista I have noticed that all child windows in a MDI are framed in "Blue coloured Basic" style... Is there a way to get the shiny glass effect for the child windows? Or atleast get them to have the same colour as their parents?
Also is one of the ways MS is trying to stop MDIs... Make them look ugly enough and people will stop using them.. lol
|
|
|
|
|
Justin Cobb wrote: Under Vista I have noticed that all child windows in a MDI are framed in "Blue coloured Basic" style... Is there a way to get the shiny glass effect for the child windows? Or atleast get them to have the same colour as their parents?
Wouldn't that require you to change the color scheme (or theme) being used? Or are you talking about enabling Aero?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
That is what I mean...
The main window is nicey glassy thanks to Aero, but the children windows are just 'plain' non-glass. I was wondering if there is a way of getting the Aero effect on the children, or atleast picking up the right colours? I guess that by poking around with the WM_NCPAINT-ish messages it could be possible, but not sure how... I haven't really looked into the whole non-client area painting stuff.
|
|
|
|
|
Hello dear friends,
I've developed a toolbar application.
I've added icon with more than256 colors for toolbar buttons.
I've added 1 dialog box that has tab control on it.
The tab has 2 tabs and it is working fine.
Now I've added a Label and a text box in dialogbox for the third tab.
When I click on the third tab I hide all the controls except the
newly added lablel and textbox for this third tab of the dialogbox.
But I can't see them.
Can anybody tell me what goes wrong it appears in the resource view of
the dialogbox but it won't appear when i click the third tab of the
tabcontrol?
Thanks in Advance to all of you.
ritz1234
|
|
|
|
|
Can you please paste your code snippet here??
and one more thing please edit your question properly as the problem you asking hsa nothing to do with subject
|
|
|
|
|
This is the function that makes the control hide/visible
void MainDlg::ShowTabData(int nTab)
{
try
{
HWND hWnd;
CButton *ob1=(CButton*)GetDlgItem(IDC_AUTO);
CButton *ob2=(CButton*)GetDlgItem(IDC_MANUAL);
CEdit *Eob=(CEdit*)GetDlgItem(IDC_PASSWORD);
switch(nTab)
{
case 2:
GetDlgItem(IDC_STATIC4)->ShowWindow(true);
GetDlgItem(IDC_ORG)->ShowWindow(true);
GetDlgItem(IDC_STATIC1)->ShowWindow(false);
GetDlgItem(IDC_STATIC2)->ShowWindow(false);
GetDlgItem(IDC_STATIC3)->ShowWindow(false);
GetDlgItem(IDC_USER)->ShowWindow(false);
GetDlgItem(IDC_PASSWORD)->ShowWindow(false);
GetDlgItem(IDC_URL)->ShowWindow(false);
GetDlgItem(IDC_AUTO)->ShowWindow(false);
GetDlgItem(IDC_MANUAL)->ShowWindow(false);
case 1:
GetDlgItem(IDC_STATIC1)->ShowWindow(true);
GetDlgItem(IDC_STATIC2)->ShowWindow(true);
GetDlgItem(IDC_STATIC3)->ShowWindow(true);
GetDlgItem(IDC_USER)->ShowWindow(true);
GetDlgItem(IDC_PASSWORD)->ShowWindow(true);
Eob->SetPasswordChar('*');
GetDlgItem(IDC_URL)->ShowWindow(true);
SetDlgItemText(IDC_USER,m_strUserName);
SetDlgItemText(IDC_PASSWORD,m_strPassword);
SetDlgItemText(IDC_URL,m_strUrl);
GetDlgItem(IDC_AUTO)->ShowWindow(false);
GetDlgItem(IDC_MANUAL)->ShowWindow(false);
break;
case 0:
GetDlgItem(IDC_STATIC1)->ShowWindow(false);
GetDlgItem(IDC_STATIC2)->ShowWindow(false);
GetDlgItem(IDC_STATIC3)->ShowWindow(false);
GetDlgItem(IDC_USER)->ShowWindow(false);
GetDlgItem(IDC_PASSWORD)->ShowWindow(false);
GetDlgItem(IDC_URL)->ShowWindow(false);
GetDlgItem(IDC_AUTO)->ShowWindow(true);
GetDlgItem(IDC_MANUAL)->ShowWindow(true);
}
}
catch(...)
{
}
}
This Above function is called by the following function
void MainDlg::OnSelchangeOptionTabs(NMHDR* pNMHDR, LRESULT* pResult)
{
try
{
CString strtab;
int ISel=m_Tab->GetCurFocus();
ShowTabData(ISel);
*pResult = 0;
}
catch(...)
{
}
}
ritz1234
|
|
|
|
|
i guess you need to pass SW_HIDE instead of false and SW_SHOW instead of true.
also you have break missing in case statements.
|
|
|
|