Elliptic Curve Implementation using NTL library in C++ [Problem]

Ok.. Guys.. Let me be very clear about this.

This is in no way related to any shady business like keygenning any commercial software.

I love working on writing softwares & cryptography.

I've used NTL library to write my own ECC functions & tested them using certicoms example.

How ever when I wrote a ECDSA_Sign()[Elliptic Curve Digital Signature algorithm]

using my procs, NTL started behaving irratic.

I would like to get some assistance on this.

Here is the enitre project download link :

http://www.multiupload.com/718AD4OY1J

br

KKR