hi. yuor library not work because dll compile with NET technology. use old VC++ or turn off NET from your project. sorry for my eng.