![]() |
shortage of examples, in botva and in many others there are a dozen examples with the library, so you do so, that many of us use your library so fast .. not think peterf1999 ;)
|
Quote:
For sure, the use is not easy for inno's novice users.;) |
Quote:
|
Quote:
Quote:
which reads " The [Code] section is an optional section that specifies a Pascal script. A Pascal script can be used to customize Setup or Uninstall in many ways. Note that creating a Pascal script is not easy and requires experience with Inno Setup and knowledge about programming in Pascal or at least a similar programming language." The reason I'm saying there is no need for example is because simple types are always there to guide you on how to use a function, if you had a little bit of knowledge of pascal/delphi, you would know what I'm talking about and what makes peterf not make examples. |
razor... I did before opening the dll to read :D
peterf ...I found that it's a great project .. I noticed that the driver can not read DirectX .. what do you think of this option? |
1 Attachment(s)
Added the following procedure to dll:
|
I wouldn't be surprised if you start adding animations. Great job mate.
|
1 Attachment(s)
Added the following procedure/function to dll:
|
too thirsty for CPU this library :eek: :eek: :eek: :eek: :eek:
|
1 Attachment(s)
Added the following function to dll:
Code:
const |
Added the following procedures/functions to dll:
Code:
procedure SetBtnEnabled(BtnIdx: integer; Enabled: Boolean); external 'SetBtnEnabled@files:Isab.dll stdcall delayload'; |
1 Attachment(s)
Added the following procedure/function to dll:
Code:
procedure SetBtnCur(BtnIdx: integer; const FileName: PAnsiChar; CurHandle: DWord; const IFT_Cur: integer); external 'SetBtnCur@files:Isab.dll stdcall delayload'; |
Thank you for library isab.dll.
It would be interesting if you could add multimedia playback based on DirectShow. Addicionar functions as in InnoMediaPlayer and ISMediaLib (By altef_4) in your Isab.dll library. |
Changes: v0.0.8.6
Fixed an issue with WM_LBUTTONDOWN and WM_LBUTTONUP message handler. Now the buttons work properly. |
Changes v0.0.8.7:
Fixed an issue with visibility (SetImgVisibility) of invalidated client area of rotated images. |
Changes:
Code:
const0: All OK. -1: Hash check aborted. -2: File hash does not match. -3: Source File not found. -4: Bad flag argument. |
1 Attachment(s)
Changes: v0.0.9.0:
Added the following procedure/function to dll: Code:
procedure SetBtnPosSize(BtnIdx,X,Y,Height,Width: integer); external 'SetBtnPosSize@files:Isab.dll stdcall delayload'; |
Added the following function to dll:
Code:
function GetDirectXVersion: Pansichar; external 'GetDirectXVersion@files:Isab.dll stdcall delayload'; |
3 Attachment(s)
Changes v.0.0.9.2:
Code:
constAttachment 13955 Windows 10 Pro x64: Attachment 13956 |
I can't create more than one timer with CreateTimer function. Only last defined TTimerProc is executed with the smallest Timeout defined:
Code:
ButtonCB := CreateTimer(10, @ButtonAction; |
Quote:
Thx for feedback |
Changes: v0.0.9.3:
Fixed an issue with multiple timers creation. @Bamse I should rewrite the entire JoinFile function :eek: |
Another issue:
Any PAnsiChar of TSysInfo or TVolume is empty after GetDirectXVersion execution. BTW: what are possible results of GetDirectXVersion? |
Quote:
Quote:
|
2 Attachment(s)
One pic tells more...
Attachment 14056 ... plus small bonus: executing DiskVolumeInfo before GetSysInfo messing strings returned by the first mentioned... Attachment 14055 |
GetFileVersionData causes file dependent errors AFTER gathering info from file on both UNICODE and ANSI (tested different exes, dlls). I mean errors are not random - some files always pass with the same flag, but fails with another (e.g. pckr.dll never fails with CompanyName or FileVersion but always fails with FileDescription or ProductName). Problematic strings are always correct - errors occur AFTER retrieving and returning them.
Code:
Runtime Error (at 750:30170):Code:
Runtime Error (at 750:30170):Code:
Runtime Error (at 2:273): |
Send pm with links of scripts have raised the errors of:
GetFileVersionData DiskVolumeInfo GetSysInfo I tested GetFileVersionDataW & GetFileVersionDataA on Altef_4's pckr.dll without errors. ( Inno Setup ultra v5.5.1 unicode, and v5.5.5 ansi). |
1 Attachment(s)
Any script, e.g. your example from post 59 I've modified it to induce errors - duplicated lines 'OSName' and 'HDDLabel' after GetDirectXVersion call. Also try to define INVERT.
GetFileVersionData seems to work fine :confused: maybe some fault of my rig (but yesterday deliberately turned OC off to avoid any misrepresentations). Now compiled with 5.5.8(a) gives Access violation at the end of setup. With 5.5.1.ee2(u) works fine. |
2 Attachment(s)
Watch example
|
3 Attachment(s)
Hey peterf, there seems to be a problem with SaveFileFromBuffer function, after saving a file, handle is not closed so I'm getting OpenError exceptions.
Edit: Also this, I don't know if I'm doing anything wrong here. Request: GetImgRotation function ;) |
2 Attachment(s)
Cryptfile example
|
1 Attachment(s)
Razor use DrawToDC instead of DrawImages. There's no DrawImages export in ISab.dll :p See example.
|
Quote:
The verdict that I already knew: Sharing data structures ( TSysInfo or TVolume) or classes between two modules (inno setup exe and dlls ) in delphi/pascal is deprecated or even illegal. This is the reason of the issues, but I always hated to export a single function for only one value. All I need is to export each function e.g.: Code:
function GetProcessorName: PAnsichar; |
1 Attachment(s)
Yea well there was no DrawToDC on first page, I used it as reference.
|
DiskVolumeInfo function replaced by:
Code:
|
GetSysInfo procedure replaced by:
Code:
function GetCpuName: PAnsichar; external 'GetCpuName@files:Isab.dll stdcall delayload'; |
Quote:
|
Quote:
|
peterf1999 there was a problem with GetSysInfo (not tested with current version, but I think it will be too) on rigs with more than one graphic adapter
http://www.tgp-gaming.de/img/error.png |
Quote:
|
| All times are GMT -7. The time now is 14:36. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com