Ok, of course it is highly recommended to use a userlib instead of the old CallDLL command, but could you test this:
(save it as test_calldll.bb, maxxcom.dll must be in the same directory). I was able to run it without an error, whatever that means. Of course it returned zero because I ain't got the device. If it returns something other than zero on your machine, then there may be hope :)
b=CreateBank(1000) c=CreateBank(1000) CallDLL("maxxcom.dll","AutoDetectComPort",b,c) Print PeekInt(c,0)
(save it as test_calldll.bb, maxxcom.dll must be in the same directory). I was able to run it without an error, whatever that means. Of course it returned zero because I ain't got the device. If it returns something other than zero on your machine, then there may be hope :)