Wow, that site is my new best friend.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
Case ID_LEAVE
For X = 1 To Form1.ChannelList.ListItems.Count
If frmMain.ChannelList.ListItems.Item(X).Text = Username Then
frmMain.ChannelList.ListItems.Remove (frmMain.ChannelList.FindItem(Username).Index)
End If
Next X
Case ID_LEAVE
For X = 0 To Form1.ChannelList.ListItems.Count - 1
If UCase(frmMain.ChannelList.ListItems.Item(X).Text) = UCase(Username) Then
frmMain.ChannelList.ListItems.Remove (X)
X = X - 1 'Compensate for the removed item
End If
Next X
Quote from: warz on January 19, 2005, 03:01 PMhttp://forum.valhallalegends.com/phpbbs/index.php?topic=10168.0
What's with the Meh - (S-1-0-0) style names?
Quote from: NicoQwertyu on November 17, 2004, 03:13 PMThat's probably your problem. When that function is called it pushes values onto the stack that correspond to parameters and the address at which it was called. Return I *believe* will revert EIP to the original address after which the call statement was made, any parameters should be popped off within the function. Again, I'm not 100% sure of the order. So when you jump inside the function and ret is reached it will try popping values off the stack that are incorrect. You should always have pairs of pushes and pops for the stack.Quote from: MyndFyre on November 17, 2004, 03:03 PMQuote from: NicoQwertyu on November 17, 2004, 01:37 PM
After stepping through it in a debugger: my code executes, jumps to the correct address, does what I want it to, hits a "retn 0", then ends up somewhere else where it, according to the debugger, has an "access violation when reading [FFFFFFFF]". How can I fix whatever's going wrong?
It's hitting a ret instruction? Perhaps you need to use call rather than jmp in your code.
That wouldn't work for what I want it to do. And it should hit a ret, shouldn't it? The address I jump to is in the middle of a function.
Page created in 0.061 seconds with 16 queries.