Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 33
Member Avatar for azjherben

I had a program that ran fine with Winsock. But that only works on Windows. So I decided to switch to SDL_net. I thought I did okay, no syntax errors or anything when I compiled. But on run the program froze up. So I read about various SDL functions. When …

Member Avatar for nezachem
0
147
Member Avatar for HolstebroTS

Hello :) We are a group of 3 who has been given a task which we must develop our own little keylogger to monitor people such as employees in a company. Unfortunately, we encountered a small problem: We would like to hide the console, so you can not close it …

Member Avatar for HolstebroTS
0
68
Member Avatar for azjherben

Well, I believe the answer/problem is in these few lines: [code] SDL_Surface* thing; SDL_LockSurface(thing); put_pixel32(thing,2,2,SDLred); SDL_UnlockSurface(thing); apply_surface(0,0,thing,screen); SDL_Flip(screen); [/code] The locking/unlocking dosn't seem to do much, if I delete the lines the same thing happens, and if I check if it must lock before, the program still returns 3, etc.

Member Avatar for daviddoria
0
111
Member Avatar for azjherben

In C++ code, how would I customize an extension. I'm using C++ and my program outputs files, if/when I make an installer for it, I'd like to know how to make a program that can assoicate a file extension ex. ".iazj" with a name, icon, and program to open.

Member Avatar for Nathan Campos
0
110
Member Avatar for azjherben

I'm getting inoput from a binary file, in hex. And I want it to say the first nine characters... like "0x05 0x53,0x84 " ... and so on. So how do I turn a char in hex to a string in text?

Member Avatar for mrnutty
0
273
Member Avatar for azjherben

This is a Winsock select() server in C++ (I'm posting in this forum so of course) and I have two problems with it. (title) 1. My select olny returns above 0 when a connect request is recived, the rest of the time it returns -1. So I can olny recive …

Member Avatar for azjherben
0
164
Member Avatar for azjherben

I have been using just SDL for alot, but it really olny does 2d things well. So I started learning OpenGL from the tutorials at [url]http://anomtech.uuuq.com/[/url] I was fine using Dev-C++ until the textures tutoiral, where the program would immedently crash as soon as I compiled/started it. So the maker …

Member Avatar for Ancient Dragon
0
253
Member Avatar for azjherben

Shouldn't this code work? (select()) Well, this is basically a proxy. It takes things from a program that is running on port 15777 and the puts it out to host on port 15776, but sence I added the select() witch is needed. It hasn't been working right. Any help? [code] …

Member Avatar for azjherben
0
167
Member Avatar for azjherben

I have done alot of stuff with Winsock, but it's all with sockets that can olni process one at a time. Can anyone tell me how to make a non-blocking socket? [send and recive]

Member Avatar for Nick Evan
0
173
Member Avatar for azjherben

I'm getting an error where it says I'm trying to use a null pointer. Then when I click ignore another error saying I tried to read or write protected memory. Any idea how to fix? [code] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { using namespace System::Runtime::InteropServices; using namespace System; using …

Member Avatar for jencas
0
188
Member Avatar for azjherben
Member Avatar for Lerner
0
86
Member Avatar for azjherben

No errors when compiling and I can comment out most of the main function and it still frezzes. Remove the SDL parts and it won't freeze up but then again the SDL is most of the program. CODE: [code] //Main.cpp #include <SDL.h> #include <iostream> #include "Socket.h" #include <fstream> #include <string> …

Member Avatar for azjherben
0
106
Member Avatar for azjherben
Member Avatar for azjherben

I was told olny the computer / home that the "host program" was in needed to be port forwarded, but you need port forwarding just to use the client too. Base code for client program: [code] //Main.cpp #include <iostream> #include "Socket.h" #include <fstream> #include <string> using namespace std; string getcot(char …

Member Avatar for azjherben
0
100