typelib2.c problems