Hi, Thanks for your reply.
HungryCPPDev
Posts
-
Dump file creation -
Dump file creationHi, Thanks for the reply.
-
Dump file creationHi, I want to generate a dump file automatically whenever the application crashed/hanged. Is there any option to do it or how to do it programatically as the developer don't know when that application crashes at client location. Thanks in advance for your help.
-
MFC function inside browserHi All, My application has a browser plugin. It is an ActiveX component and inside this component, it has UI. There is a user defined message and its handler. Handler invokes a function which in turn displays a modal dialog box. While the modal dialog box is opened, the user defined message handler is being invoked. In the code, they are using SendMessage & PostMessage with this user defined message. I don't see any SendMessage call in the function which is responsible for displaying this modal dialog box. Now my doubt is, how is is possible to invoke user defined message handler with out using SendMessage while modal dialog box is opened? Is there any difference in the behavior of PostMessage while running inside a browser?
-
Problem with embedded ATL componentHello All, I have a CAB file which has a COM DLL and .INF file. My application is embedding this component in a JSP page and it is working fine in IE7 & IE8 but failed to work on IE9. Any suggestion on how to solve this issue
-
Problem with string conversionThanks for your reply. I am able to convert successfully using WideCharToMultiByte function. But I am facing the same problem when I use CStringA strA(str.GetStrng()) for conversion, even when I use SetLocale() function. Can you please help me out in this.
-
Problem with string conversionHi All, I am using below code to convert CString to char* and again back to CString. I am using 3rd party code which takes char* only. const size_t newsizew = (str.GetLength()+1)*2; char *nstringw = new char[newsizew]; size_t convertedCharsw = 0; wcstombs_s(&convertedCharsw, nstringw, newsizew, str.GetBuffer(), newsizew /*_TRUNCATE*/ ); AfxMessageBox(CString(CA2T(nstringw))); The conversion is working fine when content of str is in english. But this is not working properly when str is in other language. Can anyone suggest me how to make it work even for other languages. Thanks in advance.
-
Using make fileHi All, I am using 3rd party code in my application and I don't have libray file to link to my application. All I have a makefile and makefile.prg. Using these files is it possible to create .lib file? If yes, please guide me how to do this.
-
Dump analysisHi, is there any good tutorial on how to analyze hang dump when there is no PDB. I googled but failed to get good one. Thanks for your help
-
Dump analysisHello All, I have a hang dump from client. But the corresponding pdb are not available as it is a legacy project. Is it possible to know whether my components are responsible for this hang without pdb's. Thanks in advance.