For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > August 2005 > Symbol mangling problem (devstudio 6)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Symbol mangling problem (devstudio 6)
Richard M. Hartman

2005-08-19, 4:19 pm



This is a problem with devstudio 6 (not .net).

One of the difficulties we are having producing a patch is that

something has changed in the mangling of symbols in one of our DLLs. The

version distributed has a symbol:

?getHandle@SCManager@@QBEPAXXZ

the one we are building now is producing the symbol

? getHandle@SCManager@@QBEPAUSC_HANDLE__@@
XZ

Any task we compile today looks for the longer symbol name, and the

dll on the target machines will not provide it. Contrariwise, if

we distribute a new dll with the new tasks, then the tasks we do

/not/ replace will not find the shorter symbol.

The code has not changed.

Does anybody know what might cause this difference in

symbol mangling, and how we might be able to reverse it?


--
-Richard M. Hartman
hartman@onetouch.com

186,000 mi/sec: not just a good idea, it's the LAW!


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com