stdafx.cpp

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

langoustator
Posts: 3
Joined: 2003-07-10 14:59

stdafx.cpp

Post by langoustator » 2003-07-10 15:07

Ouch,
compiling this file makes my computer rebooting or crashing or whatever. So Maybe you can help me: Is it possible to use a compiled file from someone else? If the answer is yes, can someone send it to me? that would be very useful because i guess it's a problem with my crappy computer, but I don't want to format these days.
Thank you for your help.

Oh, I'm under Win98SE if it matters running VC++6.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Re: stdafx.cpp

Post by GargoyleMT » 2003-07-10 16:01

Hmmm? You might want to re-install VS6 with a "repair" option, if available.

I'm not sure I understand about "compiled file" - unless you're talking about .OBJ/ASM files for stdafx... Maybe, but none of the devs of the major mods run VS6 anymore, AFAIK.

Having your computer reboot on compiling that file isn't good, you should try fresh sources and if it still happens... try diagnosting your computer ;)

langoustator
Posts: 3
Joined: 2003-07-10 14:59

Post by langoustator » 2003-07-10 16:09

I'm not sure I understand about "compiled file" - unless you're talking about .OBJ/ASM files for stdafx... Maybe, but none of the devs of the major mods run VS6 anymore, AFAIK.


Yes, i was talking about these files. I will try to reinstall VS6, that's not a bad idea, but well, will i need to reinstall the SDK after?
Thank you for you answer, and sorry for the double post, i don't know waht happened and i didn't manage to delete it.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-07-10 16:54

langoustator wrote:Yes, i was talking about these files. I will try to reinstall VS6, that's not a bad idea, but well, will i need to reinstall the SDK after?

I'm not sure, but the Platform SDK should be in its own directory. You can check file dates to make sure that VS6 doesn't clobber it. (I never used VS6 specifically).
Thank you for you answer, and sorry for the double post, i don't know waht happened and i didn't manage to delete it.

I didn't even notice a double post, must've been one of the other mods doing cleanup. :)

langoustator
Posts: 3
Joined: 2003-07-10 14:59

Post by langoustator » 2003-07-12 23:05

Ok, the exe is finally on my desktop. That was odd because if i try to compile stdafx now it doesn't work but it has worked once. Pfiouu, i'm lucky. ;)
Well, now i've got another problem :( When i launch the exe, I have two error windows. First, it's something related with DBGHELP.DLL:SysFromAddr. I have downloaded the dll from the microsoft site, and it's in my windows directory. A second window tells me that "a peripheral doesn't work correctly" (translated approximatively from french). Can you help me one more time?
Thanks

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-08 02:46
Location: .pa.us

Post by GargoyleMT » 2003-07-19 21:31

langoustator wrote:First, it's something related with DBGHELP.DLL:SysFromAddr. I have downloaded the dll from the microsoft site, and it's in my windows directory.


The one distributed with DC++ was actually pulled out of the VS.NET 2002 directory. I'm using the 2003 version with my mod now, since it's what I compile with.

langoustator wrote:A second window tells me that "a peripheral doesn't work correctly" (translated approximatively from french). Can you help me one more time?


I'm not sure what this error is... do you have a clean XML file (ie. no hardcoded path names to volumes that don't exist)?

Maybe you could run your compiled executable in debugging mode, pause the code, and check the call stack to see where the error gets touched off from.

Who is online

Users browsing this forum: Google [Bot] and 0 guests