dllimport and initialization issue