Is this a "feature" of VC 6.0 only?
The associated list box puts the scroll bar on the right and aligns the text on right also.
Now the user have to select the list box from left and select from the list box on right.
It is not a major problem, but...
Only constructive comments to the subject will be appreciated.
No lectures please.
as i know and read some where there i found if file is created through admin then generally limited user cann't write in file.Ony Limited user have read permission.So can i change file attribute for limited user or there is any rule for create a file for all user read and write permission then please help me.
i am trying to use parallel port to send data to it using vc++, i have added LED's to know if it works fine.
I have included inpout32.dll in my system32 directory and inpout32.lib is linked to my project, i have even placed inpout32.dll at my projects directory.
When the project executes, it gives no error, but output doesnot appear at LEDs.
please let me know if there are any errors in my code below, or anything that can help me to see output
void _stdcall Out32(short PortAddress, short data);
Never having used Out32()... Have you verified that 0x378 is the correct address of the parallel port on your machine (and it is enabled)? Have you ruled out hardware problems, LED's that are backwards, ground(s) not connected...
I would like to use STL <numeric> adjacent_difference function in my program but I'm getting the error:
1>c:\program files\microsoft visual studio 8\vc\include\numeric(349) : error C2440: '=' : cannot convert from 'Csimple' to 'int'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called.
I have a <list> of Csimple's (udt) objects where I would calculate the differences (Csimple is a very simple class with only one int parameter called "firstInt").
simpleList.push_back(Csimple(10)); //fill the list with Csimple's objects
v_resItr = adjacent_difference(simpleList.begin(), simpleList.end(), res.begin());
I've also added the overloaded version of operator- and operator= as class members as suggest by errors provided by compiler