R
royzeb
Hi, I've got a simple vc++ program that basically just runs a daemon in
the background and sends update messages to a logfile as it goes along.
What I'd like to do is see these log messages also displayed in a
window - either a dos window or a 'proper' window with a text field
etc...
I can easily create a window with a text field, but I can't find any
way to attach it to my project so I can write to it from there (I'm
looking to just 'add' it to my project somehow so I can then say
mywindow.mytextfield.text = "and another thing ...\n"; or something
like that).
Alternativley I'd be happy with a dos window popping up that displays
the messages, but using cout << "and another thing ..." << endl;
doesn't make a dos window appear.
Any ideas on how to make either of these solutions work would be very
welcome - 2 vc++ developers have failed to get this working for me, so
I'll be most impressed if you manage it!!
the background and sends update messages to a logfile as it goes along.
What I'd like to do is see these log messages also displayed in a
window - either a dos window or a 'proper' window with a text field
etc...
I can easily create a window with a text field, but I can't find any
way to attach it to my project so I can write to it from there (I'm
looking to just 'add' it to my project somehow so I can then say
mywindow.mytextfield.text = "and another thing ...\n"; or something
like that).
Alternativley I'd be happy with a dos window popping up that displays
the messages, but using cout << "and another thing ..." << endl;
doesn't make a dos window appear.
Any ideas on how to make either of these solutions work would be very
welcome - 2 vc++ developers have failed to get this working for me, so
I'll be most impressed if you manage it!!