Category: Win32 API
If you want to get the file size in bytes for a file, you can use the following function in Delphi/Object Pascal. // maxium supports 2G function getFileSizeInBytes(const fn: …
The basic integer type in 16-bit Turbo Pascal is 16-bit while from 32-bit Delphi, it is 32-bit. The basic integer types for modern Delphi compilers are: byte, ShortInt, Word, …
This has happened to me once before and I didn’t know what was the cause but had to change the name of the API to avoid such odd buggy …
To run external program on local computer using WSH (Window Scripting Host), you can create an object WScript.Shell and invoke its Runmethod, e.g.: Dim Obj Set Obj = CreateObject("WScript.Shell") Obj.Run "notepad.exe" To …
February 13, 2014
32 bit, animation, beginner, c / c++, code, console, implementation, programming languages, Win32 API, windows
In yesterday’s post, the random rectangles are printed using console only without the help of any graphics. The basic type of each element/pixel in the console (code page 437) …