06-07-2012, 07:57 PM
It worked after I changed micRef to micByRef
Extern.Declare micInteger, "hlapi", "C:\hlw3.dll", "_hlapi@16",micWord+micByRef,micString+micByRef,micWord+micByRef,micWord+micByReff
Extern.Declare micInteger, "hlapi", "C:\hlw3.dll", "_hlapi@16",micWord+micByRef,micString+micByRef,micWord+micByRef,micWord+micByReff