- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 9
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hello everyone! I have a server/client application running in 4 internet cafes, and i have a packet duplication problem in one of them. I have thoroughly examined my code and tested it in my lab and cannot find any bugs whatsoever. So on rare conditions some of the clients seems … | |
Re: The more i C the less i see! :D Cool stuff... thanks! | |
Hello everyone. I would like to know if there is a factory default configuration for the WD My book world NAS. I am helping a friend that has one of those in their office and the web interface states that the capacity is 1TB but nowhere in the gui did … | |
Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future … | |
Just wanted to inform you that an advertisment i clicked on, leads to a non working link. Seems that the forwarded link is missing the semicolon (:) after http. I click on ads once a year maybe so i had to report it... :D This is the url behind the … | |
Hello everyone! Is it possible to write a query which does the following : UPDATE db.table SET col1 = 1 WHERE col2='something' AND col3 IN ('a','b','c') ELSE SET col1 = 0 Meaning that the rows that don't match the where conditions will also be updated to another value. Note that … | |
Hello everyone! I would like your help regarding this: I have a tuple vector which i must iterate through, and accessing the vector data to decide wether to erase or not the current vector element. My code : typedef tuple <int, CString, int, int> pc_data; vector <pc_data> pc_vec; //Assume that … | |
Hi everyone. I would like to implement a counter using ajax that will act like this: The script will send a XMLHttpRequest every x seconds which will return a value from a mysql database. Using the current and previous value retrieved from the server, the script will increase the counter, … | |
Hello everyone, I would like to use HP's system recovery (F11 on boot menu, not the windows application) to revert my laptop to its factory state. The thing is that i have created a disk partition to keep my data which wasn't present by default. Will the recovery delete my … | |
Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able … | |
Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int … | |
Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large … | |
Hi everyone. I am trying to help a friend with her macbook which faces a mysterious problem. The macbook cannot access certain sites like facebook and pinterest when my friend uses her home wifi connection. The problem appears both on safari and chrome. When she came to my home using … | |
Re: This is a very good tutorial for mfc dialog based application beginers http://www.codeproject.com/Articles/589/A-Beginners-Guide-to-Dialog-Based-Applications-Par It's a 15 minute read and once you complete it i am sure you will be able to create a dialog with a button that executes some code. Also how to parse input from textboxes. You could … | |
Re: C++ code seems ok, tested it my self and works without any exceptions. Of course my client is : http://www.drk.com.ar/builder.php (you can download and check it with this one also) Don't know about java, but you should ensure that your server's ip address is the one you typed and there … | |
Re: I am not sure if this will help but take a look at this function as well: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385449(v=vs.85).aspx Also if you are willing to sacrifice a little bit of modularity you could store all names in an array and remove the names which you are sure that are not neccessary. … | |
Re: I have no idea of OpenGL but i think you should consider that adding an external monitor changes the hardware capabilities of your platform, thus changing the way that OpenGl "accesses" it. Which might mean that either your OpenGl initialization is incorrect, or your hardware is not capable of handling … | |
Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. … | |
Re: You can use the following functions : 1. **strtok** to parse strings seperated by a token (';' in your case). 2. **strcmp** to compare if two strings are the same. In a while loop you can use strtok to get each of your records' data and use a counter variable … | |
Re: I think it works like this. They software is in fact a virtual desktop multi screen application http://en.wikipedia.org/wiki/Virtual_desktop#Windows combined with a screen sharing application http://en.wikipedia.org/wiki/Desktop_sharing The server side of the application captures the non-primary virtual desktops and sends a network stream to the clients, which are of course the other … | |
Re: I don't have Borland installed but this might help you : http://www.cplusplus.com/forum/beginner/3485/ | |
Hi everyone, i would like some help with a couple of mysql queries. I have a table of data which looks like this : ![grid1](/attachments/large/2/grid1.PNG "grid1") And represents a transaction log for players of a game. The ID is the primary key (auto incremented). DATETIME is the date and time … | |
Hello i'd like to ask a quick one. -Mfc VC++ 6 application. -NO Unicode support by design. -Greek characters appear fine in all dialogs since OS is Windows Greek version (?) -Greek text is both hard coded in c++ source files and retrieved from mysql database. -ONE specific Edit Box … | |
Re: How do you know your threads are done computing before your main function starts printing their values? You have to implement some kind of signaling between the threads and the main function. Perhaps use a global volatile BOOL variable e.g. ThreadIsDone; set it FALSE when the thread starts and TRUE … | |
Hello everyone! I have a rather mysterious problem. I have a mfc dialog based application (running on win xp sp3), and at the same time another mfc app that installs a global keyboard hook capturing the ESC key (this one is always hidden). SOMETIMES when i press ESC key (with … | |
Hello everyone. As the title suggests i need to implement a type of timer based function inside a UI Thread in MFC. Although CWinThread is a UI Thread and has a message pump it does not have a Timer function as CWnd::OnTimer Is there any way i can implement a … | |
Hello everyone! I am building a mfc dialog based application in visual c++ 6 and using mysql c api to connect to a database. What i need is a simple type of data grid to show mysql query results in a dialog. I do not need to edit, update, save … | |
Re: All your function declarations have the file path variable as a char argument. for example : double slopec (double dinner, double douter, **char inputfilename**) But the char variable holds only one character. and you declare inputfilename as: char inputfilename[50]; which is a 50 character array. So first of all read … | |
Re: Have you tried to open NameOfProject.rc file with a text editor to see its contents? If no, this file usually reside to the NameOfProject\res\ directory. Open it with notepad and search for IDR_MAINFRAME declaration. There should be a line something like : IDR_MAINFRAME ICON DISCARDABLE "res\\NameOfProject.ico" Also in the costructor … | |
Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, … |