Knowing when a web page has been opened or close
Is there any way to know for sure when a web page (let say www.test.com) has been opened, and when this page has been closed ? I need this feature for a VC++/MFC project.
View ArticleException when the second list element size =1
Hi, I have the following piece of function. Under the node, there are sul and tdd cells. I try to move them to another node, with two lists, one with sul cells and another with tdd cells. Now based on...
View ArticleRead file with chinese characters
Hi everyone, I'm trying to read a .txt file with Chinese characters. The file is currently saved with MicroSoft Notepad in UTF-16 LE format. Is there some way of reading this file to obtain a wchar_t *...
View ArticleSsh & sftp
Hi, I was initialize SSH like below & its working Code: #include <iostream> #include <string> #include <WS2tcpip.h> #pragma comment(lib, "ws2_32.lib") using namespace std; WSAData...
View Article[RESOLVED] Ssh & sftp
Hi, I was initialize SSH like below & its working Code: #include <iostream> #include <string> #include <WS2tcpip.h> #pragma comment(lib, "ws2_32.lib") using namespace std; WSAData...
View Articlelogarithmic operation
Hi, I have the following function: Code: double nanoSecDbToMicroSec(unsigned char nsDb) { return (pow(10.0, 0.1 * nsDb) )* 0.001; } when the input is : 200 The output is : -2049400832...
View ArticleWhy doesn't this code compile?
Not my code and I haven't used templates much. These two lines template <class U> static yes_type test(U&, decltype(U(source<U>()))* = 0); give the error Error C2760 syntax error:...
View ArticleSetting Font of Buttons in CDialog through .rc file
I have the following code in .rc file Code: FONT 12, "MS Shell Dlg" This code successfully sets the font of text inside the dialog(CDialog) to specifed face type but the font of text of buttons does...
View ArticleNamespace problem with older version of MSVC
I have a project here which still needs to build with VS2008 and I've discovered a problem with std::min() and std::max() Code: #include <algorithm> int n = std::min(2, 1); The compiler gives...
View Article[RESOLVED] Namespace problem with older version of MSVC
I have a project here which still needs to build with VS2008 and I've discovered a problem with std::min() and std::max() Code: #include <algorithm> int n = std::min(2, 1); The compiler gives...
View Articledebug in release mode
Hello, I have a multiple solutions (around 8 solutions ) and each of them have multiple projects. I am using the incredibuild and built all the solutions in the Release mode. Now when i try to attach...
View ArticleHow to support TLS FTP Session Resumption
I am writing FTP client. I am using InitializeSecurityContext for tls1.2 authentication with the FTP server. I am trying to connect to FileZilla server. Control connection handshake going good. As for...
View ArticleCompression error
Hello, I am trying to debug the legacy code. The code compresses the file (with different sections) during some operation. And later tries to decompress the same. Now when new sections are added as...
View ArticleUnwanted Toolbar Button
This one's driving me nuts. I now have an unwanted, disabled button on my program's toolbar that has an image that appears to be a ghost (disabled copy) of the first button's icon. The toolbar behaves...
View Articlehelp, to add greek language support in c++ program
Hello.I have a program in C++,and test words from wordlist ,to a word game.The program work perfectly,with english words.I want to make it to work with greek words,with a mine greek wordlist.What must...
View Article[RESOLVED] Unwanted Toolbar Button
This one's driving me nuts. I now have an unwanted, disabled button on my program's toolbar that has an image that appears to be a ghost (disabled copy) of the first button's icon. The toolbar behaves...
View Article[RESOLVED] Ssh & sftp
Hi, I was initialize SSH like below & its working Code: #include <iostream> #include <string> #include <WS2tcpip.h> #pragma comment(lib, "ws2_32.lib") using namespace std; WSAData...
View Articlelogarithmic operation
Hi, I have the following function: Code: double nanoSecDbToMicroSec(unsigned char nsDb) { return (pow(10.0, 0.1 * nsDb) )* 0.001; } when the input is : 200 The output is : -2049400832...
View ArticleWhy doesn't this code compile?
Not my code and I haven't used templates much. These two lines template <class U> static yes_type test(U&, decltype(U(source<U>()))* = 0); give the error Error C2760 syntax error:...
View ArticleSetting Font of Buttons in CDialog through .rc file
I have the following code in .rc file Code: FONT 12, "MS Shell Dlg" This code successfully sets the font of text inside the dialog(CDialog) to specifed face type but the font of text of buttons does...
View Article