Hi. I have to create a genealogy list reading a file with the following input:
10/10/1983,Tom,Mark,Julia
...
...
11/02/1993,Tim,Sam,Jenny
I have X strings in the file, every string contains...
Type: Posts; User: BianConiglio
Hi. I have to create a genealogy list reading a file with the following input:
10/10/1983,Tom,Mark,Julia
...
...
11/02/1993,Tim,Sam,Jenny
I have X strings in the file, every string contains...
thanx
Hi, a quick question.. what's the fastest way to retrieve the home dir under windows?
thanx
perfect, it works :)
ps: I'm not looking for an A record into an MX lookup in the additional info.. I'm getting the MX hostname from a domain and sending another dns packet containing an A request...
Thanx for ur code ;)
I'm also trying to use an A query to retrieve the IP from the MX responce:
// A
DNS_RECORD* pRecordList2 = NULL;
DNS_RECORD* pRecord2 = NULL;
...
oh great, I was missing the initialization step... now it works but I'm unable to retrieve the IP because host->h_name will give me the hostname... how can i retrieve it?
I'm confused about the...
I'm calling gethostbyname() giving as parameter an MX record but it is allways NULL...
The code below, given a mail, checks the MX record of that provider and tryes to retrieve the IP address......
thanx a lot
Hi ;) I'm using DnsQuery_A
DnsQuery_A("hotmail.com"
DNS_TYPE_MX,
DNS_QUERY_STANDARD,
NULL,
&pRecordList,
NULL);
it is a MAIL EXCHANGE lookup request
I've corrected some bugs in my code and it quite works..
Once I call the function, the file is opened in read mode.. if nothign can be read, I close it, open it again in append mode and write the...
This is a small function that takes a string (a name, an address or a mail) like "Mark" and writes this string in a file IFF there isn't a previous entry for "Mark". I want to write an entry a row.
...
thanx :p
char* winPath[MAX_PATH];
GetWindowsDirectory(winPath, MAX_PATH);
printf("%s\n", winPath);
from...
oh great, thanx
Hi, here there is the description:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp
and in particular:
Returns a...
thanx everyone I've put the printf into the :
if ( NULL != hProcess )
the strange thing is that I have to filter the first result, infact if I don't initialize
char...
and if I initialize szProcessName to "test", the first 2 processes will be "test"...strange!!
he no! because with the task manager and other tools I see just ONE instance.. and the also the first 2 "calc.exe" have 0 as pid, it is an error, but where?
Hi, I have this function that iterates through all the process and prints them:
int ProcessJudger (void){
// enumerazione processi
char szProcessName[MAX_PATH];
DWORD...
ahhhhhh got it!
I'll try thanx :)
see u later for the next bug :D
Hello guys :)
This is a packet that I have to send to another application..
#define M_PKT_SIZE 1400 // max dimension of a packet
// a packet has a size and a data
typedef struct aPacket...
or just create an exe that will copy that file and call some reg API :)
It's HORRIBLE to see some C source into a word file!!!
It should be illegal !!!! :D
I don't have time to check ur code, sorry!!! I'm tired! but I'm sure that my code for matrix multiplication...
great, let me try