Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: pradish

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,894

    Re: getaddrinfo does not resolve IPV6 address

    Hi

    i get this error for IPV6

    WSAHOST_NOT_FOUND
    11001

    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)...
  2. Replies
    2
    Views
    2,894

    getaddrinfo does not resolve IPV6 address

    Hi all

    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...
  3. Replies
    6
    Views
    1,018

    Re: Worker threads without using MFC

    Hi John,

    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...
  4. Replies
    6
    Views
    1,018

    Re: Worker threads without using MFC

    Hi John,

    from what i have understood, the following are my observations, hope it helps.



    hThread = CreateThread(NULL, 0, &WorkerThread::ThreadFunc,
    ...
  5. Replies
    5
    Views
    554

    Re: thread synchronization problem

    hi


    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 ...
  6. Replies
    5
    Views
    554

    Re: thread synchronization problem

    Hi

    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...
  7. Invoke returns 0x8000FFFF Catastrophic failure when client is javascript

    Hi all,

    I have a COM dll, which implements a callback interface, the callback works well with C++ and .Net C# client.
    When I test it with javascript client , the callback does not work.

    I...
  8. Re: Problem with adding custom event to a COM (ActiveX) Control

    Hi Piyush,

    You have to do the following changes to the CoClass,
    Derive from

    public IProvideClassInfo2Impl<&CLSID_MyCalss,& __uuidof(_IMyEvents),&LIBID_MYCOMP_Lib>


    then add the following...
  9. Replies
    4
    Views
    970

    Re: Class Not Registered error

    Hi

    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...
  10. Function Name clashing , while using thirdparty library

    Hi all

    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...
  11. Replies
    11
    Views
    1,693

    Re: Accessing COM EXE-server from diffent threads

    Hi Padan,

    i am making a wild guess..i may be wrong, but you can check this

    In the CProxy_XXXXXX class
    HRESULT Fire_OnSomeEvent()
    {
    HRESULT hr = S_OK;
    T * pThis = static_cast<T *>(this);...
  12. Replies
    2
    Views
    721

    Re: Send string from client app to a service

    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...
  13. Replies
    11
    Views
    1,693

    Re: Accessing COM EXE-server from diffent threads

    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...
  14. Resolved :Please delete...this thread

    Remove this thread from the forum....the problem was in my code..hence the
    question is invalid.
  15. Callback froma Thread Causes HRESULT to return E_INVALIDARG

    Hi all,

    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...
  16. Re: How to use TLB file to access methods in a scripting client

    Hi all,

    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
    ...
  17. Re: How to use TLB file to access methods in a scripting client

    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...
  18. Re: How to use TLB file to access methods in a scripting client

    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

    Fire_OnNewEvent();
    ...
  19. Re: How to use TLB file to access methods in a scripting client

    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
    guess...
  20. How to invoke a COM method from a Java script

    Hi all

    how do i invoke a COM method from a javascript, this COM method
    returns a pointer to a c++ Interface , which is not a com
    interface and use that interface object to make further calls...
  21. How to use TLB file to access methods in a scripting client

    Hi all

    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
    ...
  22. Re: How to expose a C++ class and its methods as C APIs

    Thank you for all your help..

    can anybody suggest any design pattern to solve such problems..


    regards
    pradish
  23. Re: How to expose a C++ class and its methods as C APIs

    Thanks for the reply .. i will try



    regards
    pradish
  24. How to expose a C++ class and its methods as C APIs

    Hi all

    I have requirement , where in I have to expose a C++ class as C APIs
    //C++
    Class A
    {
    Public:
    Void fun1();
    }
  25. Replies
    3
    Views
    590

    Re: passing a value from one exe to another

    use PostMessage (wparam,lparam) to send the parameters
Results 1 to 25 of 134
Page 1 of 6 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center