Logical error when using a lib

Hey,
I'm using a slightly modified Version of the DCF77 Lib.

When i use it like that:

DCF77 DCF( Pin );

Void setup()
{}

Void loop()
{}

The code is compiled correctly but get's stuck somewhere in runtime. I don't know where, because serial.print doesn't work also. So it must hung up some where in the constructor. But the constructor just set's up some variables.

But when i use it like that:

Void setup()
{
    DCF77 DCF( Pin );
}

Void loop()
{}

the code runs exactly as expected. BUT: the Lib is just local in setup and not usable in the project.

How can this be possible and how can I fix it?

Thanks and regards.

please post the whole code and a link to the DCF library used (or its code as a zip attachment) so we can replicate.

here it is.

thanks and regards

code.zip (6.74 KB)

Nobody an idea?

Thanks regards