Re: Gigabyte dll functions
Maybe start up a disassembler and investigate on your own? How about IDA 4.3 Freeware?
|
Re: Gigabyte dll functions
Well i wouldnt know even where to start,all i found is this but what does this mean?Does it contain any parameters,well i doubt so.
Zitat:
Can someone translate this?To delphi.. Zitat:
|
Re: Gigabyte dll functions
Zitat:
Zitat:
Code:
which says that:
typedef int (*isgigabytemobo)(void);
Delphi-Quellcode:
(where cdecl is not important, because no params are being passed)
type TFNisgigabytemobo = function(): Integer; cdecl;
|
Re: Gigabyte dll functions
Even though if a function doesnt have a parameter can it be called?I guess than it will only return 0 or -1 ,yes or no
|
Re: Gigabyte dll functions
Of course can a function without parameters be called.
Given the short disassembly excerpt, this function returns exactly ONE value: -1 But I presume that the actual meaning is BOOL (i.e. LongBool in Delphi) and that this is supposed to return -1 or 0, yes. |
Re: Gigabyte dll functions
public LX_IsQDIMainBoard
LX_IsQDIMainBoard proc near or eax, 0FFFFFFFFh ; LX_IsMSIMainBoard retn LX_IsQDIMainBoard endp So this is accuall boolean function that returns -1 or 0 ,you can also sometime see the parameter in the name of the function.Is can only be boolean. |
Re: Gigabyte dll functions
Zitat:
|
Re: Gigabyte dll functions
Can you help me with other functions :)
|
Re: Gigabyte dll functions
How much do you pay per hour? :mrgreen: :zwinker:
I can try, but my spare time is limited anyway, so I'd prefer you forward only those parts you really can't solve yourself. Please do it via the forum anyway, so other can benefit from the findings. |
Re: Gigabyte dll functions
Liste der Anhänge anzeigen (Anzahl: 2)
For me it returns -1 or false but i dont know for accual users that have gigabyte board.So you may test it
Delphi-Quellcode:
interface
uses Fastmm4,Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; const w83781ddll = 'w83781d.dll'; type TForm1 = class(TForm) Label1: TLabel; procedure FormCreate(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private declarations } public { Public declarations } end; function LX_IsGigaMainBoard : integer;external 'w83781d.dll'; var Form1: TForm1; hInstdll: THandle; implementation {$R *.dfm} procedure TForm1.FormCreate(Sender: TObject); begin hInstdll := LoadLibrary(w83781ddll); if LX_IsGigaMainBoard=-1 then label1.caption:='you dont have a giga board!' else if LX_IsGigaMainBoard=0 then label1.caption:='you do have a giga board!'; end; procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction); begin FreeLibrary(hInstdll); end; end. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:50 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz