I want to know any book or site from where i can learn about how to use c++ in Unix operating system in details.Right now i m working in windows,but now i hv to do some project in UNix.So I want to know to get work in unix,Is any need for different Libraries or anything.
Thanks In advance.
We have creating a Toolbar for IE, there is a Edit box control on toolbar. on IE launch and new tab launch this edit box appears in the toolbar but when we switches tab than it is disappeared, also on clicking location of edit box it appears again.
Ive spent the last 3 days looking for a way to dial a PPPoE connection using c++ (without having to implement the protocols myself). Ive heard that you can use something already in most linux distro's to create them quite easily, but im at a loss when trying to find information about it. Also, dialing it in windows? Is there any way without having to handle the ppp stack and everything yourself?
There are two pointers, both points on controls of type
COleDateTime* pIN = (COleDateTime*)
The second control is on another dialog window
COleDateTime* pDest = (COleDateTime*)
The first pointer to point date ’27.05.1953’
How do with help the second pointer receive date ’27.05.1953’ ?
Is this your real code ? Because you cannot cast a CDateTimeCtrl (which is the control on your dialog) to a COleDateTime. You can't do something like that, you will end up will something totally invalid (it strange that it didn't even crash). So, cast it to a CDateTimeCtrl instead of a COleDateTime.
There is control on the dialog window
DDX_DateTimeCtrl(pDX, IDC_DATETIMEPICKER1, m_date);
m_sBD have format ‘dd.mm.yyyy’
for example m_sBD = L”19.05.1849”;
How do show date into control
that identifier is IDC_DATETIMEPICKER1?
I have a USB device (SDM modem) that uses a usb port to connect to a computer running any version of windows. I want to be able to figure out what port the device is on and read information from it. Which is the Windows API i need to use? In device manager, it gets listed with name as "USB COM Port (COMX)", where X is the COM port number available.
So, your USB device is USB-to-serial device ? If yes, you will need to retrieve the COM port number from the registry (but I never did that myself , so I can't really help there), and then you can open it like any other COM port (CreateFile, ReadFile, WriteFile, ... ). Then of course you need to know the protocol that your device is using (so, what to send,...)
If it is not a virtual COM port, the procedure is a bit different.
What about the 'trial and error' experimental approach (iterate on ports, trying to open them and start communicating with your device)? It might not work if there are bad-behaving-virtual-COM-drivers on your system, though.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
Into event NM_CLICK
Of modal dialog window chose row into control CListCtrl
int row; For example row = 6;
Modeless window is opened. In event WM_LBUTTONDOWN
( on surface of modeless) set:
CMainDlg2 dlgModal; // modal
m_sWorkModeless.Format(L"row = %d",dlgModal.row);
Result: row = 0 , but must be = 6
How to receive 6?
Last Visit: 31-Dec-99 18:00 Last Update: 30-Sep-23 20:13