Click here to Skip to main content
15,891,993 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to know which particular user has fired log-off? Pin
Kushagra Tiwari1-Oct-09 20:57
Kushagra Tiwari1-Oct-09 20:57 
QuestionRe: How to know which particular user has fired log-off? Pin
David Crow2-Oct-09 2:27
David Crow2-Oct-09 2:27 
AnswerRe: How to know which particular user has fired log-off? Pin
Kushagra Tiwari2-Oct-09 2:49
Kushagra Tiwari2-Oct-09 2:49 
QuestionSTL:: MAP<char> Data Structure Used</char> Pin
Anil Kumar.Arvapalli1-Oct-09 16:33
Anil Kumar.Arvapalli1-Oct-09 16:33 
AnswerRe: STL:: MAP Data Structure Used Pin
theCPkid1-Oct-09 16:55
theCPkid1-Oct-09 16:55 
AnswerRe: STL:: MAP Data Structure Used Pin
TimothyPMoore1-Oct-09 17:18
TimothyPMoore1-Oct-09 17:18 
AnswerRe: STL:: MAP Data Structure Used Pin
Stuart Dootson1-Oct-09 22:25
professionalStuart Dootson1-Oct-09 22:25 
AnswerRe: STL:: MAP Data Structure Used Pin
Stephen Hewitt2-Oct-09 2:42
Stephen Hewitt2-Oct-09 2:42 
QuestionFull Screen videa and Splash Screen confliction Pin
ScotDolan1-Oct-09 10:17
ScotDolan1-Oct-09 10:17 
AnswerRe: Full Screen videa and Splash Screen confliction Pin
theCPkid1-Oct-09 17:05
theCPkid1-Oct-09 17:05 
GeneralRe: Full Screen videa and Splash Screen confliction Pin
ScotDolan2-Oct-09 9:58
ScotDolan2-Oct-09 9:58 
Questionvc++ list problem Pin
Nikz21-Oct-09 6:51
Nikz21-Oct-09 6:51 
AnswerRe: vc++ list problem Pin
CPallini1-Oct-09 7:10
mveCPallini1-Oct-09 7:10 
GeneralRe: vc++ list problem Pin
jeron11-Oct-09 7:17
jeron11-Oct-09 7:17 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:20
Nikz21-Oct-09 7:20 
Cool. At least i know that i'am not crazy. Well. Here goes the rest of class TLevel.
class TLevel
{
public:
	TLevel();
void	CallBut(int xcoor,int ycoor,UINT nButton);
	TLevel(int lvlsize, int sealvl);
	~TLevel();
	bool Generate(CWnd *dialog,int StartPointX = 0, int StartPointY = 0, int size = 50);
	bool LoadList(CString str);
protected:
	MyList* Fieldlist;
	FieldStruct **map;
	int LvlSize; 
	int SeaLvl;
	int FieldSize;
	int GetIndexX(int xcoor);
	int GetIndexY(int ycoor);
};

I don't understand what can influence smthng so simple like Pointer1=Pointer2. It dosen't show any error. But as soon as i execute the code and it comes to this->Fieldlist=HeadList it raise a memory error (access violation). I'am desperate...
Oh yeah. And in constructor when i do smthng with Fieldlist it's ok. But when i get to LoadList function it crashes. Any idea?!
AnswerRe: vc++ list problem Pin
Richard MacCutchan1-Oct-09 7:27
mveRichard MacCutchan1-Oct-09 7:27 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:29
Nikz21-Oct-09 7:29 
GeneralRe: vc++ list problem Pin
Nikz21-Oct-09 7:41
Nikz21-Oct-09 7:41 
AnswerRe: vc++ list problem Pin
Stuart Dootson1-Oct-09 22:32
professionalStuart Dootson1-Oct-09 22:32 
GeneralRe: vc++ list problem Pin
Nikz22-Oct-09 4:40
Nikz22-Oct-09 4:40 
QuestionLogin crashes when i enter a wrong password [modified] Pin
Vetukuri Raju1-Oct-09 5:50
Vetukuri Raju1-Oct-09 5:50 
QuestionRe: Login crashes when i enter a wrong password Pin
David Crow1-Oct-09 7:21
David Crow1-Oct-09 7:21 
QuestionRe: Login crashes when i enter a wrong password Pin
Maximilien1-Oct-09 7:54
Maximilien1-Oct-09 7:54 
QuestionHow to build visual c++ code Pin
raja 41-Oct-09 4:35
raja 41-Oct-09 4:35 
QuestionRe: How to build visual c++ code Pin
David Crow1-Oct-09 4:40
David Crow1-Oct-09 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.