|
How CreateDIBSection To Work For
Picture Screen On Desktop.
|
|
|
|
|
CreateDIBSection works when you call the API. If you want the desktop in a DIBSEction, you need to capture it, and copy it on to a DIBSection. That's fine, the desktop will always be a DDB, anyhow.
You've also asked this in the managed C++ forum, CreateDIBSEction is not a C++/CLI API, so this belongs in the Visual C++ forum.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
now,I want to learn C++/CLI, somebody would introduce a e-book for me?
(I have lern C++ before)
Thanks
|
|
|
|
|
|
|
Thanks ,and would you like to introduce a book about it to me?
|
|
|
|
|
When Nishes book is published, it will be your best bet. I say wait for it, and use web based resources in the meantime.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
How To Get All of Desktop Pixel And Copy to one variable
!=Hight Speed
|
|
|
|
|
You don't care if it's slow, is that what != High Speed means ?
Perhaps you should just search the articles, I know there's at least one on desktop capture. And in future, ask your C++ questions in the C++ forum, this is MANAGED C++.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
how i start managed C++
|
|
|
|
|
I'd say you need to know C++ first, then you buy a book, such as the excellent one that Nish will be publishing soon.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Sir,
Can u please suggest me any link that teaches how to make a web application in vc++.net.
Thanks
-- modified at 12:21 Monday 25th September, 2006
|
|
|
|
|
sir
i wanna pass an array to a fn by refrence.. The array should be allocated dynamically.. how can i it..
Can any one help me.. reply will be highly appreciated.
pls send me prototype of fn, calling fn etc. with simple eg
Thanx in advance..
shamnar
|
|
|
|
|
You're wanting to pass a managed array ? I thought that array being a class, it would have been by reference by default. Or did you mean the C++ forum ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Do u know something about link list?
|
|
|
|
|
Are you talking about a managed array? Managed arrays are a reference type so it would pass in a reference to that array.
static int Sqrt(int x) { if (x<0) throw new ArgumentOutOfRangeException(); int temp, y=0, b=0x8000, bshft=15, v=x; do { if (v>=(temp=(y<<1)+b<<bshft--)) {="" y+="b;" v-="temp;" }="" while="" ((b="">>=1)>0); return y;
|
|
|
|
|
Hi all.
I'd search in the board how an can get text that is at the coordinate x,y (I have a flexgrid on external program and want to get the text of some row/column by its x,y coordinates.
I didn't found nothing. Can someone help me?
Please, help me.
Thx in advance.
Best Regards,
Marco Alves.
|
|
|
|
|
Marco2250 wrote: I didn't found nothing
I assume you mean you DID find nothing ?
This is the managed C++ forum, were you looking for a managed C++ solution, or just a C++ one ?
Either way, I've seen lots of people ask this question. I'm yet to see a full solution. If the text is in a window, then WindowFromPoint and GetWindowText are the things most likely to work.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi guys,
I have a big problem with System::Process, i currently write an application
which starts an exe file from a network share (foreign computer) and waits until the other process is finished and closed.
It works fine but i have a big problem when i call
Process::Start()
XP ask the following securtiy check:
"Always ask before opening this type of file."
How can i disable this??
Thanks!
|
|
|
|
|
|
You're in the managed C++ forum, do you mean a managed array of the managed string class ? They have a handle, not a pointer. To get a pointer, you need to pin it, I believe.
That's assuming that is what you meant.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
OK, then a string array IS a pointer.
string * pStrings = new string[20];
If you need more info, I recommend posting in the right forum ( Visual C++ ), and choosing a subject that describes your problem.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
I did say to ask in the right forum...
That's NOT a string array, it's a char array.
char test[20] = "12124312321412432";
char * p = &test[0];
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|