Recent

Author Topic: Problem with Win98 and Lazarus-0.9.11-20060201-win32  (Read 5938 times)

PaulFMichell

  • New Member
  • *
  • Posts: 21
Problem with Win98 and Lazarus-0.9.11-20060201-win32
« on: February 02, 2006, 01:15:52 pm »
Hello,

I have just installed:

Lazarus-0.9.11-20060201-win32.exe

on my Windows 98 system. The installation ran fine, but on starting Lazarus I get the following error message:

The STARTLAZARUS.EXE file is linked to missing export
USER32.DLL:SetLayeredWindowAttributes

I've done a quick search on MSDN and SetLayeredWindowAttributes requires Windows2000 or higher. Is the minimum OS requirement going to change for the next release of Lazarus? I hope not as I do not want to have to spend anymore money on M$ products!!!

Thanks,

Paul

matthijs

  • Hero Member
  • *****
  • Posts: 537
RE: Problem with Win98 and Lazarus-0.9.11-20060201-win32
« Reply #1 on: February 02, 2006, 04:24:31 pm »
I do not know about that. But if you do not want to upgrade your Windows version, remember your OS is nearly 10 years old and since long not supported anymore. You could switch to a cheaper OS like linux. :)
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.) :)

:( Why cannot I upload my own Avatar? :(

Anonymous

  • Guest
RE: Problem with Win98 and Lazarus-0.9.11-20060201-win32
« Reply #2 on: February 02, 2006, 05:21:09 pm »
The Lazarus IDE has actually at least seven calls that are not compatible with Windows 95:
kernel32.dll:TryEnterCriticalSection
kernel32.dll:TryEnterCriticalSectionAndSpinCount
kernel32.dll:SetWaitableTimer
user32dll:GetAncestor
user32dll:GetGetComboBoxInfo
user32dll:TrackMouseEvent
shell32.dll:Shell_NotifyIconW
(it's easy to get that overview using RunAlyzer btw.)

For Windows 98, I'm not sure (CompatAlyzer doesn't know some of the functions in lazarus yet).

I'm satisfied though as long as Lazarus/FP can generate applications that run under any Windows, and that it seems to do :D

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: Problem with Win98 and Lazarus-0.9.11-20060201-win32
« Reply #3 on: February 02, 2006, 07:44:47 pm »
I think you meant Windows 95 on the first post.

The IDE works on Windows 98 for me.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Problem with Win98 and Lazarus-0.9.11-20060201-win32
« Reply #4 on: February 02, 2006, 08:32:52 pm »
I have been experimenting with the snapshots (for the insiders, I compiled lazarus with -CX -XX -Xs). I reverted this change for today's snapshot. Can you try again with Lazarus-0.9.11-20060202-win32.exe (or later)? AFAIK, these functions are not actually used by lazarus.

PaulFMichell

  • New Member
  • *
  • Posts: 21
RE: Problem with Win98 and Lazarus-0.9.11-20060201-win32
« Reply #5 on: February 03, 2006, 01:55:29 pm »
I have just tried again with: Lazarus-0.9.11-20060203-win32 and it installed and ran ok (it did
complain about not finding the RTTI controls unit but that didn't stop me loading and compiling my test
project on Windows 98). Thanks for sorting that out.

For those interested I am running Windows 98 SE 4.10.2222A. As for Linux, I am already using Mepis 3.4/3.3 on my own systems, but unfortunately none of my clients do. I use Win XP/2000 extensively at work and I have not yet seen any reason to waste money on the upgrade! I think Lazarus is a very promising migration path to Linux for Delphi programmers who need Windows now, want Linux in the future and don't like the direction Borland are heading in.

Paul

 

TinyPortal © 2005-2018