Hi=A3=AC If there is a function named "func" with type a->b in a win32 dll= file. In Hugs use the primitive declaration: ------------------------------- primitive prim_func :: a -> b func =3D prim_func ------------------------------- Then the func can be exported to be used in other modules. The question is how to do it in GHC? Cheers, Liu Junfeng liujf@softhome.net 2003-07-18