but i am not using directdraw, it is d3d9 i am using here.
Type: Posts; User: Hermisky
but i am not using directdraw, it is d3d9 i am using here.
and? you got solution ?
no, it didn't work out yet.... the ugly pink (or opaque black if i use 0xffff00ff) is still on my screen, it's killing me~
missing you, DirectDraw~~
it dosen't work, and why do you suggest 0xff00ff00 ? i don't understand~~
the funny thing is , if i set the colorkey to 0xffff00ff, all my pink color turned to be black. It totally confused me,...
thanks for reply, dwks.
but i never mean RGBA, the value i used "0x00ff00ff" means ARGB(0,255,0,255), transparent pink.
I am using directx9 to do a little 2d program.
Much like the way in direct draw, i use "CreateOffscreenPlainSurface()" to create an offsceen surface, then call "D3DXLoadSurfaceFromFile()" to load...
problem solved. the DrawDib functions is capable to paint yuv bitmap.
it's great, i will send you a mail right away.:D
Thanks, kryptkat. this site contains lots of useful information.
i use 'video for windows' to capture videostream from camera in i420 format. i set the callback function on videostream, so i can get each frame in memory.
the problem is i cannot figure out how...
thanks, Dave_Sinkula.
the code from CuteCom is really helpful.
I have never do serial port development on freeBSD before. it is hard to find code/info about this on net() and the code write on Linux cannot works correctly on freeBSD. :(
Can anyone show me a...
You are doing assignment on pointers, not on strings.
and here is the exe file.
change the file type to exe.
There are the three files in my program ,winman.cpp ,resource.h and resource.rc
My compiler is CBuilderX 1.0
The resource.rc file is this
...
I am working on a program that is supposed to get the result from a script(based on PL/0).
For example:
if the script below is enterd into my program
program main;
var id1,id2,id3;
begin...