Page 1 of 1

PostPosted: Sun Aug 24, 2003 9:17 am
by matthias
Hello,
I'm trying to use the CaptureBmp() function but it captures only blank screen.
So here are two questions :
Does abybody deal with this function in a good way?
Is there any solution to capture the screen directly in memory?
thanks.

PostPosted: Sun Aug 24, 2003 11:00 am
by Mickle
CaptureBmp() seldom works correctly.
Sometimes creates wrong bmp file, sometimes results in crash of the program...
For capture of the screen you should write your function. Use [url="http://www.networkdynamics.net/PCForm.html"]PocketC CEAPI library[/url].

PostPosted: Sun Aug 24, 2003 12:22 pm
by matthias
thx for the (very quick) response.

PostPosted: Mon Aug 25, 2003 6:12 am
by joh.becker
I did use in my program and it worked fine.

Johannes

PostPosted: Mon Aug 25, 2003 9:07 am
by Mickle
It depends on another part of the program.
In some programs it always work fine.
In other programs always creates a file with wrong heading (such file can not be viewed).
I have three results:
- works fine
- creates a file with wrong heading
- crash of the program ("... illegal operation... and ... will be closed...")
.
Obviously I tried to replace CaptureBmp() to my function for exception of possible mistakes in other part of the program...

PostPosted: Mon Aug 25, 2003 9:30 am
by Mickle
[url="http://www.orbworks.com/forum2/viewtopic.php?t=965&SearchTerms=CaptureBmp"]Another possible problem.[/url]