Wrapper/Import for winevt.h lazarus / 67-Windows ---------------------------------------------------------------------- ArminLinder · 2024-03-07 17:07 Hi folks, does anyone have knowlewdge whether there is a winevt.h translation for FPC/Lazarus? AFAIK it is needed to read the "Applications and Services" Eventlogs introduced with Windows Vista. The old Routines included in the Windows unit won't work with these. Thnx, Armin ---------------------------------------------------------------------- Thaddy · 2024-03-07 20:17 maybe jvawwindows instead of windows. ---------------------------------------------------------------------- ArminLinder · 2024-03-08 07:00 Thaddy? jvawwindows ... non existent unit. Found no trace it exists. Your way of saying "use Java"? Seriously? Armin ---------------------------------------------------------------------- marcov · 2024-03-08 08:40 Jwawindows is perfectly fine in packages/winunits-jedi and deeper, as well as unit for individual headers. Note that contrary to Windows, these (formerly third party) drivers are less checked for windows 64-bit issues, so if you make 64-bit binaries, be careful ---------------------------------------------------------------------- Zvoni · 2024-03-08 09:59 Quote from: ArminLinder on March 07, 2024, 06:07:58 pmHi folks, does anyone have knowlewdge whether there is a winevt.h translation for FPC/Lazarus? AFAIK it is needed to read the "Applications and Services" Eventlogs introduced with Windows Vista. The old Routines included in the Windows unit won't work with these. Thnx, Armin Quick and dirty. It... compiles.... No idea if it's going to start a nuclear rocket in North Korea Needs further work (see comments) ---------------------------------------------------------------------- ArminLinder · 2024-03-10 19:03 I'll find out tonight ... go find yourself a nuclear-blast-save shelter, just in case :-) Armin.