That helped....thanks everyone:)
Type: Posts; User: XX@nnX
That helped....thanks everyone:)
i included all the files and still nothing.....about the constructor..... how do I do that?
Can anyone tell me what's wrong with this code?
*class.h*
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string.h>
This is a forum on windows so I guess I can post it here...
I have an app that works in ring0 that I want to debug. I figured I'd use windbg to do the job.
I read about how to set up a virtual...
That did it, thanks :D
I've been trying to use run-time dynamig linking to import some apis. But GetProcAddress() can't find them.
Everything seems to be in order, but still doesn't work.
I'm using Visual Studio 2005....
It turns out dwBufferLenght in GetFullPathName() was initialiazed to 0 and I didn't change it.
Thanks for the help everyone :D
Thanks :), I did like you suggested and it worked, FindFirstFile() returns a valid handle, but when it printf the filename for some reason it printf only the first character.
Also when I use...
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#define _WIN32_WINNT 0x0501
int main(int argc, char *argv[]) <========== CHANGE
{
WIN32_FIND_DATA FindFileData;
Can someone tell me what's wrong with his code?
This is a direct modification of the sample code from msdn. It's a simple directory listing.
I'm using Visual Studio 2005
#include...
Woooo.. no need to get emotional here. I didn't say I'm a C expert
Thanks for the reply anyway.
I don't mean to sound offensive in two posts you didn't help with any useful information.
I'm talking about sockets, and how to work with them in a muti-threaded enviroment. Doing an accept()...
The present state was achieved, by trying to get around the blocking issue in windows (this led from the use of the socket from a local variable to a global array). This is my first program in...
I can understand how it can be boring to read all those lines of code, so I'll just stick to the basics.
My question is, How to create a multi-threaded listener? It shoul go like this: start a...
Hi everyone
I've been working on a multi-threaded listener for two weeks now. I've encountered many problem, mainly because I didn't understand thread-enviroment, and windows socket, but I solved...