Recent

Author Topic: How to translate headers include windows.h?  (Read 214 times)

guest65405

  • Guest
How to translate headers include windows.h?
« on: March 29, 2020, 06:46:37 pm »
Could I substitute include windows.h with uses Windows?

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8455
  • FPC developer.
Re: How to translate headers include windows.h?
« Reply #1 on: March 29, 2020, 06:52:22 pm »
Like the macros, that is too little info. One could write a book about the subject.

In general: yes, but there are many details.

guest65405

  • Guest
Re: How to translate headers include windows.h?
« Reply #2 on: March 29, 2020, 07:02:32 pm »
Like the macros, that is too little info. One could write a book about the subject.

In general: yes, but there are many details.

The author shared the library alongside with source code but just for a limited community and I'm a part of this community. He didn't said anything about the license. His sources are just code and only include his name but no term of use. So I can't publish it.

In the original code he included windows.h and windowsx.h. I will try substitute it with unit Windows and see if it works.

 

TinyPortal © 2005-2018