You should avoid using CreateThread in DLL_PROCESS_ATTACH. This might cause a Deadlock.
I think I misunderstood your question
You want a console to print some messages? Then you just have to redirect the output ;-)
This creates a console. The Parent will be the target application. closing the application is the same as closing the console. you won't be able to deject the DLL
[C#] Console-Application crasht bei SetConsoleCtrlHandler und Console.ReadLine() 05/11/2015 - .NET Languages - 4 Replies Servus!
Ich habe derzeit ein komisches Problem:
Ich schreibe eine Konsolenanwendung und möchte, bevor die Konsole geschlossen wird, den Speicher aufräumen (manuelles GC).
private delegate bool ConsoleEventDelegate(int eventType);
private static extern bool SetConsoleCtrlHandler(ConsoleEventDelegate callback, bool add);
Can anyone help me to make a calendar planner in c# console. Please. 12/27/2014 - .NET Languages - 3 Replies Guys i need a program in c# for our project and i dont know how to do it. My professor said make a calendar planner that when you click the date you can input an event and save it to that date please someone who is kind please help me because if i failed to pass it i will fail again please guys. it would be a big help for me.
[C++ HELP] Console Trainer 04/24/2011 - C/C++ - 3 Replies Hi guys,
I need help for console trainer. When I open the process to inject the trainer, it hides but doesn't change the values. If I suspend the process and I open the trainer, change the value, but If I don't suspend the process doesn't change the values...
This is the code, thank's for your help anybody answer...
#include <Windows.h>
#include <stdio.h>
#include <cstdlib>
#include <iostream>
#include <tlhelp32.h>