MessageBox inCPPBuilder 2007 Programming Software Development by johngw …, but those I have added since upgrading all give an AccessViolation at Run time. The Call Stack looks like this: :7c812a5b… Question about LinkedList in C Programming Software Development by steven8579 … delete from the beginning of the list. I get an AccessViolation which is coming from where I print out the list… Re: Question about LinkedList in C Programming Software Development by steven8579 …, when I get to the empty list, I get an AccessViolation. ` #include <StdAfx.h> #include <stdio.h>… Re: OutOfMemoryException Programming Software Development by Diamonddrake … it in its autos, section that says there was an accessviolation to the rich text box control. anyhow here is the… Re: Using Images in a folder Programming Software Development by Geekitygeek … your code. In a lot of places it is throwing AccessViolation errors, for instance in one place it is trying to… Re: MessageBox inCPPBuilder 2007 Programming Software Development by johngw I might add that in Forms::TApplication.MessageBox in line Result:= Windows.MessageBox(TaskActiveWindow,Text, Caption,Flags); Text and Caption are correct and the other arguments are the same as for a MB that works OK. Windows is {} for both MBs. Re: MessageBox inCPPBuilder 2007 Programming Software Development by johngw Actually the Message Box was not really the cause of the Access Violation. I corrected something else unconnected with the message box statement and the AV went away. Don't know why it manifested as it did. Re: Question about LinkedList in C Programming Software Development by Ancient Dragon I think the problem is line 36. freenode is the new node to add to the head of the linked list. all you have to do is this: freenode->next = top; top = freenode; line 45: you need a `break` statement before the next case. line 11: main() always always, always returns int. Some compilers will allow void return but that is a … Re: Question about LinkedList in C Programming Software Development by Ancient Dragon line 23: after allocating the new node you need to set the next pointer to NULL so that the program can detect the end of the list.