Type: Posts; User: Fides Facit Fortis
Search took 0.00 seconds.
September 21st, 2015, 04:25 AM
not sure how to check if it's "bug-free", but I've never had any problems with it.
Here's more info:
gcc (tdm-1) 4.7.1 (year 2012)
September 20th, 2015, 06:19 AM
September 18th, 2015, 07:17 AM
Well, I did it. I debugged the nickname part too because sometimes it takes away the first 1 or 2 characters from the nickname as well. Here's what I've got:
The nickname part:
September 18th, 2015, 04:31 AM
Sorry for not responding but I was away from home yesterday.
Following your advice I changed this part of code:
DWORD WINAPI ReceiverThread(LPVOID ClientSocketDeskryptor) //Thread used for...
September 16th, 2015, 08:13 AM
if you mean the only buffer I'm using
DWORD WINAPI ReceiverThread(LPVOID ClientSocketDeskryptor) //Thread used for handling server response
char message; //the only buffer in...
September 15th, 2015, 12:31 PM
Actually I am not even using char arrays, I'm using strings which I then pass to the send() function using string::c_str() which returns the C string version(which is a null-terminated char array)
September 15th, 2015, 09:59 AM
Pretty much. I placed a breakpoint in every single line and added every variable to the watch list. At the end shortly after sending the 1st message(nickname) the client crashes but only in debug...
September 15th, 2015, 07:58 AM
Heh, thank you but I already know what a Segmentation fault is. In fact I've been using this exact site before. The question is how do I fix it. I see no buffer overflows, null-ptr dereferences or...
September 15th, 2015, 07:40 AM
In case you wanted the entire source code:
using namespace std;
September 15th, 2015, 07:10 AM
Hello wise people!
Got a problem with my winsock client program. It looses parts of input. Here's the important (IMO) part of the code:
April 12th, 2014, 12:02 PM
Uhm sorry for the trouble, I've managed to find the solution myself.
April 12th, 2014, 08:42 AM
Here are some screenshots
In the form's designer
In the control's designer
April 12th, 2014, 08:10 AM
The project I'm currently working on REQUIRES me to create a UserControl. I won't explain why I have to use it, but believe me, I have a good reason to do so.
Anyway, I created one and...
March 31st, 2014, 03:39 AM
whoa thx a lot.Wondering why my book doesn't contain this information.It's so simple and usefull!
March 29th, 2014, 06:50 AM
I made controls in my form scale with the form's size upon load( so for example a button has 10% in form's width and 5% in form's height etc) so it should always fit into the form no matter what the...
March 26th, 2014, 03:12 PM
Well, I'm not very experienced in C++/CLI programming and I have no idea how to make scrollbars, so I tought that the easiest way to deal with the problem of resizing my form would be to make it...
March 23rd, 2014, 01:35 PM
So,as the title says, I need my form to be either constantly maximized or constantly having it's maximized size, but the first option is prefered. What I've been trying to do is:
1. I've set form...
March 17th, 2014, 11:52 AM
OK so I've moved my code from InitializeComponent to form's constructor,but that didn't change anything.
March 15th, 2014, 07:29 AM
I'm new to C++/CLI programming and i recently encountered a problem.It's propably so basic that I've failed to find it on the web...
March 7th, 2014, 12:05 PM
Thx,you are my Guru :thumb:
March 5th, 2014, 12:05 PM
You see, the problem is that the bar I'm trying to implement needs to have custom properties.I want it to have similiar functionality to overlap buttons in browsers. Each one is responsible for one...
March 4th, 2014, 03:16 PM
Wow,thx for a quick response.
Yeah, this is propably due to the fact that my book describes both .NET and WinApi programming so I sometimes get lost.
I'll check this out,thanks.
March 3rd, 2014, 04:20 PM
I'm new to winapi but I've read a book about it already. The problem is that my Visual Studio 2012 considers some of the stuff mentioned in my book as an error. For example:
Array^ arr =...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!