CompuServe Thread

#fseek() rets -1

2 messages in this thread
#50477From: Lee Hart [Microsoft]Aug 3, 1993 1:17 AM
>>>I'm getting a return value of -1 from the fseek(). I'm giving what appears to be a valide file pointer. Well the call is FILE *fp; fseek(fp, 0L, SEEK_SET); >>>What or why is it returning a -1. The api error codes suggest -1 indicates an invalide function. ????????? I assume this code works fine under Windows NT? If so, I have several questions: (1) Which version of the C Runtime are you using? (2) Are you getting anything useful in the debug information from the debug libs? Lee There is 1 Reply.
#51230From: james lopesAug 9, 1993 8:24 AM
The problem was solved after reading an article in the August MSJ by Scot Gellock "Porting your 16bit application to WindowsNT…..". Thanks James