|
Let drwatson write the log and then you can use it to find your problem. C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log. Goto the last crash, and it will tell you the call stack around the crash. You will see fault in the margin for the line on which it crashed. Hopefully you will have enough information to trace it back to a line in your source. If not, build your release with debug information. Then let it crash, you should now see what function caused the crash and in what windows function. You might want to do this off the bat because drwatson is usually hard to read.
|
|
|
|
|
I went to the folder and found drwtsn32.log. But it was created in 2001. Do I have to turn it on some how?
I also modified the project setting to include the debug information. Hope it will help when my client comes back from vacation.
Eilzabeth
|
|
|
|
|
Problem solved. Please see my other reply. Thank you all.
-Elizabeth
Eilzabeth
|
|
|
|
|
Guys i am getting extremly annoying error when VC++ 6/7 link my program. Can anyone tell me how can i get rid of this error:
msvcprtd.lib(MSVCP70D.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) already defined in MUMServerShare.lib(Event.obj)
|
|
|
|
|
Sounds like your MUM library is build using static libraries while your main program is built with DLL libraries.
But that is a guess. Check you "code generation" settings in the two projects. Make sure they match.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
My workspace consists of two projects. The main project generate an ActiveX dll. The second project generate a static library. Main project is dependent on that static library. Is it legal ?????
|
|
|
|
|
Did you look at the "code generation" settings for the two projects and make sure the settings matched? Sounds like one says something like "Multithreaded Debug" and the other says "Multithreadded Debug DLL".
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Has anyone seen this problem ? Toplevel dialog have two child dialogs(with styles child,border=none) and in one of them is button. When user clicks on button the app calls AfxMessageBox("Hi ") but what happend ?! nothing Only beep and the app freezes in I discovered that problem is in dialog-style CHILD when I set style to POPUP is O.K.
thanx !!!!!!
Wizard_01
|
|
|
|
|
Anybody knows where could I met the current user privileges (administrator, users, guest ...) in Windows Register ??
Or ... any function in VC6.0 ??
Thanks,
Cris.
|
|
|
|
|
I've been tasked with upgrading our existing code base to visual studio .NET... lucky me.. 20 projects down... 70 to go.. Anyway, I'm having some troble linking with the new templeted CString and I'm hoping someone has seen this before because I'm running low on ideas..
DataFolder error LNK2005: "public: __thiscall ATL::CStringT<char,class strtraitmfc<char,class="" atl::chtraitscrt<char=""> > >::~CStringT<char,class strtraitmfc<char,class="" atl::chtraitscrt<char=""> > >(void)" (??1?$CStringT@DV?$StrTraitMFC@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@QAE@XZ) already defined in DataFolder.obj
It seems to be related to a header file in my project that #include's multiple .h files from different projects that use CString.. Any ideas how to fix this link error?
Thanks in advance.
|
|
|
|
|
I can't remember exactly if this was a fix for this problem but try remove that file (you can remove all of them) in the Debug/Release folder and then build the project again.
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
I found the solution.
http://support.microsoft.com/default.aspx?scid=kb;en-us;309801
|
|
|
|
|
I'm trying to translate ADO code in VB to C++, but I don't know what properties is in C++.
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Rickard Andersson wrote:
I'm trying to translate ADO code in VB to C++, but I don't know what properties is in C++.
Your question is a little unclear, what does the VB code look like?
Are you using the #import method with ADO? As properties is defined in msado15.tlh as a collection object.
Michael
Fat bottomed girls
You make the rockin' world go round -- Queen
|
|
|
|
|
Michael P Butler wrote:
what does the VB code look like?
Something like:
commandObject.CommandText = "SELECT CodeProject FROM BestWebSite"
commandObject.CommandType = acCmdText
Michael P Butler wrote:
Are you using the #import method with ADO?
Yes.
Michael P Butler wrote:
As properties is defined in msado15.tlh as a collection object.
Huh?
I'll have a look at that file!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Rough translation,
m_pCommand->put_CommandText(_bstr_t("SELECT CodeProject FROM BestWebSite"));<br />
m_pCommand->put_CommandType(adCmdText);
Michael
Fat bottomed girls
You make the rockin' world go round -- Queen
|
|
|
|
|
I want to use CreateProcessWithLogonW to create process.This function needs password to pass to it.My problem is for blank passwords,I don't know what to pass to it for blank passwords because it return error(ERROR_ACCOUNT_RESTRICTION error) for it if I use "".Any idea?
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|
|
Have you tried passing NULL?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Rickard Andersson wrote:
Have you tried passing NULL?
Yes.
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|
|
|
Hi Nish
Nishant S wrote:
Did you try entering a random string?
What do you mean by that?
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|
|
|
You answer was the quickest reply in the world.
Well,I passed some wrong passwords and it caused another error(Unknown user or wrong password).The errors are not the same but why do you say that?
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|
|
|
Nishant S wrote:
Sorry that I couldn't be of much help
Ni problem Nish.Thank you anyway.
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|