Search found 3 matches

by Grillmeister
Sat Dec 13, 2008 3:54 pm
Forum: Tricks 'n' Tips
Topic: Textmode Emulation on a WindowedScreen
Replies: 30
Views: 13332

Sorry, one thing i forgot:

If i activate thread-safe executable under compiler options, i will get an IMA after lock/unlock the screen. I need thread-safe for my application.

If i deactivate thread-safe executable, i will not get an IMA after lock/unlock the screen, but then your code does not ...
by Grillmeister
Sat Dec 13, 2008 2:59 pm
Forum: Tricks 'n' Tips
Topic: Textmode Emulation on a WindowedScreen
Replies: 30
Views: 13332

Wow, thanks for the fast reply :)

By locking the screen i mean, i press Strg+Alt+Entf and then i lock the screen.
For example, i need to do this in my company when i will leave my office.

And yes, i get an IMA and not an "soiN" ;-)

I also tried to check the screen for active before displaying ...
by Grillmeister
Sat Dec 13, 2008 1:30 pm
Forum: Tricks 'n' Tips
Topic: Textmode Emulation on a WindowedScreen
Replies: 30
Views: 13332

Hello Kaeru Gaman,

thank you for the code, it`s great.
Only one little problem:

If i lock the screen while the code is running, i will get an "invalid memory access" after unlocking the screen.
I tested it with Purebasic 4.20, 4.30beta5 under XP and Vista.

Do you have any idea why ?

Regards ...