For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
VSS wasn't starting properly and SQL backups were going astray, did the usual checks and noticed that the OS partition that it was sitting on wasn't active, so without thinking I just made it active, (DELL server with a small partition marked RECOVERY that should be the active one), soon as I did it, I looked at it properly and beat my head against the desk, question is, if I just remark the RECOVERY partition as active, should that then solve it again or am I going to have to mess about with diskpart next time I reboot the damn thing?
I am trying to eliminate all compiler-warnings of a given project. I'm stuck with the warning below;
Processing COM reference "AXDBLib" from path "(somepath)axdb20enu.tlb". Interface 'IAcadShadowDisplay' is marked as [dual], but does not derive from IDispatch. It will be converted as an IUnknown-derived interface.
Ideally, I would like to understand how to rectify it, but if that is not possible, I'd like to surpress it.
After years using USB I feel really stupid asking this. My LCD connected to Arduino powered via USB started flickering after I changed PC. I checked the port (hub) and it is set to 100mA. I have no real reason to think that my hardware should be using more than 100mA, but my real question is - <b>can the USB port power setting be changed ( on XP) </b>? I think the LCD back-light LED is eating most of the power, unfortunately I cannot control its intensity. Bummer.
I have a Win8 PC with a Win7 virtual machine (VirtualBox) where I do development because we use VS 6.0. (Yes, I know, hard to believe.) Anyway, each time I do a build, I have to delete other builds, to free up disk space. It is getting to the point where soon I will have no free disk space. It looks as if Windows Updates are expanding the OS. Is there anything I can do? Is there a folder with unwanted OS update files?
I can expand the virtual disk, from the current 80GB, but that is only a temporary fix for obvious reasons. I have to have SQL server etc on the virtual machine, which take up quite a few GB.
Friends,I am working on a project....and in that project i have to take scanned image of finger with the help of fingerprint scanner.....and this image will be used as a password to log in the site.....so plzzzz..tell me how to store images in database..and how can i check the scanned image of finger of user with other scanned images
I have found that for linux it is possible to use vga, hdmi and other video connector's ddc's i2c ports to program and communicate with periphial devices. I have also found that apparently no one has been able to do it for windows, with the exception to nicomsoft. Nicomsoft has software that I have verified can read the i2c ports and not just access edid registry. I have an accelerometer connected and when I run the software it can detect a device at it's address. So I know it is possible but I have no idea if it is possible to use windows to do it. I know windows video port driver can call the miniport driver and get pointers to i2c callback structure containing explicit controls of the clock and data lines. The problem is it does not seem to export any of these pointers to anything else, like a user api let alone another kernal mode driver. I have considered that it might be possible at a hardware level were I have found out the intrcacies of the hardware, I have even seen an example of a video miniport driver on this site. I have an amd laptop which uses the bolton fusion controller hub which has vga ddc i2c ports. If you search amd docs for bolton fch you can find the documentation. basically I know the hub's i2c ports physical pins which my guess are both strung out to the hdmi and vga port's on my lap top. I have alos looked up the hub's general pupose i/o registers and it appears that they correspond to the pins. For instance ddc_i2c_scline is gpin70 and the data gpin71. the gpio registers are numbered correspondingly except the decimal pin number is changed to hexidecimal for the register. I can find the memory offset. My question is now, can I call gdi's function to map video memory to the process virtual memory, then write to these registers, turning them on and off? It is difficult to tell just what perspective on the memory I will have. Also if this worked, it would not be platform independent and would only work for pc's with bolton fusion controller hubs. Nicomsoft's program seems to be platform independent so either it wrote drivers for all common hardwares or it is using windows video port driver somehow? I have been working on this for several months and if someone could please help it would be awsome. thanks.
I'm currently reading a computer organization book and i'm so confused about Input/Output mechanism and have lots of questions in my mind.
As i understood there are two concepts for communicating with peripherals, first one is Memory Mapped I/O and the other one is I/O(Port) Mapped I/O.If the architecture is based on Memory Mapped I/O there are no special I/O instructions like "in","out" etc and device registers are mapped to memory address space so we can read or write to peripheral ports by "mov" instruction.On the other hand if architecture is based on I/O Mapped I/O, device registers are mapped to I/O address space which is completely separated from memory address space and cpu uses special instructions("in","out","ins","outs" ) for reading or writing to I/O Mapped device registers.
So here is my questions;
1.)If X86 architecture uses I/O(Port,Isolated etc) Mapped I/O technique why there are memory address spaces for devices like graphic card?
2.)If graphic card maps 1 gb memory to main memory address space what does it mean?Does it mean Memory Mapped I/O ?
3.)If x86 architecture doesn't use Memory Mapped I/O how a device can maps itself to memory address space?
4.)If x86 architecture can use Memory Mapped I/O ,how can it use and with which instructions?
5.)If I/O mapping is about mapping peripheral registers why graphic card wants so much space for mapping ?
Ok so I've read that there are some instructions that do things that enable/disable interupts,etc
are these the so-called priviledged instructions ??
do you know if there is a list with all those "strange" instructions ?
In my current customer's environment, we have Windows 7 machines on the factory floor that production people use to get their job done. The accounts they use are quite restricted - historical reasons . Anyway, one thing one of these machines needs to do is some low level formatting of compact flash cards. The commands used require accessing very low level operations like DISKPART, etc, so permissions must be elevated for the script to be able to run.
Normally, I would run this script on my laptop by right clicking on it and Running As Administrator, supply the password and off we go. But we cannot give the admin password out, just not a good idea.
Is there any way to install or set up a script with elevated permissions? I've not done anything like this before, but off the cuff, I'm thinking creating a simple service, installed with priv's and having the non-priv'd script send it a request.
Charlie Gilley Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
I've got my Samsung Galaxy S4 set to automatically connect to the various wireless networks I regularly use, and for the most part it works great. But at home I have it set to use the high band network on my WD MyNet N900 router, while my home network is set to use the low band, and it fails to connect with the message, "Obtaining IP Address." I've double and triple checked the settings on both the phone and the router, and I can't find any inconsistencies, but I know I've seen this message before on some other device. Unfortunately, I can't recall how I fixed it.
But at home I have it set to use the high band network on my WD MyNet N900 router, while my home network is set to use the low band, and it fails to connect with the message, "Obtaining IP Address."
By this do you mean the 5GHz and the 2.4GHz bands?
I find that my Smasung Galaxy S4 won't play nice with the 5GHz band on my router but doesn't miss a beat on the 2.4GHz band.
As for the failing, the only time I have seen this issue on my phone is when attempting to connect to customer WiFi when they have WEP encryption. Not positive, but I think I have had the issue with WPA as well. It woeks all the time with WPA2 though/
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
I tried the Low band connection with no good results, then spent the evening checking the manuals, tech support and Google for both devices. Nothing. The I went into the phone's settings for the high band connection and selected Show Advanced Options (right under the Show Password option). The resulting screen let me manually configure a static IP address for this connection, and I picked an address within the range of the LAN scope of the router. As soon as I exited the settings screen I had a firm connection. Browsing didn't work right away, as I left the default DNS servers intact the first time around. The phone defaults to the Google free DNS servers at 22.214.171.124 and 126.96.36.199, but neither are very responsive. But after I went back into the setup and changed the DNS servers to my gateway router for #1, and the global server (188.8.131.52) for #2, browsing started working properly.
What makes me crazy about this is that I connect automatically at work to the wireless side of our SonicWall device, and I've never made any special adjustments - it just works. I wonder what makes the WD MyNet N900 act differently? Oh, well, it works...
It was simply a design flaw in the Samsung or the WD router. I think. Automatic configuration just won't work, but setting the connection manually works great. This is only for this router, as far as I can tell, since the phone connects reliably at work or when I'm travelling.
Let it configure automatically and copy and paste the settings here. It could be as simple as a gateway not getting set correctly, which should be a fixable issue.... unless you are perfectly happy with the static connection.
I'm a software engineer with little clue, so please bear with me here.
I have four devices that all have the same, factory-set, IP address, and I need to talk to all of them from the same PC.
The boss said "You should be able to do it with a NAT gateway router with port forwarding", which sounds more like buzzword bingo than any actually useful advice.
I think most cheapo home WiFi routers can do this, but I'm not sure what to look for. It needs to be reasonably cheap, have at least 5 ethernet ports (1 PC, 4 devices), and ideally be configurable so I can assign IP addresses to specific ethernet ports (so regardless of which device is plugged into port 3, it always have the same alias).
That's why I need address translation. If I need to get one router for each, that's fine too.
But I can't configure their IPs, as this is for a factory test setup. Get four devices off the production line, put them in, run the tests. The tests take a few minutes, but are not limited by the PC, so if I can connect four devices and run the tests in parallel, it'll be an enormous time-saver.
You're in deep yogurt, then, because - by definition - no two devices with the same IP address is allowed to exist on one network. If you're planning to ship units that have to have the same IP address, your product will have a very short life cycle. But...
If, for purpose of factory testing, you need to do testing on 4 identical units at once, all with the same address, you have to configure each unit to listen for and respond to test commands on a specific port, and configure the test environment to use fixed addressing with no DHCP service active. You can then spoof the test network into thinking it's hosting one machine with 4 ports, and configure the main router to use port forwarding to talk to each of the machines on its distinct port.
A far better approach would be to either change the IP addresses of the UUTs and run the tests sequentially, or rewrite the tests to run on the UUT as it should be done, and again change the UUT IP address to be unique on the network. The advantage of the latter method is that the test code is downloaded to the UUT and allowed to run, without interaction from the other three machines or the host, until the test is complete. After a decent interval, the test host machine can poll each of the UUTs for test results. If they've blocked you somehow from changing the device IP addresses, tell them to enjoy carnal knowledge of a rolling donut, and go find a job with a real company that has a chance of remaining in business for a while. This one's doomed.
Sorted: One router per device.
The WAN address of the routers statically set to unique addresses, which the PC uses as addresses to the devices.
The LAN address on the routers is set to be the same, i.e. the Default Gateway of the device, and the routers are set to do port forwarding to the device address.
Adds a few hundred bucks to the cost of the test station, which isn't too bad considering the test equipment is tens of thousands.
No need to make any custom settings on any devices, they already come with a static address and a default gateway set up. (The tests aren't run on the UUTs; the test PC is ordering the UUT to transmitt/measure received signals at various power levels andfrequencies.)
I am confused by terminology, again. I got the wireless dongle installed, I got the network connected ( Dlink) but cannot get pass the "network key". I tried "automatic assignment" and it did not work, I changed the network key manually - XP took it but still complains about it. I am assuming it is not same as "user password" I set in Dlink. I am obviously doing something very basic and stupid. I followed few "how to set network key " but so far no go. Would appreciate any help. Cheers Vaclav
PS I need to get this setup on hardwired system so I can connect my sick PC using wireless connection, my NIC is busted on that PC.
You need to use the network key that is generated by your router. I have no idea what a Dlink looks like, but I suspect the password you set is just for access. Somewhere in the configuration wizard will be a section on Wireless Settings, where you choose WEP,WPA etc., and set the wireless access keys.