Friday, 23 February 2007

Delving into code

For those of us who now use C# working with C++ can bring back some painful memories of unresolved externals. Having spent some time tracking down why code would build in static mode rather than shared (MD) mode i discovered that one of their .libs was different under the 2 build models.

To check out what is going on:

C:\Program Files\Microsoft Visual Studio\VC98\Bin>lib /EXTRACT:.\DebugMD\EasyDBC
ommand.obj /OUT:test C:\root\marex\DebugMD\xputils.lib

the /OUT command extracts the required module.

Then to see whats in the object extracted use:


C:\Program Files\Microsoft Visual Studio\VC98\Bin>dumpbin /SYMBOLS test > zuc.txt

You can then dig through zuc.txt to find the missing/offending external reference - in my case the number of parameters on a call had changed.

Friday, 9 February 2007

FAST Protocol

The alpha version of FASTTemplateGen is now on the web http://www.fintechworld.com/fixtools/FixRepo.htm