i dont know very much about C at all but try build a lib file,such as masm32.lib and include that in your C source, of course you will have to build a C header file from it, but that shouldn't be to much of a problem
Posted on 2001-06-03 18:33:00 by George
Use :

.model small, c ; c calling convention
ChecksumFile PROTO Handle:WORD, pChecksum: WORD ; pointer size is 16-bit, you must use a 16-bit C compiler or it will not work
Read chapter 12 of the MASM manual for more info. Good luck ! This message was edited by karim, on 6/4/2001 6:18:31 AM
Posted on 2001-06-04 04:36:00 by karim