I can see that the problem is that it is returning a pointer to something that no longer even exists. However, I can't see how to fix that besides making it a global variable. Morgon -- Fetch my UPDATEd public key from http://www.surgo.net/pubkey.asc