Programming atmega32 with arduino mega

I have an arduino mega and I wanted to use it a a programmer to my atmega32 I already tried the example present in arduino program "ArduinoISP", but I can´t make my computer program atmega32. I´m using BASCOM AVR to program atmega32.
Could someone help me?

Do you mean Arduino Mega with an ATmega1280 or ATmega2560 chip? If so, then the pinouts for the SPI connections are in different locations than from the Uno boards.

See How to Use Arduino Mega 2560 As Arduino Isp : 3 Steps - Instructables