|
I try to spy some game using directx8 graphic but I do not get any document about direct8 (only Direct9 Sad). May some one send me somethings.
My mail: sea.loves.you@gmail.com
Very thank.
|
|
|
|
|
Hi I've a requirement to hook into the PrintDlg/StartDoc/EndDoc API's using a global hook to obtain information when the end user does a print from any application that has a File/Print interface.
Any ideas as to what might be the best way to do this ? I'm considering using APIHijack - A Library for easy DLL function hooking by Wade Brainerd (http://www.codeproject.com/dll/apihijack.asp[^])
Any ideas/suggestion would be welcome.
|
|
|
|
|
Hello
Can I able to use the windows explorer context menu in my application.
If possible give me a hint so that I can try.
Regards
Anil
|
|
|
|
|
|
Thanks I will try my best.
ANd hope for some help if I will stuck some where in future.
Regards
Anil
|
|
|
|
|
|
void CParseView::GetEmbeds()
{
IHTMLElement* pDocElem;
IHTMLElementCollection* pElemCollections;
IHTMLDocument2 * pHTMLDoc2 = NULL;
pHTMLDoc2 = (IHTMLDocument2*)(this->GetHtmlDocument());
pHTMLDoc2->get_all(&pElemCollections);
COleVariant varName;
varName = SysAllocString(L"OBJECT");
IDispatch* spDispEmbed;
VARIANT name;
name.vt = VT_I4;
pElemCollections->tags(varName, &spDispEmbed);
IHTMLElementCollection* spCollectEmbed;
spDispEmbed->QueryInterface(IID_IHTMLElementCollection, (void**)&spCollectEmbed);
if (spCollectEmbed)
{
long lLen;
spCollectEmbed->get_length(&lLen);
for (long i = 0; i < lLen; i++)
{
IDispatch* pItem;
name.lVal = i;
spCollectEmbed->item(NULL, name, &pItem);
IHTMLElement* spElement;
pItem->QueryInterface(IID_IHTMLElement, (void**)&spElement);
if(pItem)
pItem->Release();
if(spElement)
spElement->Release();
}
}
if(pHTMLDoc2)
pHTMLDoc2->Release();
}
use the code, I got the length:lLen=4;but I can only fetch the first two Items,when i=2,pItem got a NULL. How could this happen?
|
|
|
|
|
Maybe instead of
spCollectEmbed->item(NULL, name, &pItem);
you should use
spCollectEmbed->item(name, NULL, &pItem);
or
VARIANT v2; v2.vt = VT_I4; v2.lVal = 0;
spCollectEmbed->item(name, v2, &pItem);
I hope it helps.
|
|
|
|
|
Thank you.
But all the same.
VARIANT varIndex;
varIndex.vt = VT_I4;
varIndex.lVal = 2;
VARIANT var2;
VariantInit( &var2 );
spCollectEmbed->item(varIndex, var2, &pItem);
I tried above. I give the varIndex a const:2;
pItem is not NULL now which would be null if I use a for loop when i==2;
so strange.
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
Hi guys,
I want to mask two bitmaps which are in memory(used CreateComaptibleDC() API and selected the bitmaps loaded into it.) and results into third one...
I want to use the masked bitmap for outlook customization ( for buttons face )
Hey, If any one have idea about it let me know..
Look forward to your reply.
Regards
Laxman
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
U look into MaskBlt API. This will solve u'r problem.
Jubin Chawda
braindrain1@rediffmail.com
-----------------------------
Come online at:-
fitiyal@yahoo.com
|
|
|
|
|
Could you provide some code snippet so that i can start with it??
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
Hi,
When socket_error on server during accept function, is that mandatory to close the server socket(listening socket)?
If the error is not critical why can't the server skip the error & again wait for new connection?
Any suggestions please...
Rove
-- modified at 2:48 Friday 30th June, 2006
|
|
|
|
|
In OnRclickMyTree
pTree->GetSelectedItem returns the item which is selected previously.
How to use right click to change the selected item?
|
|
|
|
|
|
Hello all
In my application I am adding some fonts in Fonts dir and according to my knowledge, it is compulsory to open the Fonts folder and then close it to register the new fonts with OS.
For that I am opening the fonts folder through installer. I need to close that folder manually.
So is there any function that will open and close the fonts folder manually?
OR
Is there any other way to register the fonts with OS without opening the Fonts folder from Windows directory?
Thanks
Rakesh
|
|
|
|
|
|
Thanks Mike.
Thats really usefull information abt Fonts folder.
I'll try using AddFontResource() fun. But One more question ....
Is it still required to open and then close the fonts folder after executing AddFontResource() function or the Fonts get Registered with OS auomatically?
Thanks
Rakesh
-- modified at 4:34 Friday 30th June, 2006
|
|
|
|
|
Rakesh_Thakur wrote: Is it still required to open and then close the fonts folder after executing AddFontResource() function...
No.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
i am developing a project in vc++ mfc . how do i create graphs using mfc?
is there any other way... please help me....
sri
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
HI,
When I run my application ( Multi threaded application- MFC based Socket , with which I Recive the file from Client/Sender).
The machine gets slow ( that as explorer response is slow some times) After getting few files.
Why its the machine (PC) get slow. How can I check it ,
How can I improve my app that it do not effects the system.
Thannks
Regards.
|
|
|
|
|
You can use perfmon utility that is shipped with windows this will atleast give you some idea.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Could you please tell me
Where this utility is.
How I can open and use it ( its location /path) and some using hints
Thanks
Regards.
|
|
|
|