Pelles C forum

Assembly language => Assembly discussions => Topic started by: petrik on October 05, 2009, 09:19:17 PM

Title: polink fatal error
Post by: petrik on October 05, 2009, 09:19:17 PM
My first post.
I am writing a Win32 low level disk access program in assembly language.
Every time polink runs (using only /VERBOSE /SUBSYSTEM:WINDOWS options) and reaches the winioctl.inc (courtesy of japheth) entry I get the following message:
'polink fatal error(363): must be inside a section'.
This error is not listed in the Pelles C help file or in Goggle searches.
Please can anyone tell me the meaning of this error and what I need to do to resolve it?
Many thanks for your help.
Title: Re: polink fatal error
Post by: petrik on October 07, 2009, 08:23:07 PM
 :D
Update to my post.
I have solved the problem with the help of Japheth and Hutch from the MASM forum.
All I had to do was add _WIN32_WINNT equ 500h to the winioctl.inc file.