Difference between revisions of "Talk:Hardware Access"

From Lazarus wiki
Jump to navigationJump to search
Line 13: Line 13:
 
http://www.hytherion.com/beattidp/comput/pport/Test2.c
 
http://www.hytherion.com/beattidp/comput/pport/Test2.c
  
The changes made are incorrect.
+
The changes made are incorrect. Specifically, changing the size of the data sent can potencially cause trouble. I also checked VB code, and even the source of the DLL itself, and I couldn't find anything that suggests that the previous interface was wrong, so I am reverting.
  
 
--[[User:Sekelsenmat|Sekelsenmat]] 14:07, 2 November 2007 (CET)
 
--[[User:Sekelsenmat|Sekelsenmat]] 14:07, 2 November 2007 (CET)

Revision as of 15:15, 2 November 2007

Download links

The version of inpout32.dll at www.logix4u.net/inpout32.htm did not work for me and would generate odd errors such as "Control-C hit. Press OK to ignore and risk data corruption" and "Project rased exception class 'External: SIGILL'.

When i switched to the inpout32.dll at http://www.highrez.co.uk/Downloads/InpOut32/default.htm things started to work for me.

I think it can be cited as another option with the same interface. --Sekelsenmat 14:07, 2 November 2007 (CET)

Changes to the headers

Reading the c import unit:

http://www.hytherion.com/beattidp/comput/pport/Test2.c

The changes made are incorrect. Specifically, changing the size of the data sent can potencially cause trouble. I also checked VB code, and even the source of the DLL itself, and I couldn't find anything that suggests that the previous interface was wrong, so I am reverting.

--Sekelsenmat 14:07, 2 November 2007 (CET)