What would you recommend between winapi and GTK?
Type: Posts; User: Witchfinder
What would you recommend between winapi and GTK?
Hello,
I've done some programming at uni. This involved making an ftp brute force attack program which ran through a list of usernames/passwords to get into a ftp server. Also programming scsi mmc...
*Air 5.
ULONG64 Length_Bytes = (ULONG64) wordSwap(recveiveCapacity.LBA) * wordSwap(recveiveCapacity.Blocks);
printf("\nLenth Bytes = %u", Length_Bytes);
and
Morning,
I have two ulong values blocks and LBA.
typedef struct _CAPACITY {
ULONG LBA ;
ULONG Blocks ;
} CAPACITY, *PCAPACITY;
Sorted it. The functions going to output data through a GUI.
Thanks again.
Unfortunately it doesn't work. Thanks tho.
I can print VolumeIdentifier so it must be within the scope of the program. I could use strncmp but I still need to go to certain positions within the...
Hello,
I am trying to search a UCHAR array for the word DVD.
UCHAR VolumeIdentifier[32];
calc(*VolumeIdentifier);
Thanks for the help. I wrote the code wrong in my post though.
I've cut a lot of the code out to simplify things, but what happens is:
Structure data read into contains:
UCHAR...
Hello,
As part of some code I'm writing I have to find whether a UCHAR pub[23] contains any characters, or is empty.
UCHAR empty = "";
strcmp(pub, empty);
{
Forgot to say its just for windows xp. It seems to return data correctly otherwise text like "Jaws" or "Deluxe Digital Studio" wouldn't display. If I change one of the data types from its correct big...
I don't think there is an "uint16" data type. Windows Data Types (Windows)
I ecma spec says:
16-bit unsigned numerical values
A Uint16 value, represented by the hexadecimal representation #wxyz,...
Hello,
Is it correct to use uchar for uint8 values as they are both unsigned, and 8 bit?
Instead of getting 2005 I'm getting 8224. Thats using &u. I don't think any byte ordering is required. ...
Got it working.
Hello,
I am having a spot of bother implementing the read disc structure command. I have already got the scsi inquiry command returning drive info. The error comes from transferring data from the...
Hello,
I'm trying to write some code which uses a handle to access a rom drive on windows xp. The code below produces this output, "Error opening drive\.E:"
The codes not correctly accessing...
Cheers, she works. Been used to programming on linux where you can compile with -c.
Hello,
cygwin has decided to not compile any code for example:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
http://www2.its.strath.ac.uk/courses/c/
Edit:
I changed the cpp.properties to
ccopts=-pedantic -Os
c=C:\cygwin\bin\g++ $(ccopts) -c $(FileNameExt) -o $(FileName).o
cc=g++ $(ccopts) -c $(FileNameExt) -o $(FileName).o
ccc=gcc...
Could try putting printf("debug(Number)"); in each loop to see which ones causing it.
Hello,
Been trying to figure this out for an hour now. How do you get SciTE to work with cygwin. I have installed scite into the programs folder. cygwin is in windows root directory.
Just it...
That cleared it up quite well. I've been looking into this further and I think if figured out how the whole process works bar one thing. If I send MMC commands which are defined as SCSI interface,...
Hello,
I'm currently designed a program I have to write for my university dissertation. I'm considering having a GUI for the program. The program deals with detecting discs and retriving...
Hello,
Thanks for any help in advance. I'm trying to get the following client/server protocol to work however I'm a little stuck. The program is meant to tell a bus stop (server) the time the next...