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...
Type: Posts; User: Ducky
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...
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.
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...
Thank you Sir, clear explanation, helped a lot!
Thanks, it's working with pText++ and CharNext too. :)
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...
I know but it's much too cumbersome and you cannot compile just one file you have to create a project for it.
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.
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.
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...
Thank you, this is the solution. Happy new year, soon... :wink:
Yes but as I stated and dont want to tokenize the whole sentence, I want to keep "fox jumps over the lazy dog" together.
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
WTS_TYPE_CLASS enumeration the first parameter of the WTSFreeMemoryEx function has an enum type definition.
typedef enum {
WTSTypeProcessInfoLevel0,
WTSTypeProcessInfoLevel1,
...
Ah, of course, I should use a vector I guess. Thank you.
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>
Just like Laserlight showed me:
vector<DATA> ks1(200);
Its a large C program that I transformed into c++. :)
Replaced mallocs with vectors.
Awesome, now its working! :)
Thanks Laserlight and Elysia for the detailed explanations!
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
{
...
Thanks!
So the 30 goes for the union array ks[16]; ?
Hi,
How to set the size of a struct vector?
I got until this:
typedef struct DES_ks
{
Thanks Greaper, Ill look into this! :)
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?
Ah, OK, thanks for the explanation! :)