Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assembler in Delphi

Status
Not open for further replies.

Glenn9999

Programmer
Jun 19, 2004
2,312
US
How far can you go with a Delphi program in doing assembler calls? I assume asm blocks are valid (?), but I'm wondering if there are any system calls to be done in ASM that wouldn't be a good idea?

(basically asking because I'm finding I'm wanting to do a couple of things that either don't exist in the toolset or don't work as I would like out of the toolset)
 
OK since this probably won't get anyone going, I'll rephrase it to go after the things I'm wanting.

1) Windows.Beep is not functioning as the documentation indicates it will. I am looking for to use it like so:

Windows.beep(1000, -1);

The documentation says -1 will be continuous until another call to Windows.beep occurs. It doesn't work on XP unless I specify a positive duration. Then Windows.beep doesn't work on Windows 98/ME PERIOD.

2) I want to change the text mode of the console. There was a procedure in the Turbo Pascal CRT unit called TextMode() that did that, but I am failing to find how to do it in Win32.

Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top