Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal and binary files? (Developers)

posted by Laaca Homepage, Czech republic, 20.05.2020, 23:15

Does anybody know whether is possible to somehow include files with binary data into Freepascal sources?
It would be nice for things like bundled fonts, icons etc.
In windows environment is it called "ressources" and the special mechanism is established but I mean something different.
Something like:

============================================================
Procedure DefineMyMouseCursor;
{$LINK cursor.bmp}
end;

...
begin
SetCursorShape(@DefineMyMouseCursor);
end.

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 117 users online (0 registered, 117 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum