I am new to windows programming but have programming experience on linux platform.
Anybody can please clarify the following.
I need to install a modem in windows xp through c program or batch script. Modem i have is a serial modem.Whenever i connect the modem that is coming as a serial port.I have to install that modem using windows standard medem driver(Modem.sys).That i have done through control panel item "phone and modem" . But i want to do that installation using c program or batch script. Can anybody please give some suggestions? Or is that possible to create dial up connection without installation to connect to gprs network ?
Perhaps the MSDN article How To Programmatically Install Modem Drivers which includes rhis call to runDll32.exe can help
rundll32.exe shell32.dll,Control_RunDLL modem.cpl,Modems, noui inf=c:\MyModem.INF sect=MyModem
The article is very old and references Windows NT version 4.0 but then again I'm not convinced you not a time traveler asking this question from the late 90's
Look at this page : http://support2.microsoft.com/default.aspx?scid=kb;EN-US;Q304294
I encountered the same problem as you did, and I've succeeded with this solution on win7 64bit system. You should download source files from this page and compile it with WDK (I use WDK7.1) . Attention, the original source is compiled by DDK, and it will failed linking under WDK. So you should add one line to file 'SOURCES':
USE_MSVCRT = 1
When build passes, you'll get an executable 'mdminst.exe'. Then you could install any modem you want by CLI:
C:\> mdminst <modem-inf-file> <COM port> <HardwareID>
Ex. to install an standard 33600bps modem on COM1, the command is:
mdminst c:\windows\inf\mdmgen.inf COM1 mdmgen336
Related
I am an ongoing computer forensic student and I am working on taking an image on a bitlocker encrypted Windows 10 device.
Therefore I am creating a Version of Windows PE and mount it with FTK Imager 4.7.1.
The problem starts when I am trying to run the FTK Imager on the target machine. The programm will not start and it also does not throw any error. In the program files of the Imager is a program named adencrypt_gui.exe, which is working fine in the same setup.
Is it possible that I need to run the program with administrative rights? I tried that but found out that there is nothing like users or similar things in Windows PE.
Any help is appreciated and please let me know if you need more specs.
Thanks
I'm currently trying to run ARM assembly on my DE series board. However when I try to open my project I get the following error on the Intel FPGA Monitor Program:
Error running 'make DETECT_DEVICES'. (java.io.IOException: The pipe is
being closed)
How can I solve that?
Depends on the OS you are running. If you are running on Windows 11, it's not going to work because there is no USB Blaster II driver support for it unfortunately.
(see: https://community.intel.com/t5/Programmable-Devices/USB-Blaster-for-Windows-11/m-p/1422212#M87272)
NazrulNaim_Intel Employee
10-16-2022 11:57 PM
Hi Fari,
Regarding the issue with the USB blaster, as mention by ak6dn there will be issues regarding installing the USB blaster in Windows 11 because It is not officially supported yet by Intel. We cannot sure that it will 100% works in windows 11. As for work around to troubleshoot the issue, you can follow the instruction from the link that I have attached below.
https://www.terasic.com.tw/wiki/Altera_USB_Blaster_Driver_Installation_Instructions
Regards,
Nazrul Naim
I suggest you use a VM with Windows 10 if that's the case.
The FPGA monitor program requires WSL1 with a Linux distro installed on your PC. Make sure WSL1 is set to default, WSL2 is not supported and will result in crashes while trying to compile your code.
To install WSL1 and set it to default, follow this link:
https://learn.microsoft.com/en-us/windows/wsl/install
After installation, launch the installed distro and follow this link step by step:
https://www.intel.com/content/www/us/en/docs/programmable/683525/21-3/installing-windows-subsystem-for-linux.html
Although the document refers to the NIOS II EDS it is also applicable for the FPGA monitor.
Also make sure that the version of Quartus corresponds to the version of the FPGA monitor and keep the Linux distro running in the background while compiling.
I'm new to programming Arduino boards. I have an Arduino Leonardo with Headers and I'm trying to upload a program to it. I've been getting this error:
avrdude: error: programmer did not respond to command: exit bootloader
Here's my Build Options:
I'm assuming my Port or Programmer isn't configured correctly. What should the Port and Programmer be? Do I need to install a driver?
Port
You should select port of serial communication with your board. It should look like this (I have connected Arduino UNO):
Programmer
In regular case programmer selection is irelevant. Arduino IDE uses programmer only if you want it. So if you want to upload your code with usb cable, you do not need to care about it.
Drivers
If you are sure, that your cable is working and Arduino port is not in the list of ports in Arduino IDE, you should install FTDI drivers. To install
Head over to the FTDI Chip drivers page
Scroll down a little to find the table of download links. Find your computer operating system in the list and select the appropriate download link
Download the driver to your computer
Open the installer DMG file
Open the FTDIUSBSerial.pkg file. This will open an installer dialog box. Click continue through the main windows, and agree to terms of software license agreement to install
Enter your admin password. Click Install Software. Wait while install processes. Installation should be successful.
Thanks to Jan Černý for the detailed response.
The actual solution to my problem however was getting the right cable. I was using a micro usb cable that must have been charge only.
Anyway, I bought one of these and the correct Port showed up.
I have a printer in my job, Brother HL-2240D, and i need somre driver for linux to get the status information for that (toner level, empty paper, ...).
Actualy I use a driver for linux and I print ok, but this driver dont't get me the status for the printer. Windows driver is the only driver who get the status.
I have found a few days, but it doesn't exist, so I have an idea, install the windows driver in Wine. Can anybody help me to install this drivers in wine?
Thanks.
There are is some weird printer related stuff to wine but I doubt you'll be able to get status working like you hoped. My advice is to either dual boot with windows (or have a separate machine running windows) or even run a virtual machine on your linux pc and have windows running in that. You could then use the virtual version of windows to connect to the printer and receive the printer status stuff with the windows driver and tools.
I have been trying to install the MSVAD virtual audio sample drivers from the Windows DDK on Windows 7 64bits, without success.
I modified the sample INF to only support the "simple" driver. The ChkInf tool confirms that everything is OK with the INF file, I signed the package with a Test certificate. So far, so good.
The problem is: despite reading the documentation on the Microsoft website, I have no clue of how to actually install this driver. The problem is that it does not match a physical device, so I can't use the Device Manager to update the driver on an existing device.
Aside from that, the right-click on INF + Install method does not work as the INF lacks a DefaultInstall section (which is a requirement for signing drivers).
I would like to be able to install this driver from the command-line ideally, but if a specific program is required, I'll have to go that way.
Thanks in advance for any clue on how to solve this.
Well, I guess I hadn't searched far enough: http://social.msdn.microsoft.com/Forums/en-US/windowspro-audiodevelopment/thread/68ac63f3-7bb1-45b0-9677-957d7aa9f2d9