Sign in to follow this  
Followers 0
mikemanutd

Call a Pure Virtual Function

138 posts in this topic

Does anyone know how to call a pure virtual function so I can put a debug break in it? Please, Im dying to play the game now.

Share this post


Link to post
Share on other sites
Explain yourself properly - explain what your problem is, include screenshots of error messages, and describe what's happened - then we might help you.

Share this post


Link to post
Share on other sites
well u had a thread that got 4000+ views bout this problem and no one helped me but it was on the bugs forum. so here it goes.... im just playing around on the game and then this happens
1. Serious error had occured and the application must close. An error file has been placed in the Crash dumps folder. (nothing goes into the crash dumps folder)
2. An error report comes up saying dont send or send. (this doesnt help in the slightest)
3. Title of pop up: Microsoft Visual C++ Runtime Library error.
Runtime Error
(say what the game is and where)
R6025:
Pure Virtual Function Call



microsoft say i need to call a pure virtual function and place a debugbreak in it but I dont know how to call it or place a debubreak in it.
Sorry dont know how to place screen shots on the thread.

Share this post


Link to post
Share on other sites
you cant do it as it involves seeing the actual game code which isn't possible

Share this post


Link to post
Share on other sites
[quote]Originally posted by acidmonkey:
you cant do it as it involves seeing the actual game code which isn't possible [/quote]

im guessing this mean i cant fix the game and RTHerringbone and stokes_83 what does that mean.

Share this post


Link to post
Share on other sites
[img]http://community.sigames.com/groupee_common/emoticons/icon_confused.gif[/img]
i dont know wat i have done way a flux capacitor and wat the hell is the ULA and where can i get hex editor from

Share this post


Link to post
Share on other sites
[quote]Originally posted by This field intentionally left blank:
Load the .exe into a hex editor, find the vtable for the class in question and replace the null pointer with a pointer of your choice. In hex my favourite pointer is 0xdeadbeef.

BTW, you've just violated the ULA. [/quote]

how do u load the .exe into hex editor and wat is the .exe for fm08 is it fm.exe?

Share this post


Link to post
Share on other sites
Hello!
I have the same problem and i'm not sure it's good idea to edit fm.exe with hex editor. Does anybody have another decision?

Share this post


Link to post
Share on other sites
If you hit ctrl+Alt+delete 3 times, you should get a pop up onto your screen.

You will be able to open up a dtection program. This will enable you to more easily detect when people are taking the p1ss out of you.

Flux Capacitor?!? FFS, haven't you ever seen 'Back to the Future'?

Share this post


Link to post
Share on other sites
Got a big/decent Hard Drive?

Try upping your virtual RAM.

Right Click on My Computer
Properties
Advanced Tab
Click Settings in the Performance area.
Click Change under the virtual RAM area.
Up the initial and the maximum values.

Before doing this, please make sure you've reinstalled the game and patched it to the latest version.

Failing that you may have a ****ed version of Windows or just a **** pc/drivers.

Start>Run>dxdiag tells you all your pc stats [img]http://community.sigames.com/groupee_common/emoticons/icon_smile.gif[/img]

Share this post


Link to post
Share on other sites
[quote]Originally posted by DamianY2J:
OK, you seem to be going around in circles. Here is the proper answer:

- You can't debug or do anything to the game's code. So that's that.

- To solve the error, try and updating your graphics card or reinstalling the game. That is your only solution.

However, this thread should not be in this forum. Please write it in the Bugs Forum and wait for a reply. If you don't get any, then no-one can help. [/quote]

update graphics card and reinstalled the game

i had a hot topic in the bugs forum but got new answer

Share this post


Link to post
Share on other sites
[quote]Originally posted by mikemanutd:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by DamianY2J:
OK, you seem to be going around in circles. Here is the proper answer:

- You can't debug or do anything to the game's code. So that's that.

- To solve the error, try and updating your graphics card or reinstalling the game. That is your only solution.

However, this thread should not be in this forum. Please write it in the Bugs Forum and wait for a reply. If you don't get any, then no-one can help. [/quote]

update graphics card and reinstalled the game

i had a hot topic in the bugs forum but got new answer </div></BLOCKQUOTE>

Then either wait for an answer or you'll have to accept that no-one knows the answer.

Share this post


Link to post
Share on other sites
[quote]Originally posted by HHUK:
You're in dire need of a flux capacitor. [/quote]

i just so happens i found one of these in my pocket today and i decide to flog it to the highets bidder whos guna start me? i got 5 xeobytes over here? 24 xeobyts thank you any advance?

Share this post


Link to post
Share on other sites
how can a game be made with a problem that cant be fixed....it just pure stupidity...think if i sent a letter to SI i would get a reply (doubt it)

Share this post


Link to post
Share on other sites
[quote]Originally posted by mikemanutd:
i think it is something to do with the game and pc. somethin on the pc or somethin the pc is lacking isnt mixing very well with the game [/quote]

Your technical jargon is confusing me.

Share this post


Link to post
Share on other sites
When a program is written, it is generally compiled into machine code, as is Football Manager 2007 and 2008.

Now, programs like Visio and Visual C++ can run programs in little "sandboxes", so they can, say, monitor what goes on in the computer while it runs. Not just files it creates and stuff, but rather how virtual memory and registers are used. It forms the basis of programs such as FM Modifier, analysing memory.

Unfortunately, Microsoft, when you install what I'd imagine is Microsoft Visual Basic with Microsoft Visual C++ with various other things, whenever a program encounters an error, it assumes you are a technical expert and then thinks you will be able to debug the program. Not just modify the underlying code, but the memory too! Obviously, few people are capable of such a thing, but the error message is in such a way that people will usually click debug or something, because they think Microsoft is so good at software design, it will debug for you.

It doesn't. And I highly doubt many people can.

So what I suggest: Ignore this stupid message, it's doubtful this is the solution. It's almost like finding your car broken down, and instead of checking if your ignition key is inside, you take your car apart to find the problem.

You can view Microsoft's description, too. But don't follow any of their instructions, there's no point.

[url="http://support.microsoft.com/kb/125749"]http://support.microsoft.com/kb/125749[/url]

I am inclined to think it's a botched install. Try uninstalling your game and re-installing. Otherwise, it could be various issues, including broken DirectX drivers or spyware. But do the reinstall first.

Share this post


Link to post
Share on other sites
I've done a little poking around, too, and it could be your graphics card, but this is unlikely looking at yours.

You could try getting updated drivers from nVidia. But again, I doubt this is the case and it's not really a nice path, updating your graphics drivers, when you get it wrong.

What I did find out was that this error is quite widespread over multiple games so it could well be graphics card or DirectX-related.

Share this post


Link to post
Share on other sites
[quote]Originally posted by Dappen:
un-install the game, re-install the game, what happens then? [/quote]

it still doesnt work

Share this post


Link to post
Share on other sites
my version of CirectX is 9.0c and the game says the graphic card must be 8.1 compatiable so you think i should install 8.1 over 9.0c or should it work with 9.0c and somewhere i have read that someone fixed this problem on CM03/04 by installing windows XP service pack 2 but i cant install it. it doesnt show up on windows update...does this mena i already have it

Share this post


Link to post
Share on other sites
un install the game. go to c:\program files\sports interactive\ and delete the football manager 2008 folder. then reinstall.

Share this post


Link to post
Share on other sites
[quote]Originally posted by mikemanutd:
how can a game be made with a problem that cant be fixed....it just pure stupidity...think if i sent a letter to SI i would get a reply (doubt it) [/quote]

you expect SI to release a game complete with all code that can be viewed?

Share this post


Link to post
Share on other sites
[quote]Originally posted by Chilliconcarnie:
un install the game. go to c:\program files\sports interactive\ and delete the football manager 2008 folder. then reinstall. [/quote]

been there done that several times

Share this post


Link to post
Share on other sites
[quote]Originally posted by postal postie:
<BLOCKQUOTE class="ip-ubbcode-quote"><div class="ip-ubbcode-quote-title">quote:</div><div class="ip-ubbcode-quote-content">Originally posted by mikemanutd:
how can a game be made with a problem that cant be fixed....it just pure stupidity...think if i sent a letter to SI i would get a reply (doubt it) [/quote]

you expect SI to release a game complete with all code that can be viewed? </div></BLOCKQUOTE>

no i expect the game code not to contain any faults and if it does there should be a way of fixing it

Share this post


Link to post
Share on other sites
I don't think it's the game. If the CD was scratched, say, the install would've quite likely not completed itself.

Alright, I think we've exhausted the possible avenues. You have an nVidia card, so go to [url="http://www.nvidia.com"]http://www.nvidia.com[/url] > Download drivers > Enter all your computer details and search, or use Option 2. Follow all the instructions carefully. Before doing any installing, I suggest you go and dig out the CD that came with the original drivers for your video card just in case something goes wrong. Get the latest drivers and install them, restart your computer, then give the game a shot again.

It could well be a corrupted DirectX driver or something - if you play any other games, does this happen? You can also try installing DirectX 9.0c again ([url]http://www.download.com/Microsoft-DirectX-Drivers-Redistributable/3000-2121_4-10617608.htm[/url] l - a copy here), restart your system and try again.

Keep us updated.

Share this post


Link to post
Share on other sites
[img]http://community.sigames.com/customicons/icon14.gif[/img] to x42bn6 - useful and helpful, especially the explanation about debugging.

Share this post


Link to post
Share on other sites
[quote]Originally posted by x42bn6:
I don't think it's the game. If the CD was scratched, say, the install would've quite likely not completed itself.

Alright, I think we've exhausted the possible avenues. You have an nVidia card, so go to [url="http://www.nvidia.com"]http://www.nvidia.com[/url] > Download drivers > Enter all your computer details and search, or use Option 2. Follow all the instructions carefully. Before doing any installing, I suggest you go and dig out the CD that came with the original drivers for your video card just in case something goes wrong. Get the latest drivers and install them, restart your computer, then give the game a shot again.

It could well be a corrupted DirectX driver or something - if you play any other games, does this happen? You can also try installing DirectX 9.0c again ([url]http://www.download.com/Microsoft-DirectX-Drivers-Redistributable/3000-2121_4-10617608.htm[/url] l - a copy here), restart your system and try again.

Keep us updated. [/quote]

i till give this a go. thanks for your time. sorry to say but it cant be the disc because I have had the game now with new different disc (it is the only refund policy game offer) and it didnt work with either disc so i doubt it is that.

Share this post


Link to post
Share on other sites
well I have a few games which would work which I thought would need better graphics eg. Battlefield 2 and Battlefield 2142. But Medieval Total War 2 doesnt work - doesnt install fully somethin to do with a voice1.dat file being wrong or something. You think it is related (i dont).

Share this post


Link to post
Share on other sites
x42bn6 it didnt work what you suggested. I downloaded the directX from the link you gave and it worked for about 2 hours and then the problem reoccured. So i tried to install it again and the problem happened straight away. I have alreayd tried the latest nvidia update. [img]http://community.sigames.com/groupee_common/emoticons/icon_frown.gif[/img]

Share this post


Link to post
Share on other sites
[quote]Originally posted by mikemanutd:
x42bn6 it didnt work what you suggested. I downloaded the directX from the link you gave and it worked for about 2 hours and then the problem reoccured. So i tried to install it again and the problem happened straight away. I have alreayd tried the latest nvidia update. [img]http://community.sigames.com/groupee_common/emoticons/icon_frown.gif[/img] [/quote]Alright, we are getting somewhere! What did you do so the game ran for 2 hours? What order, basically?

Is it:

1) DirectX, played game, crashed, update video card, nothing happened
2) DirectX, update video card, played game, crashed

Or if you didn't need to update at all.

If it is the former, it's probably something dodgy with your card, though I have absolutely no idea about how to go about fixing that (that error message is so vague).

If it's the latter, it suggests even the "best" updates cause the problem but do get you somewhere.

I've done some more poking around, but I don't have an nVidia card so I can't really help you here. Try looking for your nVidia settings, perhaps in Display Settings (right-click Desktop > Properties > Settings > Advanced?), and then look for something along the lines of "Windows Media Acceleration", and disable it, and see if that works. Something tells me no, as well, because that's related to video, but who knows? I saw this as a solution for Roxio's products.

Share this post


Link to post
Share on other sites
I've also found this: [url="http://www.tech-archive.net/Archive/WinXP/microsoft.public.windowsxp.games/2006-04/msg00146.html"]http://www.tech-archive.net/Archive/WinXP/microsoft.pub...006-04/msg00146.html[/url] Try the first few - I've already suggest some of them.

Share this post


Link to post
Share on other sites
[quote]Originally posted by auto98uk:
I don't suppose you would know how to reinstall windows? The fact that it worked for a while indicates it is a system problem, either hardware or software

When it occurred again after it had worked for 2 hours, how did it crash - was it exactly the same? [/quote]

yeah

Share this post


Link to post
Share on other sites
the website u sent me x42bn6 was a [img]http://community.sigames.com/groupee_common/emoticons/icon_confused.gif[/img] especially the one it suggested in 5 i think but most of it i have alreayd tried and none of the other helped. still there

Share this post


Link to post
Share on other sites
Time for drastics, I think. Have you managed to find your nVidia control panel?

Share this post


Link to post
Share on other sites
yeah but couldnt find anything useful on it but that was because i dont really know what the things did

Share this post


Link to post
Share on other sites
Open start->run-> type eventvwr; press enter

Windows event viewer will open,check the application log. I believe there will be a lot of errors logged.

right click on application-> clear log.

open the game in order to reproduce the error you are getting.

refresh the application log, read the events with type=error and provide the event ids.

Share this post


Link to post
Share on other sites
[quote]Originally posted by mikemanutd:
the options on the control panel are:
adjust image setting with preview
run display optimization wizard
move CRT screen position
change resolution
adjust desktop colour settings
rotate display
set up multiple displays
adjust video colour settings [/quote]

Ugh, doesn't help.

Follow Talented_Red's solution. It could be useful.

Share this post


Link to post
Share on other sites
[quote]Originally posted by gianps:
if you have no problem, you could try a fresh installation of windows xp (format and reinstall), so you'll have your computer clean.

Then install directx (the new one) and football manager to see if it works.

By the way you should upgrade your computer to 1 giga of ram.. [/quote]

unfortunately i have already tried reloading windows XP and it didnt work and my dad is too tight fisted to buy a nerw ram so 512MB will have to suffice. i know people with 512MB ram who it works perfectly for

Share this post


Link to post
Share on other sites
[quote]Originally posted by Chezwig©:
Is this thread a wind up? [/quote]

no really it a extremely frustrating problem. iamagine buyin g a game u couldnt get a refund for and it doesnt work and you dont know why. now u know how i feel.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.