Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th June 2005, 09:41 AM   (permalink)
Default

Quote:
Originally Posted by falleafd
I'm using inpout32.dll on XP service package 1 and programming with C++.net. So you may try but I need to rename the dllcache folder to make it work. No problems with Basic, but you can try to work with my laptop and you will see the problems. However, if you do as I noted, it works in all computers. I'm sure that. And of course, my laptop now run under NTFS.

So what did I do?

- Change it to FAT32, do stuffs as I noted
- Change again to NTFS and it worked.

I found no problems here.

What we are discussing is that which port beginners should study? And I said that they should learn to use serial port first. It's all.

Hi all,

You may get some info on parallel programming with DLL or activeX under Win Xp, Win 2K or NT ,

http://www.geocities.com/bagtool/parallel_access.html

free :wink:
free1 is offline  
Old 28th July 2005, 12:01 AM   (permalink)
Default

Quote:
Originally Posted by falleafd
Sorry, Because of Vietnamese firewall, I cannot view your program. (I cannot visit www.geocities.com....

But if you wanna use parallel port in win XP, you can follow this steps:

1) You only can do it if your XP run under FAT32

2) Boot your PC under DOS

3) Use NC to rename Windows\System32\Dllcache folder to Windows\System32\Backup_dll (for example)

4) Go to this site www.lvr.com and download .dll file and copy it to system32 folder.

Why you have to do so?

1) .dll files in dllcache folder are the files used to backup XP's .dll files as it is changed. It's automatically done. You will see that if you copy portio.dll to system32, you can use it only one times, after you restart the PC, you cannot use it again.

2) As you rename dllcache folder to backup_dll, XP cannot recognize this folder and cannot backup .dll files

3) But XP do not allow you to rename this folder in windows, you have to boot your PC under DOS to do so

4) As you don't want to use portio.dll, you can easily rename backup_dll folder to dllcache folder. XP will automatically backup all .dll files unexpected by XP.
im running xp with ntfs and i find outputting data to the parralell port fine with c++
__________________
when you post that reply, im just kidding.
danielsmusic is online now  
Old 28th July 2005, 10:02 AM   (permalink)
Default

Quote:
Originally Posted by danielsmusic
im running xp with ntfs and i find outputting data to the parralell port fine with c++
But you're writing in DOS, not in Windows! - 32 bit Windows compilers can't directly access the ports as Windows NT blocks it - hence the need for drivers.

In Delphi the 32 bit compilers don't even include the commands to directly access the hardware, although the 16 bit version does - but the 16 bit versions (or even adding assembler routines to the Delphi code), won't work under 32 bit Windows.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 28th July 2005, 10:42 AM   (permalink)
Default

I think he used a third party dll, or maybe inpout32.dll, and not the standard win32 calls.
checkmate is offline  
Old 30th July 2005, 01:53 PM   (permalink)
Default

i wrote my own drivers it, is a windows aplication and runs in windows.
__________________
when you post that reply, im just kidding.
danielsmusic is online now  
Old 30th July 2005, 02:08 PM   (permalink)
Default

i'm using borland c++ and i can easely control my paralel port with inpout32.dll. And i make windows softwares not dos ones
__________________
Need Help?
Press F1
If that doesn\'t help you, ask me... I might know better.
bloody-orc is offline  
Old 30th July 2005, 02:47 PM   (permalink)
Default

Quote:
Originally Posted by danielsmusic
i wrote my own drivers it, is a windows aplication and runs in windows.
Perhaps you would care to show us?, the previous code sections you posted were simple DOS programs that directly accessed the ports.

If you like I can post you links for Win32 port drivers, but I suspect it's far above you (and me!).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th August 2005, 02:06 PM   (permalink)
Default

they were not dos! it may look like it but that is simple form of c++ not visual, without the drivers is comes up with a windows xp error.
the programs i make and run on my computer are 64 bit. if i write for someone else it is 32 bit. NEVER 16 bit i can't do it i have no program to do that
__________________
when you post that reply, im just kidding.
danielsmusic is online now  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 09:22 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker