Ludo

  I have experimented with the code you sent me.  It compiled after minimal
tweaking of the compiler-mode controls ({$mode delphi}{$H+} out, {$APPTYPE
CONSOLE} in), but it doesn't work in my environment (Delphi 7, Windows
7/64).  The list of ports is successfully constructed, but then the
DisableDevice function returns with DCRErrDIF_PROPERTYCHANGE. 

  Do you have any suggestions?  I am ready to give up.



 

A call to GetLastError after failure should give you the reason for the
failure. I assume you are running the program with admin rights. 


Possibly you are hitting the problem of 32bit apps trying to setup 64 bit
drivers documented here:
<http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissu
es/thread/7d731747-724d-4a65-9f12-c6af92fa888f/>
http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissue
s/thread/7d731747-724d-4a65-9f12-c6af92fa888f/ 


Ludo 


 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to