Author Topic: Windows desktop application with a console child  (Read 2818 times)

guga

  • Member
  • *****
  • Posts: 1346
  • Assembly is a state of art.
    • RosAsm
Re: Windows desktop application with a console child
« Reply #15 on: March 13, 2019, 05:48:41 AM »
Hi Aw

Nice test app :t :t :t

Did´t tested the code below, but maybe this can be useful for your needs.

https://support.microsoft.com/en-au/help/190351/how-to-spawn-console-processes-with-redirected-standard-handles
Coding in Assembly requires a mix of:
80% of brain, passion, intuition, creativity
10% of programming skills
10% of alcoholic levels in your blood.

My Code Sites:
http://rosasm.freeforums.org
http://winasm.tripod.com

AW

  • Member
  • *****
  • Posts: 2583
  • Let's Make ASM Great Again!
Re: Windows desktop application with a console child
« Reply #16 on: March 13, 2019, 06:05:35 AM »
so for my example GetKeyState is correct,
In the 2nd example, it works 1st time you click, will not work the second time you click. In the 1st example it works.

daydreamer

  • Member
  • *****
  • Posts: 1391
  • building nextdoor
Re: Windows desktop application with a console child
« Reply #17 on: March 17, 2019, 01:00:14 AM »
shouldnt it be possibe to use winapi Textarea and fake a console with the right colors and font?

but the next challenge maybe should be to make something that still runs fast despite you extremely underclock it inside a emulator that is turned down so the code runs at less than 10mhz,maybe also be forbidden to use any cpu directive

this becomes my 686th post :biggrin:
Quote from Flashdance
Nick  :  When you give up your dream, you die
*wears a flameproof asbestos suit*
Gone serverside programming p:  :D
I love assembly,because its legal to write
princess:lea eax,luke
:)