Search:

Type: Posts; User: Witchfinder

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,182

    What would you recommend between winapi and GTK?

    What would you recommend between winapi and GTK?
  2. Replies
    3
    Views
    1,182

    What to do next

    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...
  3. Replies
    4
    Views
    2,132

    *Air 5.

    *Air 5.
  4. Replies
    4
    Views
    2,132

    ULONG64 Length_Bytes = (ULONG64)...

    ULONG64 Length_Bytes = (ULONG64) wordSwap(recveiveCapacity.LBA) * wordSwap(recveiveCapacity.Blocks);
    printf("\nLenth Bytes = %u", Length_Bytes);





    and
  5. Replies
    4
    Views
    2,132

    Multiplying two ULONG values?

    Morning,

    I have two ulong values blocks and LBA.


    typedef struct _CAPACITY {
    ULONG LBA ;
    ULONG Blocks ;

    } CAPACITY, *PCAPACITY;
  6. Replies
    7
    Views
    2,372

    Sorted it. The functions going to output data...

    Sorted it. The functions going to output data through a GUI.

    Thanks again.
  7. Replies
    7
    Views
    2,372

    Unfortunately it doesn't work. Thanks tho. I...

    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...
  8. Replies
    7
    Views
    2,372

    UCHAR array question

    Hello,

    I am trying to search a UCHAR array for the word DVD.



    UCHAR VolumeIdentifier[32];

    calc(*VolumeIdentifier);
  9. Replies
    4
    Views
    1,564

    Thanks for the help. I wrote the code wrong in my...

    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...
  10. Replies
    4
    Views
    1,564

    Finding whether UCHAR is empty?

    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);
    {
  11. Replies
    7
    Views
    7,763

    Forgot to say its just for windows xp. It seems...

    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...
  12. Replies
    7
    Views
    7,763

    I don't think there is an "uint16" data type....

    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,...
  13. Replies
    7
    Views
    7,763

    Using uchar for uint8?

    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. ...
  14. Replies
    0
    Views
    818

    dstring question

    Got it working.
  15. Replies
    0
    Views
    8,218

    SCSI read disc structure C++ help

    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...
  16. Using IRP_MJ_CREATE (handle/createFile/access rom drive)

    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...
  17. Replies
    3
    Views
    1,121

    Cheers, she works. Been used to programming on...

    Cheers, she works. Been used to programming on linux where you can compile with -c.
  18. Replies
    3
    Views
    1,121

    Cygwin not compilling correctly

    Hello,

    cygwin has decided to not compile any code for example:




    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
  19. Replies
    3
    Views
    1,334

    http://www2.its.strath.ac.uk/courses/c/

    http://www2.its.strath.ac.uk/courses/c/
  20. Replies
    1
    Views
    3,672

    Edit: I changed the cpp.properties to ...

    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...
  21. Replies
    3
    Views
    2,660

    Could try putting printf("debug(Number)"); in...

    Could try putting printf("debug(Number)"); in each loop to see which ones causing it.
  22. Replies
    1
    Views
    3,672

    Setting SciTE to work with cygwin

    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...
  23. Replies
    10
    Views
    1,925

    That cleared it up quite well. I've been looking...

    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,...
  24. Thread: GUI and C

    by Witchfinder
    Replies
    1
    Views
    1,231

    GUI and C

    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...
  25. Replies
    1
    Views
    3,420

    Client / Server protocol

    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...
Results 1 to 25 of 27
Page 1 of 2 1 2