|
This target application of yours, is this a 16-bit executable? If it is you could probably get away with writing a VxD that uses the port range interception technique. Unfortunately, VxD's are really a long way in the past for me, so don't expect too much help on that one. I even wouldn't know where to find a copy of the Windows 98 DDK anymore...
If it's a 32-bit executable, port range interception won't work. You're stuck with the WDK. Have a look at the ECHO sample (in KMDF). It's a simple software driver that creates a device, and just returns it's (sequential) input. So it basically already does what you want. If you extend it with the required IOCTL's (found in parallel.h), You're halfway there (Instead of echoing, you pass the output to the FD2 driver, and presto! (Well, not that simple )
|
|
|
|
|
Friends,
A year ago I was infected with СТС virus, as millions other was)). The real trouble with equipment is to provide true rapid data exchange with controller of steppers. My front program is machIII by artS0ft (32b/WinXP) require couple parallel hi-speed port to be present, it's a real trouble on highspeed even if those present physically.
I understand from above that I have to write IOCTRL driver...Honestly saying, I never did this previously but use MS asm/C++ for simple system tricks. I found this <a href="http://msdn.microsoft.com/en-us/library/ff540815.aspx">ECHO</a> example, but there are no download. Maybe you can kindly point me here on appropriative project to learn technique of WDK writing?
The most thing is my concern, that target application configured to work with LPT port by number, but not name. Besides,I traced through target with "DependWalkr" to detect all imported functions and DLL may be used for LPT exchange..
Thanks.
|
|
|
|
|
|
|
Thank you Michel.
I found another examples: lptwdmio.sys and from MS WDK parport.sys project, so shall study. It seems there are no article with similar project on CodeProject. Besides, I discovered that it neccasary a special code frame to call to external DLL (FTDI/USB driver ) from LPT driver emulator, now Im not sure that complicated link should work properly. А lot of work meanwhile...
|
|
|
|
|
I would not expect good results from trying to make an existing executable work with a USB pseudo-port. USB devices have a rather long latency (typically 1ms); unless the driver knows exactly what the underlying code is expecting to be doing, it may be very difficult for it to sensibly aggregate data.
On the other hand, if you can recompile your application to run under Windows, that would simplify things greatly. In that scenario, you'd be able to communicate with FTDI devices by sending groups of bytes at a time, rather than having to send one byte every millisecond.
|
|
|
|
|
I just purchased a Serial Port (9 pin) to USB cable so I can plug my GPS into my laptop. It came with a disk with the drivers for XP does anyone know where I can find the drivers for Vista 64bit version? I think the cable is called an HL340?
I checked on Google & Microsoft and I only found a referance to a Chinese driver which I looked at and the interface is in Chinese and of course unreadable to me.
If anyone knows where do download a USB2.0-Ser! driver or some other method of connecting I am grateful.
Thanks
|
|
|
|
|
|
Hi,
Thanks for the links. I have tried the 1st one and it fails to install with just a generic application message.
As for the 2nd & 3rd I was not a member so I have to wait for the server to catch up after I signed up.
I have found serveral sites with different versions of the driver including what is supposed to be the original Chinese site. That is the only one that comes close but since I cant read chinese I cant answer the setup Q's and install. Some of the sites say that after installing you have to reboot and press F8 during the boot process to disable the driver signature process since the driver is NOT signed. But most of those posts are from 2004-2007 and I would have thought that it would have benn approved by now, being 2010 5 years later!!!
I am trying to connect to a GPS and most GPS's are serial port connections.
|
|
|
|
|
2 yrs back I also did something with Holux GPS & XP, I forgot that site which contains those drivers for serial-usb2.0, but I am sure, it was a chinese version also. I didn't spend much time to understand that, just clicked that wizard to finish the installation.
I just suggests you, clickinhg those buttons in the wizard just complete the installation procedure, need not to understand much of that.
|
|
|
|
|
Well it turns out that I have teh wrong cable. The cable has a small chip in teh RS232 plug end... The cable came with a driver named HL340 for Windows XP... I found the seller (on ebay) and emailed them. It turns out that there is a seperate cable/chip for Vista 64bit for $23
EBay item title...
USB SERIAL RS232 DB9 CABLE VISTA XP MAC LINUX Windows 7
[
|
|
|
|
|
Can a wireless node still buffer packets when it's receiver is turned off?
Hii ..
As per my knowledge ... Normally the AP will buffer if the stations are in power save mode, by checking the mib details stored in AP.
So if the receiver is turned off, the AP mib information doesn't conatin the details about that particular station.
So it won't buffer the packets for that station.This is my answer...If this is correct or not.....???
Thanking you
Krish
|
|
|
|
|
Can't say I am a total expert here, but I would think that this is one aspect that may vary from vendor to vendor depending on their power saving and start up speed requirements really.
Just a guess but I would check it out.
|
|
|
|
|
Hello everyone, I am wondering if any one know or can help me how to convert regular windows program to windows ce. My application is written in VS C++ 2005 and another one is in C#. What I am trying to do is convert both of the application and deploy into windows ce device.
Thanks
|
|
|
|
|
Under the WinCE File Menu you'll find Open Project option ( for opening exixting projects); choose your VC++ projects from there, it will autometically get converted into netive format. You need to think over, but in case of C#, I am not sure, whether this will work or not. But as you may know, not all the functions & syntax of VC++ & its wrapper libraries are not supported by WinCE.
|
|
|
|
|
Hello there, I was so pleased to see your reply.I will be very pleased if can help me little more. What do you mean by under the WinCE Menu. I assume if I have a WinCE Program open then I go to file->new->Project from existing code Or you mean something else. I also have .dll files that are in C#. what should I do about that. It is not working.
I did what you have suggested but there are more options coming up and I dno't know what to do with that.
this is giving me problem [using namespace System::Windows::Forms] how it convert to native c++.
Please Please I really in need of help because I already spent two weeks without having done anything. I tried whatever I know. Total line of code is 50,000 which one I am working on if I have to re-write the whole code it will not be easy as you know .
thanks again.
|
|
|
|
|
As I said in my earlier reply go to file->new->Project from existing code, this will help you to convert your VC++ code into WinCE, but I am not sure about C#. But if it is only a DLL, then why dont you try to load that DLL into C++ code?
|
|
|
|
|
The system clock ( on status bar) on this desktop starts every time at original time set during setup. But it advances normally.
I changed the CMOS Bios battery - no change. (I have seen on other bios " CMS battrey low", but nothing om this one.
The main issue it that I have to recompile all files of my VC++ development every time I made change in a single file.
Can this be fixed easy or is it motherboard hardware failure?
PS It does it on both newly installed OS, but different start time!
Thanks for reading.
Any constructive help as always is appreciated.
Vaclav
|
|
|
|
|
I don't know what the fix will be, could be a couple of things, however what I would do right away is, assuming your machine has web access, install or create something that gets current time from the web and sets the system clock accordingly at startup, login, or even periodically.
[ADDED: I really don't want file times to be wrong, it is bound to lead to all kinds of trouble.
/ADDED]
|
|
|
|
|
I did try to run "Atomic Clock free" application and it just did not do anything - no synch at all.
I just "finshed" running backup (MS) and I eneded up with "days to finish"
after it run for about ten minutes. Obviously it is no good.
I think I have a hardware problem saving the current time.
Vaclav
|
|
|
|
|
The only thing I can suggest then is make sure there isn't some BIOS setting that went haywire, maybe there is a way to disable the real-time clock (RTC) and it got checked during the troubles.
|
|
|
|
|
The RTC chip is probably a goner.
Does your PC start very slowly through the BIOS sequence, and then speeds up when some the NT Kernel is loaded? Then it's your RTC chip. (NT does not care about the RTC chip to do it's clocking, but most BIOS-es do, to time the stuff they display)
You should be able to replace it cheap. The only problem is that nowadays, these things are surface-mounted, so it's a bit tricky to replace them.
|
|
|
|
|
Old Dell Poweredge server hangs about once a month for the past six months. This has one SATA hard drive and a RAID 5 array of SAS hard drives.
The last time Dell Poweredge had the following error
"Backplane unknown sensor type sensor #29, drive slot sensor drive fault detected"
Every two to four weeks, the hardware logs issues with the power cords such as
AC Source B Power Cord Inserted
AC Source A Power Cord Removed
Ocassionally the server reboots or hangs with a message about the PERC 3/i RAID controller
All changed files are backed hourly on another machine on-site and out of state overnight
The server is no longer under warranty
What is a good interim solution short of buying and setting a new server? This no longer hosted a database, so it's strictly manages our network, policies, and security permissions. Is it possible and should I consider disabling the RAID controller? Should we clone the SATA hard drive and replacing that?
|
|
|
|
|
You probably have a hardware failure that's going to get worse and worse. From the description you gave, I be worried about an actual drive failure, RAID controller failure, and a power supply failure. So, take appropriate steps to protect your data and consider your options for continuing functionality.
|
|
|
|
|
What is "USB bandwidth"? I run into this somewhere, I think it is in Properties of some USB ports..
What about "the USB on front are different than in back"? Not too technical description, referring to desktop box.
I got USB to IDE "converter" to run CD drive and it is noticeably slower that IDE. Is that “bandwidth” limitation?
NT “Device Manager “ identifies tons of USB controllers, how do identify them physically?
I mean where are they - on the motherboard or on PCI adapter ( BTW I took it off – got too many internal USB ports) or external D-link USB adapter?
If I can change this “bandwidth” I need to know this.
Thanks for reading.
Vaclav
|
|
|
|