Thanks alot ist worke, but i still have another problem with the script element:
m_cfdlg.m_cf.Flags |= CF_NOSCRIPTSEL; // Disabled but not blind out the script element
m_cfdlg.m_cf .Flags &= ~CF_SHOWHELP; // Disabled the Help Button, but the Question mark in the Dialog still showed.
I am building legacy application in VS2008 solution. I have the followng lines in my code
template <class MapType, class DestinationType = MapType::referent_type>
typedef DestinationType destination_type;
typedef typename MapType::value_type source_type;
static HRESULT copy(destination_type* pTo ,source_type *pFrom) //here i am getting C2664
on building this project i am getting the following error
error C2664: copy' : cannot convert parameter 2 from 'const std::pair<_Ty1,_Ty2> *' to 'std::pair<_Ty1,_Ty2> *' C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\atlcom.h
Tip of the day:
In future also, It should be very helpful for you, whether you try the codes shown through the links; Download the code sample to your local machine, compile it; Read the code and try to understand how they done it.
"how to get text from image and convert it into various languages"?
Well, it is still a question around the IT world
You can also take part in the researches for finding a good OCR[^] technology to achieve this. May have to spend some years to read the text from image and then another couple of years to convert this text to your convenient language.
If you don't have that patience; better to change your design.
What is the time delay caused normally when you open a new web browser window , is that 20 seconds average ?
If both the answers are YES; there is no problem with ShellExecute.
Other wise, this should be because the ShellExecute broadcasts a message to already running windows to get an instance of the web browser (or Looking in ROT table[^] for an active object) and waiting for that application instance to respond to the new request. Any way I have now valid links to prove this hypothesis.
The problem happens with both FireFox and IE and 20 seconds is not the default startup time for the browser.
Is it possible to avoid looking in ROT or to avoid broadcasting messages ?
My goal is to open IE with a specific document... maybe it can be done with something easyest than ShellExecute with "open" parameter.
The document is very easy.. and if I manually open it... it takes 0 seconds to be opened.
Now we have found a relation with a functionality of a Data Acquisition board made by
If the thread that perform ShellExecute call has created a counter task for the data acquisition board the WebBroswer takes long time to be opened. If we don't create the
task, the WebBrowser is opened immediately.
We could suppose that National Instruments drives "do" something, maybe in ROT, that create