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

Search:

Type: Posts; User: M J

Page 1 of 7 1 2 3 4

Search: Search took 0.12 seconds.

  1. Thread: Re-Using ifstreams

    by M J
    Replies
    2
    Views
    608

    It would be helpful to see how you clean up those...

    It would be helpful to see how you clean up those streams at the end of that function. For instance, if you don't close the streams before you try to reopen them, you'll probably run into problems. ...
  2. Thread: selective linking

    by M J
    Replies
    2
    Views
    603

    Thanks for your post, Martin. My problem is that...

    Thanks for your post, Martin. My problem is that I actually want the 3rd party lib to use only my version of a function that it also contains. In other words, the 3rd party lib makes calls to a...
  3. Thread: selective linking

    by M J
    Replies
    2
    Views
    603

    selective linking

    I want to use some functions in a third-party library but override/rewrite others. Currently I get link errors saying there are multiply defined symbols (because I don't know how to tell Visual...
  4. Thread: Test

    by M J
    Replies
    0
    Views
    1,190

    Test

    :p :o :cool: :rolleyes: :mad: :confused: :eek:


    Test
  5. Replies
    3
    Views
    892

    Send Text to Console App

    I used ShellExecute to start a console application and send it command-line parameters.
    That worked just fine.
    But I also need to give it a few lines of text input AFTER the app starts. I thought...
  6. Replies
    3
    Views
    946

    Send Text to Console App

    I used ShellExecute to start a console application and send it command-line parameters.
    That worked just fine.
    But I also need to give it a few lines of text input AFTER the app starts. I thought...
  7. Thread: PaintLib Bug

    by M J
    Replies
    1
    Views
    512

    PaintLib Bug

    Anyone using PaintLib image processing library may want to read http://www.codeguru.com/cgi-bin/bbs/wt/showpost.pl?Board=vcbugs&Number=2391
  8. Thread: PaintLib Bug

    by M J
    Replies
    1
    Views
    492

    PaintLib Bug

    Anyone using PaintLib image processing library may want to read http://www.codeguru.com/cgi-bin/bbs/wt/showpost.pl?Board=vcbugs&Number=2391
  9. Replies
    1
    Views
    509

    PaintLib GIF Handling Error

    Anyone using PaintLib's image processing library may be interested in reading about a possible bug in PaintLib's GIF-decoding routine:

    http://groups.yahoo.com/group/paintlib/message/1185
  10. Replies
    1
    Views
    602

    PaintLib GIF Handling Error

    Anyone using PaintLib's image processing library may be interested in reading about a possible bug in PaintLib's GIF-decoding routine:

    http://groups.yahoo.com/group/paintlib/message/1185
  11. Replies
    9
    Views
    817

    Re: displaying text with NULL characters

    Assuming we're dealing with a CString, my previous post deals with the final null terminator correctly. Otherwise, it could be easily modified to accept an additional parameter that specified the...
  12. Replies
    9
    Views
    817

    Re: displaying text with NULL characters

    I would do something like this:


    void DisplayTxtInEditBox(CString str)
    {
    TransformString(str);
    CWnd* w = /* Get pointer to your edit box control here */;
    w->SetWindowText(str);...
  13. Replies
    9
    Views
    817

    Re: displaying text with NULL characters

    Were it me, I would just send the string to a function that replaced null terminators, newlines, and other undesirable characters with a more desirable character, like a space character.
  14. Replies
    8
    Views
    729

    Re: displaying images while processing in a loop

    I'm glad the IrfanView fix helped. Unfortunately, I can't advise on how to do what you ask, as I've not done it myself. But, as I said, the PaintLib distribution comes with some demo programs that...
  15. Replies
    12
    Views
    929

    Re: Associate Dialog with Existing Class

    Ah, yes, much better!

    I tried it on the original version of my project and it worked like a charm.
  16. Replies
    12
    Views
    795

    Re: Associate Dialog with Existing Class

    Ah, yes, much better!

    I tried it on the original version of my project and it worked like a charm.
  17. Re: How do I tell Class Wizard to associate a dialog resource with an existing class?

    Thanks for your reply, sma.

    Perhaps my post wasn't very clear. The problem was that the class was already in the project but Class Wizard was ignoring it as a suitable class to associate with the...
  18. Re: How do I tell Class Wizard to associate a dialog resource with an existing class?

    Thanks for your reply, sma.

    Perhaps my post wasn't very clear. The problem was that the class was already in the project but Class Wizard was ignoring it as a suitable class to associate with the...
  19. Thread: Stack Linked List

    by M J
    Replies
    8
    Views
    1,415

    Re: Stack Linked List

    The linked list is the foundation of your stack class. The stack class is the tool you use for conducting infix->postfix conversion.
  20. Re: Is it possible to assign CString variable to a character array?

    Oops -- I goofed. Thanks, Emi.

    It also might be worth mentioning that the destructor for that class should probably contain the following:


    if(char_array != NULL)
    delete [] char_array;
  21. Replies
    12
    Views
    795

    Re: Associate Dialog with Existing Class

    I did have to go through the whole process of "re-creating" the dialog class header and implementation file for Class Wizard to recognize it. What a pain. But thanks for the help!
  22. Replies
    12
    Views
    929

    Re: Associate Dialog with Existing Class

    I did have to go through the whole process of "re-creating" the dialog class header and implementation file for Class Wizard to recognize it. What a pain. But thanks for the help!
  23. Thread: Stack Linked List

    by M J
    Replies
    8
    Views
    1,415

    Re: Stack Linked List

    Once you have the linked list working properly, then you can use the linked-list class in a separate class called "Stack". You will have a private member of type "LinkedList" in your "Stack" class. ...
  24. Replies
    12
    Views
    795

    Re: Associate Dialog with Existing Class

    Thank you for the suggestion, but it didn't seem to change anything. It created a new .ncb file but did not recognize any additional classes that reside in the project.
  25. Replies
    12
    Views
    929

    Re: Associate Dialog with Existing Class

    Thank you for the suggestion, but it didn't seem to change anything. It created a new .ncb file but did not recognize any additional classes that reside in the project.
Results 1 to 25 of 171
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured