I am trying to write the corresponding method in the OCX control using the class wizard and the above method is the only peice of code that i have for reference.
I am currently getting a "type mismatch" error for the data type used to represent lpszNewValue.
The following data type paramters have been used by me on a trial and error basis but every time i get the same " type mismatch " error.
LPCTSTR and BSTR*
The function call is used to access the OCX control is defined like this
_xptOcx->SetConfigurationSetName( cfgName );
where cfgName is of type CString.
Can anyone tell me the data type that i should use to represent the lpszNewValue.
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
Ownerdraw of the grid button. A singleton class implentation and usage.
Continuing from the fifth article about sudoku.
Open the project in visual studio.
Go to the class view – CGridButton should be visible as a class. R…
Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers). Error trapping with try..catch to help the code run even if something goes wrong.
Continuing from the seve…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download.
This will be demonstrated using Microsoft Expression Encoder 4.