Type: Posts; User: pradish
Search took 0.01 seconds.
April 22nd, 2010, 09:03 AM
i get this error for IPV6
Host not found.
No such host is known. The name is not an official host name or alias, or it cannot be found in the database(s)...
April 21st, 2010, 06:06 AM
I am in deeeeeeeeep trouble....i have to resolve this one, so please help
the getaddrinfo, retuns the IP address for given hostname , my application works fine and fetches the IPV4 and...
December 21st, 2009, 07:58 AM
Here are few examples codes .
As I said, The GUI will carry on responding, if you remove the WaitForSingleObject function call after creating the thread, and if you are concerned about...
December 21st, 2009, 05:59 AM
from what i have understood, the following are my observations, hope it helps.
hThread = CreateThread(NULL, 0, &WorkerThread::ThreadFunc,
December 21st, 2009, 05:33 AM
since you are using a message queue , and you are posting message to the thread, i donít think there is any further need to use the CSingleLock, as the messages are queued, they are ...
December 21st, 2009, 05:30 AM
since you are using a message queue , and you are posting message to the thread, i dont think there is any further need to use the CSingleLock, as the messages are queued, they are natually...
August 10th, 2009, 06:42 AM
I have a COM dll, which implements a callback interface, the callback works well with C++ and .Net C# client.
August 8th, 2009, 12:57 AM
You have to do the following changes to the CoClass,
public IProvideClassInfo2Impl<&CLSID_MyCalss,& __uuidof(_IMyEvents),&LIBID_MYCOMP_Lib>
then add the following...
August 5th, 2009, 12:03 AM
one reason for the class not registerd error could be that your dll links to some other dll and that dll is not available. use the Depends utility to find out the missing dll and copy that...
August 3rd, 2009, 07:48 AM
I have problem using a third party code, in that I using a interface which has many methods of which
The two methods Lock and UnLock, are clashing with mine.
But the problem is, it...
July 31st, 2009, 09:17 AM
i am making a wild guess..i may be wrong, but you can check this
In the CProxy_XXXXXX class
HRESULT hr = S_OK;
T * pThis = static_cast<T *>(this);...
July 30th, 2009, 12:28 AM
if you have used the ATL wizard to create the sevice, then you can also add a simple COM object and add what ever mehods or properties you want, then access the COM object from
your client app, and...
July 29th, 2009, 10:00 AM
I think you are fetching the interface pointer in the main thread, and using it in another thread as well, but this will not work, you should not use a interface pointer fetched in one thread in...
July 27th, 2009, 02:17 AM
Remove this thread from the forum....the problem was in my code..hence the
question is invalid.
July 25th, 2009, 10:56 AM
I have COM DLL, (STA ,Dual interface ,Aggregation support yes) component.
And supports connection point, and has a callback function Fire_OnEvent(LONG nEventID)
The Component has one...
July 24th, 2009, 10:34 AM
Thankyou for all the inputs.
The problem here was that for IE as a client to support the callback , the CoClass should implement IProvideClassInfo2Impl more in this KB
July 24th, 2009, 02:37 AM
i have already done that, all the three are quires or problems they face while implementing callbaks , with one very compicated example in code project.
this is my HTML code , wherein the...
July 23rd, 2009, 09:20 AM
Thank you all for the replies...
i am able to call a interface method, but how do i implement a callback
supposing my components supports the connection point and calls
July 22nd, 2009, 10:44 AM
yeah.you are right. the queston was not framed properly
i have dll, but it is not COM dll, i thought tlb is enough for the
scripting clients and can make call in to the regular dll, but i
July 22nd, 2009, 08:23 AM
returns a pointer to a c++ Interface , which is not a com
interface and use that interface object to make further calls...
July 22nd, 2009, 05:01 AM
i have an IDL file, from whcih i can get the TLB file, now using this TLB, can i have an scripting client buit using java/vb script acces all the com methods and even suport the callback
Thank you for all your help..
can anybody suggest any design pattern to solve such problems..
Thanks for the reply .. i will try
I have requirement , where in I have to expose a C++ class as C APIs
April 24th, 2008, 04:23 AM
use PostMessage (wparam,lparam) to send the parameters
Click Here to Expand Forum to Full Width