What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] LPT1 code problems

[HELP] LPT1 code problems
Author: Message:
novolo
Junior Member
**

Avatar
L2Luna GM

Posts: 67
– / Male / Flag
Joined: May 2006
O.P. Shocked  [HELP] LPT1 code problems
Hi,   I'm kinda still learning to code, so be aware! my errors could be VERY BIG :P

the thing is,  i want to control the data pins on my LPT1 (parallel port)  so,  I'm using the io.dll as suggested by Themuzz  with the Command:  Call PortOut (888,1)

so, here's the code i use to activate a pin:

code:
Interop.Call("C:\TEMP\SCRIPTS\LPT!\io.dll", "Call PortOut", 888 , 1 );


i came to this after several attempts that the code was wrong and didn't allow the script to initialize..     now,  no errors appear,  but.......    the pin is still off...

I've checked it and this doesn't work...  the pin 2 doesn't turn on.. :(

so, my last chance is to ask someone here for help...

all i need is this code to work so i can get my code up and running...

i have it already working to start applications remotely,  but if i can make this work i could be able to turn on and off lights, radio, tv, heating, etc...

PS:  it also would be nice  if you could tell me whats the command to turn off one pin :P   

This post was edited on 07-07-2006 at 03:01 AM by novolo.
[Image: signature-user=247&back=4&clr=255,255,255&size=80.png][Image: novolo.gif]
07-07-2006 03:00 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] LPT1 code problems - by novolo on 07-07-2006 at 03:00 AM
RE: [HELP] LPT1 code problems - by cloudhunter on 07-07-2006 at 03:40 AM
RE: [HELP] LPT1 code problems - by matty on 07-07-2006 at 03:45 AM
RE: [HELP] LPT1 code problems - by ShawnZ on 07-07-2006 at 04:06 AM
RE: [HELP] LPT1 code problems - by cooldude_i06 on 07-07-2006 at 04:49 AM
RE: [HELP] LPT1 code problems - by novolo on 07-07-2006 at 12:09 PM
RE: [HELP] LPT1 code problems - by CookieRevised on 07-07-2006 at 01:16 PM
RE: [HELP] LPT1 code problems - by novolo on 07-07-2006 at 02:05 PM
RE: [HELP] LPT1 code problems - by CookieRevised on 07-08-2006 at 11:08 AM
RE: [HELP] LPT1 code problems - by novolo on 07-08-2006 at 04:54 PM
RE: [HELP] LPT1 code problems - by CookieRevised on 07-08-2006 at 05:30 PM
RE: [HELP] LPT1 code problems - by Themuzz on 07-12-2006 at 07:48 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On