Delphi-PRAXiS
Seite 3 von 9     123 45     Letzte »    

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Comparing functions (https://www.delphipraxis.net/98537-comparing-functions.html)

Razor 29. Aug 2007 20:01

Re: Comparing functions
 
:wall: Muetze can you test this please!

Delphi-Quellcode:

//omcdrv.tGetPCIRDWord(0,24,03,$E4 ,pdata) ; //Compile


omcdrv.tGetPCIRDWord(0,24,03,$E4 ,pdata) ; //WONT Compile [Fatal Error]Internal L1333

Razor 30. Aug 2007 08:53

Re: Comparing functions
 
Can somebody test this please.Becouse only then i will know that it isnt my delphi that is wrong and currupted. :oops:

Razor 31. Aug 2007 11:45

Re: Comparing functions
 
*push*

Razor 2. Sep 2007 12:55

Re: Comparing functions
 
For crying out loud,cant nobody test this?

Muetze1 2. Sep 2007 13:38

Re: Comparing functions
 
Oh, sorry. I've tested it some days ago and it works without any problems. Even due the fact of an internal error, I would suggest to reinstall Delphi or install the updates.

Works on D5 Ent UP 2 and D7 Ent UP1...

Razor 2. Sep 2007 13:39

Re: Comparing functions
 
Thank you!!!!!!!!


Now i know my delphi is currupted:?

Razor 4. Nov 2007 15:50

Re: Comparing functions
 
No sadly this still won't work i have tried every possilbe combo but no,and yea my delphi dosent need update and its not curruped.

So help still needed.

Razor 4. Nov 2007 19:00

Re: Comparing functions
 
i know its basics but how to call this

tPCIIO = class(TInterfacedObject, IPCIIO)
private
FIPortIORef: IPortIO;
procedure GetPCIRDWord(dwBus, dwDev, dwFunc, offs: Byte; var pdata: DWord); <<<<<< +This
procedure SetPCIRDWord(dwBus, dwDev, dwFunc, offs: Byte; pdata: DWord); <<<<<<< This
procedure GetPCIRWord(dwBus, dwDev, dwFunc, offs: Byte; var pdata: Word);
procedure GetPCIRByte(dwBus, dwDev, dwFunc, offs: Byte; var pdata: Byte);
procedure SetPCIRByte(dwBus, dwDev, dwFunc, offs, pdata: Byte);
function ProbeDevice(dwBus, dwDev: Byte): boolean;
procedure FindDevice(VendorID, DeviceID: DWord; var fPCIDevice: tPCIDevice);
public
constructor Create(const IPortIORef: IPortIO);
destructor Destroy; override;
end;

dominikkv 4. Nov 2007 19:43

Re: Comparing functions
 
1.
Zitat:

Zitat von Phoenix
What did we say about double-posting?
You're doing it again, so take this (again) as a warning to NOT double post.

2. These two Methods are private, so you can call them only in the class, but not from outside.

Razor 4. Nov 2007 19:55

Re: Comparing functions
 
I know but how exactly...i know becouse they are private only inside and not outside.

But i call it via


Delphi-Quellcode:
procedure tform1.load;
var
omc:tomcdrv;
begin

{omc.>what goes here to have > procedure GetPCIRDWord(dwBus, dwDev, dwFunc, offs: Byte; var pdata: DWord);

with pdata:dword and not pdata:cardinal becouse it wont work}

end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:01 Uhr.
Seite 3 von 9     123 45     Letzte »    

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz