Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Parallelput with no parallel port
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chroncile




PostPosted: Thu Jan 15, 2009 7:46 pm   Post subject: Parallelput with no parallel port

I'm trying to run my program that I did for school at home, but since I have no parallelport on my computer, it says DLPORTio.sys missing or something. How do I make it so the program runs?

Thanks Smile
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jan 15, 2009 7:50 pm   Post subject: RE:Parallelput with no parallel port

It can't. The driver for the parallelport is missing, and Turing relies on that for parallelput (I assume). Try googling DLPORTio.sys for a download. I assume you'll still need a parallelport.
Euphoracle




PostPosted: Thu Jan 15, 2009 7:52 pm   Post subject: RE:Parallelput with no parallel port

Comment the lines out, or replace them with "put." Alternatively, you could wrap the parallelput call in a procedure and toggle between using it or put.

Turing:

const USE_PORT := false

proc parallelputx(stuff:int)
     if (USE_PORT) then
          parallelput(stuff)
     else
          put intstr(stuff)
     end if
end parallelputx

%usage
parallelputx(2**3 + 2**4)
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: