LudoI 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. Bob Fenichel At 12:04 AM 10/15/2012, you wrote:
I can warmly recommend Free Pascal;) Dynlibs is a multi platform wrapper for LoadLibrary and GetProcAddress. Attached you'll find a modified unit that works also with Delphi 2006. Since the unit is windows only, I removed the dependency on dynlibs. Ludo > > Thanks again. I have not kept up with Free Pascal, but I'll > download it now. I may need more help with this. > > Bob Fenichel > > At 10:29 PM 10/14/2012, you wrote: > >On 14-10-2012 21:13, Robert R. Fenichel wrote: > > > Thank you. I am trying to understand your code, but > it relies on > > > the DynLibs unit that you did not include. > > > >That's a unit delivered with the Free Pascal Compiler for loading > >dlls... > > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
Robert R. Fenichel, M.D. reply to b...@fenichel.net see also http://www.fenichel.net
------------------------------------------------------------------------------ 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