i wanted to try something, but it didn't work.
i managed to compile v0.241 in both release and debug mode. however, on execution of the file, i got following error:
The procedure entry point SymFromAddr could not be located in the dynamic link library dbghelp.dll
this file exists in winnt\system32\ and is dated 22.07.2002.
i compiled version 0.22 without any problem of this kind.
SymFromAddr is also used in ExtendedTrace.cpp. (btw: in v0.22 SymGetSymFromAddr is used instead, but changing that didn't make it work either).
any ideas?
my system: win2k, vs6
compiles fine, but doesn't start
Moderator: Moderators
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
thanks gargoylemt
sorry, i havn't got vs.NET (just vs6)
i found a version of the file on the web, but that didn't work either (probably the same anyway, file size is 163'088 bytes).
can someone post their file (if size is different)?
or otherwise: what do i need to modify in the source code to compile it with vs6?
thanks!
sorry, i havn't got vs.NET (just vs6)
i found a version of the file on the web, but that didn't work either (probably the same anyway, file size is 163'088 bytes).
can someone post their file (if size is different)?
or otherwise: what do i need to modify in the source code to compile it with vs6?
thanks!
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Hmm, well, migrating the ExtendedTrace.cpp/.h from 0.22 should do the trick. VS.Net links against a newer version of the lib - originally imagehlp.dll than is supplied by Windows versions other than XP. This is the same DLL that parses the PDB to generate useful exception logs. So on 2000 and before, the PDB parsing was failing and so we got exceptioninfo.txts filled with question marks instead of function names.
Also, it turns out that linking against dbghelp.dll is the preferred method now (not sure as of which OS version), and that the functions are only exported to imagehlp.dll temporarily, and at some point that will cease.
With VS6, you can probably continue to link against imagehlp.dll, etc. Just do a diff on the ExtendedTrace.cpp/.h from 0.24 and 0.241, and you can see what to change back.
I hope the explanation clears things up.
Also, it turns out that linking against dbghelp.dll is the preferred method now (not sure as of which OS version), and that the functions are only exported to imagehlp.dll temporarily, and at some point that will cease.
With VS6, you can probably continue to link against imagehlp.dll, etc. Just do a diff on the ExtendedTrace.cpp/.h from 0.24 and 0.241, and you can see what to change back.
I hope the explanation clears things up.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
The files for handling exceptions are the same in 0.181 as in 0.22. Find them, as normal, on the DC++ page at sourceforge: http://sourceforge.net/project/showfile ... p_id=40287spideronz wrote:Sorry... I continue to have the same problems... i tried to copy dbghelp.dll to the App/ directory but nothing works.
U said to migrate the 2 files from 0.22 version... but where i can found it ?
Plz help me, and tnx in advance