| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<Noidea> that's getting e-mailed around. <whitewabbit> if you mean the alias, it's not mine, that's how it was written in a serious (supposed) unix programming book. <Noidea> no <Noidea> something that happened before you got here. <whitewabbit> Okay, i didn't know. <whitewabbit> What did i miss ? Anything funny ? <whitewabbit> Do you know about the alias i mentioned a while ago ? <whitewabbit> welcome Ashe <vawjrwrk> whitewabbit what about it? <whitewabbit> vawjrwrk, shell complains about it <vawjrwrk> well, what's the complaint? and what shell? <whitewabbit> hold on a second <whitewabbit> bash: mv!*~/tomb: ”µ½ ÅÀ¬Áǵ¹ ÄÄ¿¹¿ ±Áǵ¯¿ ® º±Ä¬»¿³¿Â <whitewabbit> there's no such file or dir <whitewabbit> while rm test ( there is a test file ) <whitewabbit> and tomb directory to mv on <vawjrwrk> maybe you should be asking in some bash channel <whitewabbit> Okay, thanks and sorry for the troubles. <jzxu> hi <jzxu> how do I print the contents of an stl list in gdb? <Justin_T> some here has vs or vs.net? <Justin_T> i need to fix something and i need help <Justin_T> ok <`Enkil> hola <SB__> hole <Justin_T> Unhandled exception at 0x77d6e176 in SendMail.exe: 0xC0000005: Access violation reading location 0x0000274c. <EwIck-> and? <Justin_T> i dont know why is it <Justin_T> when i compile the application its seems to be good <EwIck-> it's trying to read at 0x0000274c, which it cannot access <Justin_T> ---------------------- Done ---------------------- <Justin_T> Build: 1 succeeded, 0 failed, 0 skipped <Justin_T> ok <EwIck-> compile != runtime <Justin_T> yes <Justin_T> how i can i fix it <Justin_T> ? <EwIck-> frankly the problem could be anywhere in your code <Justin_T> the break stop here <EwIck-> run with the debugger until it fails and use the call stack window (among others) <Justin_T> appui1.cpp <Justin_T> line 117 <Justin_T> int nResult = ::MessageBox(hWnd, lpszPrompt, pszAppName, nType); <Justin_T> // restore prompt context if possible <Justin_T> if (pdwContext != NULL) <Justin_T> the line 117 is in the middle of int nResult and //restore <Justin_T> is a blank line <EwIck-> check your data <Justin_T> ok <Justin_T> but that file is a windows file, no of my code <EwIck-> and? <Justin_T> ok sorry <EwIck-> again, use the call stack window <EwIck-> you'll find around where the problem is in your code <Justin_T> > mfc71d.dll!CWinApp::DoMessageBox(const char * lpszPrompt=0x0000e491, unsigned int nType=1244512, unsigned int nIDPrompt=2082900380) Line 117 + 0x1c C++ <EwIck-> well see, that looks like garbage to me <EwIck-> 0xe491 is certainly not a valid pointer <Justin_T> ok <Justin_T> but i dont understand <Justin_T> is a blank line <EwIck-> it's the line just above. <EwIck-> I'll let you play with that <Justin_T> ok <Justin_T> int nResult = ::MessageBox(hWnd, lpszPrompt, pszAppName, nType); <Justin_T> this line? <Justin_T> or this if (pdwContext != NULL) <Justin_T> *pdwContext = dwOldPromptContext; <SB__> If I'm using .NET for TCPListener should i still use COUT or is it acceptable to use Console::WriteLine <Justin_T> hmm <Justin_T> EwIck- <EwIck-> dude <EwIck-> I'm not going to put my hand over yours and move your freaking mouse over the identifiers to show you what's wrong <EwIck-> hit F1 and learn how to use it <SB__> so.. console::writeline <EwIck-> SB__: if you're going to write for .NET, might as well use what it has to offer <Justin_T> i just want to tell you that i think that i delete some code of there <SB__> EwIck-, aight <EwIck-> as opposed to mixing it up <SB__> EwIck-, 1 more, why does the M$ examples have 'Console::Write(S"Wa' instead of 'Console::Write("Wa' <SB__> what is that S for? <EwIck-> no clue <[m]aniac> my guess is type specification and that's all <[m]aniac> as opposed to, say ,teh @ sign <SB__> hrm <SB__> ok <EwIck-> it's probably to convert the string to unicode <[m]aniac> yea <SB__> unecessary? <SB__> lol <[m]aniac> @"String" for example, vs S"string" <[m]aniac> perhaps unnecessary, sure <SB__> compiles without <SB__> i'll try without <SB__> thanks :) <EwIck-> satan's waiting for you at the doors of h.e.l.l. that's right. h.e.l.l. 8 byte wide <Justin_T> i found my error <Justin_T> and fix it <JBlitzen> _m_, pfloyd's okay <JBlitzen> I thoink <JBlitzen> -o <JBlitzen> You sure he was spamming? <JBlitzen> Or are you trying out a nick## script? <rdragon> heh <pfloyd24> http://www.noidea128.org/sourcefiles/15932.html <pfloyd24> this is an mfc problem <pfloyd24> I have a problem in the first set of code I have in that link <pfloyd24> brb <rdragon> which is? <pfloyd24> no reported error <pfloyd24> except something with CString <rdragon> what's the problem? <pfloyd24> on line... <rdragon> "something" ? <pfloyd24> no real error message at all, just figure something with all these pointers... 1 sec lemmie try <pfloyd24> unhandled exception in TechCenter.exe... <pfloyd24> access violation... <pfloyd24> _AFX_INLINE CStringData* CString::GetData() const { ***ERT(m_pchData != NULL); return ((CStringData*)m_pchData)-1; } <Justin_T> return m_name; <--- where is that declared? <rdragon> no idea, I don't see it anywhere <rdragon> pfloyd24 where (in your code) is the problem? <TechRaven> anyone know of a XML parser thats cross platform? <TechRaven> anyone know of a light weight XML parser thats cross platform? <rdragon> tinyxml ? <pfloyd24> ok 1sec <Justin_T> 1.34 <pfloyd24> CString aString = selectedcl***->GetNames(); <pfloyd24> there <rdragon> I ***ume m_name is a CString <pfloyd24> yes <rdragon> apparently m_pchData is null ;) <Justin_T> return m_pSelected; <pfloyd24> that's the problem? <pfloyd24> n/m doesn't work <pfloyd24> want to see the whole code? <[m]aniac> . <pfloyd24> well this ****s <Justin_T> lol <pfloyd24> man I just got 2 kick*** books <Justin_T> :) <TCA> Kick*** Programming In C++ --and-- Kick*** Programming in Delphi? <pfloyd24> omg! how did you know? <TCA> I'm psychic <Justin_T> lol <TCA> Alright. I'm not. <Justin_T> :) <TCA> I'm a hacker and I looked at your credit card records
Return to
#c++ or Go to some related
logs:
#linuxhelp #chatzone medeea undernet #linux tahxi Multiplus - World Cup banshee m4a dcc++ hub wiki #linux #AllNiteCafe
|
|