VB6, ActiveX Server-Problem


i'm trying to access a ActiveX Server for my first time
in Builder 3/5
The Server is implemented as a VB6-dll and it won't work.
Registering the component and generating of the tlb
works fine, then i've tried to get the component over several ways like
CoCreateInstance(), CreateOleObject(), etc...

The result is alway the same, a dialog pops
up at runtime telling me that a runtime error
occured in the vb-dll (missing end/with-block variables
or something like that).

I've tried to register and access the dll in VB5, it
worked fine and with no problems.

What's going wrong ?