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

Search:

Type: Posts; User: logan

Page 1 of 32 1 2 3 4

Search: Search took 0.18 seconds.

  1. Thread: VOIP Sniffer

    by logan
    Replies
    3
    Views
    2,577

    Re: VOIP Sniffer

    In addition to what Edders said, there are numerous codecs out there like G.711, GSM, G.729, iLBC, Speex, etc. And you would need to know and understand all of them.
  2. Replies
    0
    Views
    582

    ActiveX controls in a web page

    Hi All,

    I want to do a simple ActiveX control, which will basically be a wrapper over a C++ VoIP library/application. The intent is to embed the softphone in a browser so that the application...
  3. Thread: C++ Help Please

    by logan
    Replies
    6
    Views
    884

    Re: C++ Help Please

    #include <iostream>
    #include <string>

    using namespace std;

    int dan ();

    int main()
    {
    //Let's call our function
  4. Replies
    10
    Views
    8,661

    Re: circular singly linked list problem

    Use the two pointer approach.

    Rough code:



    bool ContainsLoop (Node *pNode)
    {
    Node *pSlowptr = pNode;
    Node *pFastptr = pNode->pNext;
  5. Replies
    5
    Views
    906

    Re: Assertions

    Thanks a lot for the replies :). Things are clearer now.
  6. Replies
    5
    Views
    906

    Re: Assertions

    Yes, I understand that it can help avoid the extra code in the release build. All you said makes sense.

    So, does the author mean to say that whenever your application asserts then it's a bug and...
  7. Replies
    5
    Views
    906

    [RESOLVED] Assertions

    Hi,

    Steve Maguire in Writing Solid Code mentions how his re-write of an old library, which previously had no assertions, caused so many assertion errors in the code that now used the new library....
  8. Replies
    4
    Views
    1,110

    Re: Access level for message handlers

    Hmmmm, I can't rate. But, thanks a lot Sir!
  9. Replies
    4
    Views
    1,110

    Re: Access level for message handlers

    1) Ok, thanks :).

    2) SVN did exactly what I wanted.
  10. Replies
    4
    Views
    1,110

    Re: Access level for message handlers

    Can Visual SourceSafe do what I want?
  11. Replies
    4
    Views
    1,110

    [RESOLVED] Access level for message handlers

    Hi Guys,

    What access level (private, public, protected) should be given to the different message handlers in my application? I generally declare all the variables for the controls as private, but...
  12. Re: Get value of a control in a property page in thread safe manner

    Thanks a lot. That does what I need.
  13. Re: Get value of a control in a property page in thread safe manner

    Ofcourse, I know that. And, I update my controls by sending a message to the window that created them. But, the question over here is, from an another thread how I get the items selected in the list...
  14. Re: Get value of a control in a property page in thread safe manner

    Thanks for the response first of all.

    Yes, the property page is created by the main thread. The reason I'm worried about thread safety issues is that I make updates to the list control from a...
  15. [RESOLVED] Get value of a control in a property page in thread safe manner

    Hi Guys,

    I have a property page which has a list control on it. I need to know the number of items in the list control and read the text of the items from my main dialog box, so how can I do this...
  16. Thread: Design questions

    by logan
    Replies
    5
    Views
    1,077

    Re: Design questions

    Thanks, I will now fix it. Between, I'm not able to find your article on Multiton, can please give the link?
  17. Thread: Design questions

    by logan
    Replies
    5
    Views
    1,077

    Re: Design questions

    Thanks for the reply.

    Are there any other ways to make the application thread safe? Or the only way is to send user defined messages to the property page, and ask it to update the list control?
    ...
  18. Replies
    5
    Views
    4,491

    Re: Set default value for Combo Box

    CString strValue;
    for (int i = 0; i < m_cmbValues.GetCount (); ++i)
    {
    m_cmbValues.GetLBText (i, strValue);
    if (!strValue.CompareNoCase (_T("1")))
    {
    m_cmbValues.SetCurSel (i);...
  19. Replies
    8
    Views
    1,681

    Re: Help with a Polynomial Program

    Sorry, but your header and implementation files are not correct. On a sidenote, don't be afraid of errors, we all get them.
  20. Thread: Design questions

    by logan
    Replies
    5
    Views
    1,077

    Design questions

    I have a dialog based application that has two property pages over it. The property page has a list control, basically the app is a softphone and the list control shows the active calls and it's...
  21. Replies
    6
    Views
    838

    Re: Returning by reference

    Guys, thank you for the responses [:)].
  22. Replies
    3
    Views
    972

    Re: Editbox in FormView

    Another thing that you may do is to remove the Accelerator associated with Ctrl + C in your project.
  23. Replies
    6
    Views
    838

    Returning by reference

    class Foo
    {
    int data;

    public:
    Foo (int n):data (n)
    {
    }

    Foo ():data (0)
  24. Replies
    11
    Views
    3,321

    Re: Question about Ezwindow

    The errors show that you have not linked with the library.

    Right click on the solution->Properties->Linker, in Additional Dependencies enter the name of the library.
  25. Replies
    3
    Views
    998

    Re: How to set an Edit in a Dialog read-only?

    Set the Read Only property of the edit box to be TRUE. The DDX/DDV routines work fine even if the edit box is read only.

    You can do it this way as well:


    CString strText;
    GetDlgItem...
Results 1 to 25 of 778
Page 1 of 32 1 2 3 4





Click Here to Expand Forum to Full Width

Featured