|
what a C++ question do in a hardware forum Mr Amin ???
did you lost yourself into this deep deep dark website !?
moreover, ,if i well remember,, this is a repost... maybe that's why you asked it here (to hope me not to see it but you missed it )
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 6:15 Wednesday 30th November, 2005
|
|
|
|
|
Hello,
The inline keyword is a hint to the compiler, not an absolute. The compiler still chooses best whats good for you or not..
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Vikas [[]]:
There are several reasons for that:
1) VC++ does not inline functions implemented in a diferent module from its declaration (at least for classes, the rest i don´t know). See this http://www.codecomments.com/archive292-2004-11-329446.html
2) Functions containing while cycles will not expand inline
3) Functions calling inline functions will not expand inline
I think that´s all.
Peace [[]]
hint_54
|
|
|
|
|
my pc gets restarted everytime i do a normal "switch on".. can u tell me what'd have gone wrong?
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1"> --[V]--
|
|
|
|
|
The are several thing who can reboot your pc, but I think it's probably your power supply, check if your connection with your motherboard are ok.
|
|
|
|
|
Hi,
I have developed a WinXP based application in .NET C#. I want to make sure that it only runs on specified set of hardware. It first checks the hardware IDs of motherboard, RAM, and processor. This application compares those values to what it is supposed to run, and then decide if it is a valid set of specs.
I can get these IDs from registry but registry could be fooled. What I want is to directly access these hardwares and get the IDs.
Could anyone please help me out in this regard? I don't know if it is possible in .NET or I need to write an assembly code for it. Is there some api or already available programme to do so?
Thanks
Bilal Farooq
|
|
|
|
|
Hi
This is not a programming problem but i dont know where else to turn i need to know what kind of hardware i need to go on the internet with my PSP from home using a telephone line or do i need a satilite connection.
Thanks
H
|
|
|
|
|
|
I need to send a text file directly to a printer using the belkin usb to parallel port cable. I installed a generic printer so I could see the name of the printer port and then passed USB002 to WriteFile, but it gives me an error and says that the com port does not exist. Has anyone used this cable to send data directly to the printer through the parallel port and if so could you tell me how to do it or give me some pointers.
Roger
|
|
|
|
|
A Com port is a serial port, not parallel.
Did you install the driver for the USB to parallel adaptor (it is NOT just a cable)?
The tigress is here
|
|
|
|
|
hi can anyone tell me
how can i get & send data to
a USB port from a VC++ application
thank you
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
I use a USB port as serial port and handle it just like a serial port. Of course I have a USB to serial peice of hardware on the port.
The point is the port can emulate almost anything. If you want to use the port as one of the standard ports (serial, parallel) then you just get such a device. If you want to create you own device (you can) then you have a lot more work. There is a web site that is totally dedicated to USB programming for the making of all kinds of hardware devices. Try
www.Lvr.com
Brian
|
|
|
|
|
that is a good site
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
there is a USB24 I/O which you can use to control up to 24 devices
|
|
|
|
|
Does anybody know a software that can monitor real-time the amount of data being processed, memory usage, etc. within the video card? Please help... Thank you very very much!!!
|
|
|
|
|
I'm wondering if it is possible to generate pure randomness with a typical PC.
I'm thinking there might be hardware within the PC that runs at different clock frequencies with electronic variances that can be used to generate a stream of pure randomness.
|
|
|
|
|
I think "generate pure randomness" is an oxymoron. The best you can do is use a source that is highly variable and not predictable. APIs like CryptGenRandom() sample dozens of system parameters to come up with a source that changes so much as to make it unpredictable. Or you could rig up something similar to LavaRand.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | 1ClickPicGrabber | NEW~! CP SearchBar v3.0 | C++ Forum FAQ
Laugh it up, fuzzball.
|
|
|
|
|
No, you'd need external hardware to do this. The built in sensors are only sensitive enough to detect problems, not record pure noise like you'd need for a RNG.
|
|
|
|
|
One way, that I've seen other site's recomend, is to play some noise in the speakers, then record the sound with a microfone. Then you'll get something very close to random.
The one and only Niklas Ulvinge aka IDK
|
|
|
|
|
If you want to generate randomness interms of numbers,
then you can add some huge numbers and make overflow in the register.
The generated number everytime will be the random number
Anil Kumar
|
|
|
|
|
When I start my computer, it doesn't connect to the screen...
The screen only goes into powersaving mode, wich it does when it doesn't connect to the PC...
The one and only Niklas Ulvinge aka IDK
|
|
|
|
|
Do you have a 2nd monitor/pc available? If so switching screens will show if hte problem is hte monitor or the PC.
If not, do your PC give the normal beep(the on boot beep is an errorcode) when you turn it on? If it does the problem's your monitor, if not your PC. If it's your PC, we need to know it's model and how it's beeping differently to diagnose the problem.
|
|
|
|
|
Yes your right, it's bios error, it won't beep at all when I start it
I've been mixing a little with some harddrives and cd drives... But that can't be the problem, couse bios would start anyway...
I hear everything spin up, but then I don't know what happends...
The one and only Niklas Ulvinge aka IDK
|
|
|
|
|
If it's not beeping the problem is probably something other than the bios. A failing power supply (bringing some power but not enough), or dead cpu would be more likely. If you have a multimeter you can check the former. Stick the probes into both a spare drive connector and the one on the mobo (a loose connection, or failing mobo parts could make the voltage levels different here than on a drive connector). Black to Red should be 5V, Black to Yellow 12V. A deviation of +-5% is within accepted bounds, more than that could be the problem.
|
|
|
|
|
OK, I don't got a multimeter... I think my dad got one, but he's now.
I'll have to do it tomorrow...
The one and only Niklas Ulvinge aka IDK
|
|
|
|