Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
Third party / Re: Fpcupdeluxe
« Last post by DonAlfredo on Today at 12:08:18 pm »
The last release of fpcupdeluxe did not handle GIT commits correct.

So, please test this pre-release.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.6.2w

And, due to the FPC trunk problems as stated earlier, use commit 09e1881.
Put this number in FPC revision in Setup+.
(GIT uses commit-numbers, SVN uses revision numbers).
2
General / Re: Pascal & .NET Interoperability
« Last post by marcov on Today at 12:02:44 pm »
Afaik .NET assemblies, while having .DLL extension are not compatible with normal win32 DLLs, so no.

There are different types of libraries like Framework, Universal, etc... Supposedly there's a type of library that works cross-platform

Much what I know of .NET is from 2005 when I briefly had a  .NET job, but it looks like all variants of .NET, except "Windows universal" which are Windows 10 Apps, which is native but afaik com based (?), but anyway, the missing is the one that you need, Winapi apps aka win32/win64.

So no, those links don't help at all. It only shows .NET fragmentation.

You really need to research Sven's recommendations.
3
Graphics / Re: Writting text on transparent image from ImageList
« Last post by Mr.Madguy on Today at 12:00:56 pm »
Have you tried this?
Code: Pascal  [Select]
  1. b2.Canvas.Font.Color := clBlack or $ff000000;
  2.  
But anyway. As I remember pure Canvas doesn't fully support transparency. I was asked in some thread, if it was possible to modify semi-transparent icon. And, as I remember, exporting it to DIB, modifying it and then importing it back - was the only working solution.

Another reason: Canvas doesn't support semi-transparency at all. It uses 1bpp mask bitmap in order to emulate transparency. And this bitmap is generated, only when Transparent or TransparentColor are modified. So, if you modify bitmap after this, transparency can stay unmodified. But I'm not sure about it. I'll need to look into code in order to confirm it.
4
General / Re: Pascal & .NET Interoperability
« Last post by Pixy on Today at 11:53:37 am »
Afaik .NET assemblies, while having .DLL extension are not compatible with normal win32 DLLs, so no.

There are different types of libraries like Framework, Universal, Standard etc... Supposedly there's a type of library that works cross-platform
https://docs.microsoft.com/en-us/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library
https://stackoverflow.com/questions/42939454/what-is-the-difference-between-net-core-and-net-standard-class-library-project
I don't know if that solves what you are saying, but could this work?
5
General / Re: Pascal & .NET Interoperability
« Last post by marcov on Today at 11:49:58 am »
Afaik .NET assemblies, while having .DLL extension are not compatible with normal win32 DLLs, so no.
6
General / Re: Pascal & .NET Interoperability
« Last post by Pixy on Today at 11:36:40 am »
Is there a way to communicate between two programs? (One running Pascal and the other VB) For instance, I have a Pascal program which calls a function from a .dll written in Pascal. The function "Start" is called like this:
Code: Pascal  [Select]
  1. Start(ExePath + '\a.dll', @Start, True);
  2.  
and in dll there is the corresponding function. Is it possible to have a.dll written in VB instead of Pascal? So a.dll will be like:
Code: Pascal  [Select]
  1. Public Shared Function Start(ByVal X, ...)
  2. End function
  3.  
7
General / Re: Need Help To Data Structure and Algorithms
« Last post by howardpc on Today at 11:25:33 am »
There is also the classic Pascal (Delphi) book by Julian Bucknall entitled "Algorithms and Data Structures"

https://www.amazon.co.uk/Julian-Bucknall/e/B001K8RGZS/ref=dp_byline_cont_pop_ebooks_1
8
General / Re: How to detect internet connection!
« Last post by engkin on Today at 10:34:25 am »
Quote
Blocking access to the server does not mean you do not have access to the internet.

The security software doesn't allow anybody (in this case FIREFOX) to connect to the internet. As long as the forbidden program is running. Internet access (hardware) is definitely possible, but for the normal user it doesn't make a difference. The reason is not visible to the user. I don't know if this is the same with the onboard Windows-Firewall, I never use the windows firewall. I think it's not trustworthy enough...  :)

I assume the security software would notify the user, and the user is smart enough the realize why the other software is blocked as well despite the fact that the computer does have access to the internet.

My previous post was about the other method of testing internet connectivity using a connection to a server, when that specific server is blocked.
9
General / Re: Need Help To Data Structure and Algorithms
« Last post by valdir.marcos on Today at 10:26:20 am »
Hello All, I am new one in this forum and wants to know how can i start learning data structure algorithms?
The newest books in Pascal I could find:

Data Structures Using Pascal 2nd Edition
by Aaron M. Tenenbaum (Author)
Series: Prentice-hall Software Series
Hardcover: 774 pages
Publisher: Prentice Hall; 2 edition (November 4, 1997)
https://www.amazon.com/Structures-Using-Pascal-Aaron-Tenenbaum/dp/0131966685/

Data Structures and Other Objects: A Second Course in Computer Science Paperback – August 1, 1994
by Michael Main (Author), Walter Savitch (Author)
Paperback: 813 pages
Publisher: Benjamin-Cummings Pub Co; Turbo Pascal ed edition (August 1, 1994)
https://www.amazon.com/Data-Structures-Other-Objects-Computer/dp/0805370862/



Two decades ago I've learned a lot from the book Data Structures and Algorithms by Michael T. Goodrich and Roberto Tamassia.
It was not so difficult to build Pascal Code from book's theory at that time:
https://www.amazon.com/kindle-dbs/entity/author/B001ITYBE8?_encoding=UTF8&node=283155&offset=0&pageSize=12&searchAlias=stripbooks&sort=date-desc-rank&page=1&langFilter=default#formatSelectorHeader
https://www.amazon.com/s?i=stripbooks&rh=p_27%3ARoberto+Tamassia&s=date-desc-rank&lo=list&page=2&qid=1558598018&text=Roberto+Tamassia&ref=sr_pg_1

The most recent book from them seems to be:
https://www.amazon.com/Data-Structures-Algorithms-Michael-Goodrich/dp/1118771338/

Quote
And what the exactly its properties?
"The reserved word property is part of object-oriented programming. It can allow various levels (read, read/write etc) outside access to variables inside a Class."
http://wiki.freepascal.org/Object_Oriented_Programming_with_Free_Pascal_and_Lazarus
http://wiki.freepascal.org/extended_class_syntax
http://wiki.freepascal.org/Property
http://wiki.freepascal.org/Property_attributes
http://wiki.freepascal.org/Adding_an_About_dialog_as_a_property_to_a_custom_component
http://wiki.freepascal.org/Helper_types
10
General / Re: How to detect internet connection!
« Last post by RAW on Today at 10:04:22 am »
Quote
Blocking access to the server does not mean you do not have access to the internet.

The security software doesn't allow anybody (in this case FIREFOX) to connect to the internet. As long as the forbidden program is running. Internet access (hardware) is definitely possible, but for the normal user it doesn't make a difference. The reason is not visible to the user. I don't know if this is the same with the onboard Windows-Firewall, I never use the windows firewall. I think it's not trustworthy enough...  :)
Pages: [1] 2 3 ... 10