Re: [fpc-devel] Windows RTL patch

2006-08-27 Thread Martin Smat
Florian Klaempfl wrote: Martin Smat wrote: Hi, this patch adds some menu related constants into the Windows RTL and also adds the MENUINFO structure. Sorry for the missing semicolons. Martin. ___ fpc-devel maillist - fpc-devel

[fpc-devel] Incompatible Windows structs

2006-07-23 Thread Martin Smat
In the development version of FPC is used Windows structure MENUITEMINFO breaking the compatibility between Windows95, NT4 and Windows98,2000,XP. New parameter "hbmpInfo" was added into this structure making its size bigger then expected by the old versions of Windows. Can this parameter be remo

[fpc-devel] Extending win32 definition

2006-03-03 Thread Martin Smat
Hi, I would like to extend the win32 RTL definition files about new records, constants and functions defined in Win98 and later. I have several questions: 1. can I simply add the new definitions into already existing files (defines.inc, struct.inc)? 2. does not it break the compatibility with

[fpc-devel]Bug on writing value into file of byte

2003-12-27 Thread Martin Smat
Hi, compiling this program with 1.0.10 give me error "Type mismatch". var outf: file of byte; begin assign(outf, 'test.bug'); rewrite(outf); write(outf, 10); {only explicit typecasting helps: byte(10)} close(outf); end. Is this fixed