Search:

Type: Posts; User: Ducky

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. The program is working fine, it's just that the...

    The program is working fine, it's just that the resource file will be a 16-bit program once it's created.


    I prefer CodeBlocks as editor for just a simple test program.

    I created a project in...
  2. No, no, I was just putting it simple. Of course...

    No, no, I was just putting it simple. Of course after rc.exe I compiled it with command: cl.exe program.cpp resource.res, and it compiled successfully.
  3. 32-bit binary resource saved as a 16-bit program

    I compiled calc.exe 32-bit with with the resource compiler rc.exe in command line, on Windows 10 with VS 2017.

    When I try to execute it, after loading the resource and writing it to a file, I get...
  4. Thread: AnsiNext

    by Ducky
    Replies
    4
    Views
    599

    Thank you Sir, clear explanation, helped a lot!

    Thank you Sir, clear explanation, helped a lot!
  5. Thread: AnsiNext

    by Ducky
    Replies
    4
    Views
    599

    Thanks, it's working with pText++ and CharNext...

    Thanks, it's working with pText++ and CharNext too. :)
  6. Thread: AnsiNext

    by Ducky
    Replies
    4
    Views
    599

    AnsiNext

    I'm trying to replace the AnsiNext function, which is obsolete, by incrementing the pointer in a Charles Petzold program.
    But it keeps crashing on the pointer incrementation: .

    What could be the...
  7. Replies
    4
    Views
    467

    I know but it's much too cumbersome and you...

    I know but it's much too cumbersome and you cannot compile just one file you have to create a project for it.
  8. Replies
    4
    Views
    467

    IDE that works with Visual Studio 2017

    Is there any IDE that works with Visual Studio 2017 and allows to compile an individual file without creating a project?

    Apparently Code Blocks isn't working anymore with VS 2017.
  9. Replies
    2
    Views
    1,408

    Windows 10 and Visual Studio 14.0. Thanks for...

    Windows 10 and Visual Studio 14.0.

    Thanks for the response, I tried now myself with a Win 7 64 bit and I can select both. Strange.
  10. Replies
    2
    Views
    1,408

    ListView single select not working

    I added LVS_SINGLESEL to the windows styles but still I can select multiple rows.

    What am I doing wrong?



    #include <windows.h>
    #include <commctrl.h>
    #include <stdio.h>
    #pragma...
  11. Replies
    4
    Views
    390

    Thank you, this is the solution. Happy new year,...

    Thank you, this is the solution. Happy new year, soon... :wink:
  12. Replies
    4
    Views
    390

    Yes but as I stated and dont want to tokenize...

    Yes but as I stated and dont want to tokenize the whole sentence, I want to keep "fox jumps over the lazy dog" together.
  13. Replies
    4
    Views
    390

    Tokenizing string

    How would you cut this line in 4 parts?

    "The quick brown fox jumps over the lazy dog"

    Like this:

    The
    quick
    brown
    fox jumps over the lazy dog
  14. Replies
    0
    Views
    1,099

    How to use the WTSFreeMemoryEx function?

    WTS_TYPE_CLASS enumeration the first parameter of the WTSFreeMemoryEx function has an enum type definition.


    typedef enum {
    WTSTypeProcessInfoLevel0,
    WTSTypeProcessInfoLevel1,
    ...
  15. Replies
    2
    Views
    477

    Ah, of course, I should use a vector I guess....

    Ah, of course, I should use a vector I guess. Thank you.
  16. Replies
    2
    Views
    477

    Xoring text with binary file

    Hi,

    Why can't we xor text with binary file?

    When I xor it back half of them are not the same, garbage characters.



    #include<fstream>
    #include<iostream>
  17. Replies
    11
    Views
    1,438

    Just like Laserlight showed me: ...

    Just like Laserlight showed me:



    vector<DATA> ks1(200);
  18. Replies
    11
    Views
    1,438

    Its a large C program that I transformed into...

    Its a large C program that I transformed into c++. :)

    Replaced mallocs with vectors.
  19. Replies
    11
    Views
    1,438

    Awesome, now its working! :) Thanks Laserlight...

    Awesome, now its working! :)

    Thanks Laserlight and Elysia for the detailed explanations!
  20. Replies
    11
    Views
    1,438

    So how do you initialize a union inside a struct...

    So how do you initialize a union inside a struct because this one wont compile for me.
    I get "error C2143: syntax error: missing ';' before '{'"



    typedef struct DES_ks
    {
    union
    {
    ...
  21. Replies
    11
    Views
    1,438

    Thanks! So the 30 goes for the union array...

    Thanks!
    So the 30 goes for the union array ks[16]; ?
  22. Replies
    11
    Views
    1,438

    Initialize struct vector

    Hi,

    How to set the size of a struct vector?

    I got until this:



    typedef struct DES_ks
    {
  23. Replies
    5
    Views
    1,590

    Thanks Greaper, Ill look into this! :)

    Thanks Greaper, Ill look into this! :)
  24. Replies
    5
    Views
    1,590

    Reading memory of current process

    I would like to read the memory of a current process.

    But since the "Memory - Private Working Set" (value in task manager) is always changing how to know the size of memory to scan?
  25. Replies
    3
    Views
    455

    Ah, OK, thanks for the explanation! :)

    Ah, OK, thanks for the explanation! :)
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4