Recent

Author Topic: Bad ICONINFO struct in JwaWindows  (Read 1447 times)

Madoc

  • Jr. Member
  • **
  • Posts: 52
Bad ICONINFO struct in JwaWindows
« on: March 19, 2024, 01:45:41 pm »

The ICONINFO struct is defined in both Windows and JwaWindows, but the latter seem to have incorrect alignment or something and does not work (in 64 bit at least). Haven't really looked into it too much.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11732
  • FPC developer.
Re: Bad ICONINFO struct in JwaWindows
« Reply #1 on: March 19, 2024, 01:51:33 pm »
The whole of the JWA units is not really 64-bit capable.

Thaddy

  • Hero Member
  • *****
  • Posts: 15544
  • Censorship about opinions does not belong here.
Re: Bad ICONINFO struct in JwaWindows
« Reply #2 on: March 19, 2024, 02:38:25 pm »
Alas, yes. But it has at least the advantage that the declarations are more in line what you would expect:
var parameters as opposed to pointer parameters. You are the guilty party in that respect... :) ;D ;) Marco...
That aside, all windows units, both fpc native and the  jwa units need a thorough update and that is not a one man job. But is rare that people get into trouble.
« Last Edit: March 19, 2024, 02:43:29 pm by Thaddy »
My great hero has found the key to the highway. Rest in peace John Mayall.
Playing: "Broken Wings" in your honour. As well as taking out some mouth organs.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11732
  • FPC developer.
Re: Bad ICONINFO struct in JwaWindows
« Reply #3 on: March 19, 2024, 03:00:42 pm »
You are the guilty party in that respect... :) ;D ;) Marco...

I prefer to use the term  "enlightened" for that .

Thaddy

  • Hero Member
  • *****
  • Posts: 15544
  • Censorship about opinions does not belong here.
Re: Bad ICONINFO struct in JwaWindows
« Reply #4 on: March 19, 2024, 03:27:02 pm »
You are the guilty party in that respect... :) ;D ;) Marco...

I prefer to use the term  "enlightened" for that .
Ho, Ho, Ho, I attacked you 24 years ago about that issue and I stll think I am right, "enlightened" for that matter.. ;D O:-)
My great hero has found the key to the highway. Rest in peace John Mayall.
Playing: "Broken Wings" in your honour. As well as taking out some mouth organs.

parcel

  • Full Member
  • ***
  • Posts: 143
Re: Bad ICONINFO struct in JwaWindows
« Reply #5 on: March 20, 2024, 02:41:08 am »

 

TinyPortal © 2005-2018