Solved

Pascal -> Delphi convert help needed !

Posted on 2004-04-06
11
168 Views
Last Modified: 2010-04-05
I need help to convert following code for Delphi :

http://www.bsdg.org/SWAG/INTERRUP/0022.PAS.html
0
Comment
Question by:simoha
11 Comments
 
LVL 6

Accepted Solution

by:
mirzas earned 500 total points
ID: 10764048
you can use WinIO library from http://www.internals.com/

0
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 10764210
U can not use this code in windows nt systems (after win 2000)

and u can convert it to delphi.. there is no Interrupt handling Commands in delphi..

Can u tell wot r u trying to do ..  then we can help u about it


0
 

Author Comment

by:simoha
ID: 10767985
Ok, no interrupt handling command with Delphi....

What about inline ASM ? is it possible with it ?

0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 5

Expert Comment

by:scrapdog
ID: 10768950
Yes, you can do inline ASM, but the ASM in the code you refer to accesses ports, which is something you don't want to do in Windows.
0
 

Author Comment

by:simoha
ID: 10771629
WHY ?!?!

What is problem with that ?

With Win98 you can easily access i/o ports.

WHat do you mean ?
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 10772827
in Win2k/NT/XP, the software is not allowed to have direct access to I/O ports without a driver.
0
 
LVL 6

Expert Comment

by:mirzas
ID: 10773529
use the library I posted above... it should work on all Win platforms
0
 
LVL 6

Expert Comment

by:mirzas
ID: 13200886
From Internals.com

This library allows direct I/O port and physical memory access under Windows 9x/NT/2000 and XP. Version 2.0 provides faster I/O port access, better memory mapping support and can be used from non-administrative accounts under Windows NT/2000 and XP.


Too bad if you didnt use it.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question