Well if the debugger had given me more meaningful information I would've probably figured it out myself which is why I said at the beginning I was looking for someone familiar with the file descriptor API, that alone is already enough to tell you what sort of functions you're looking for which once looked at via the mentioned functions (which are the only relevant ones), that in turn gives you the call stack of relevance and an insight as to where problem occurs (hence line numbers on the last 2), that then gives an indication of what sort of possible problems might cause that which could be mentioned in a reply so I can re-examine my code and identify the problem with the help of the reply. Straight forward logic as far as I'm concerned, but if that's not enough then I'll post my debuggers output that I just run now:
Code:
#0 002C9FD4 ntdll!RtlIntegerToUnicodeString+0x2fc (??:??)
#1 002C9FFC ntdll!RtlIntegerToUnicodeString+0x20b (??:??)
#2 002CA008 MSVCR120D!lock_file+0x58 (??:??)
#3 002CA088 MSVCR120D!fgets+0x1c6 (??:??)
#4 002CA09C ArmaxRaw_msw_x86_d_vc!armaxRawHack_RdLine+0x24 (c:\users\lee\documents\github\medit\armaxraw.c:72)
#5 002CB118 ArmaxRaw_msw_x86_d_vc!armaxRawHack_OnLoad+0x19e (c:\users\lee\documents\github\medit\armaxraw.c:32)
#6 002CC130 meditSmallGui_msw_x86_d_vc!guiHacks_OnLoad+0xc0 (c:\users\lee\documents\github\medit\guihacks\guihacks.c:564)
#7 002CE15C meditSmallGui_msw_x86_d_vc!guiOpen+0x34d (c:\users\lee\documents\github\medit\guimenu.c:224)
#8 002CE16C meditSmallGui_msw_x86_d_vc!guiData_OnValueChanged+0x3c (c:\users\lee\documents\github\medit\guimenu.c:235)
#9 002CE178 iup!iupBaseCallValueChangedCb+0x51 (??:??)
Code:
Starting debugger: C:\p\dbgtools-x86\cdb.exe -G -lines -y C:/Users/lee/Documents/GitHub/medit/;C:/Users/lee/Documents/GitHub/; -srcpath C:/Users/lee/Documents/GitHub/medit/;C:/Users/lee/Documents/GitHub/; C:/p/bin/medit/meditSmallGui-msw-x86-d-vc.exe
done
Setting breakpoints
(1c3c.1d70): Access violation - code c0000005 (first chance)
Cannot open file:
At :0
There is absolutely nothing more I can think of to give you.