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

Search:

Type: Posts; User: Ajay Vijay

Page 1 of 80 1 2 3 4

Search: Search took 0.12 seconds.

  1. How to put summary/comment/help string to managed class/method?

    From a managed DLL, I expose set of classes and public methods from it. Now I want to add help string for the class methods. In C# (Application or Class Libarary), this can be done by simply adding:...
  2. Replies
    8
    Views
    5,931

    Re: Console window size

    That function requires Windows Vista/2008 as minimum.

    See Console functions.
  3. Replies
    8
    Views
    3,764

    Re: Beep Function

    MSDN says:
  4. Replies
    17
    Views
    1,263

    Re: confused with I/O

    May be, I haven't heard about it. And you expect this to be used by AKGROWN? I mean, think from the other perspective, not just your perspective. You suggest people to use boost, stl and stuff like...
  5. Replies
    17
    Views
    1,263

    Re: confused with I/O

    No. I wasn't a genuis, I was idiot - but I gave effort, hardwork in that, and not just posted these petty stuff on forurms to get the reply. :rolleyes:

    Your level of programming knowledge forced...
  6. Replies
    17
    Views
    1,263

    Re: confused with I/O

    Start with basic program. Know how and why to declare variable.

    Learn what if-else, switch constructs are.

    Learn, separately, how to read and write file contents.

    And then, do what you are...
  7. Re: How many of you are working on a new MFC professional project?

    I mean the WPF technology is out. For excellent GUI, many are thinking of migrating from Windows Forms applications to rich WPF applications. Since, there are class hierarchy changes, and some stuff...
  8. Re: need help assigning one structure to another using pointers

    Well.. the program will not compile itself!
    You cannot add two pointers.
  9. Re: How many of you are working on a new MFC professional project?

    For the last 10+ years I have been using MFC for professional and personal projects. There is nothing wrong with using MFC. MFC is just a thin wrapper around Windows API. As long as Windows API...
  10. Replies
    17
    Views
    1,263

    Re: confused with I/O

    Actually no one would be interested in your homework

    First learn the syntax of switch and cout. What is this?

    case 'B' 'b':
    case 'C' 'c':
    case 'D' 'd':
    case 'E' 'e':
    and this?
  11. Replies
    9
    Views
    1,612

    Re: Virtual Function Pointer Table

    As a side note, not all compilers implement virtual function the way I described. Though, it is the most common.
  12. Replies
    9
    Views
    1,612

    Re: Virtual Function Pointer Table

    Understand following points:

    The minimum size of a class is 1 byte - if it doesnt include any data members, doesnt inherit from a class and doesn't have any virtual function.
    Adding virtual...
  13. Replies
    8
    Views
    616

    Re: Calling a C function

    Check if the same DLL is being loaded (in Output window)
    Also make sure DLL is build with debugging information enabled.
  14. Replies
    4
    Views
    607

    Re: Simple Recursion Question

    Yes. It will return. I mis judged the code!
  15. Replies
    17
    Views
    1,263

    Re: confused with I/O

    The original poster is a naive programmer, and is using C++. Asking him to use XML would be over burden. How can you parse the XML file?
  16. Replies
    17
    Views
    1,263

    Re: confused with I/O

    AKGROWN, you have 5 text files or 10 text files? Or you have 10 facts in each text file? Can you clear that thing out?

    And how to you actually "cout" this thing? What about parenthesis - did you...
  17. Replies
    8
    Views
    5,931

    Re: Console window size

    I was about to refer those console APIs, but since he has already classified him as a student I did not! ;)
  18. Replies
    8
    Views
    616

    Re: Calling a C function

    Since you have source code of DLL, just include that project in the solution. Set dependencies, and make sure DLL and EXE goes in the same path. Then you can do single stepping into the DLL function....
  19. Replies
    4
    Views
    612

    Re: [RESOLVED] First items in Listbox C#

    Then code it yourself! Append US and Canada as first two entries, and retrieve other countries from table. But in that case you would lose automatic data binding.
  20. Replies
    22
    Views
    1,847

    Re: Rules for DLL Function Signatures

    @Igor,
    I guess you are more concerned about this following statement.
    But, in my way of interpreting it, he is just giving an example on how Plug-ins are implemented. With that knowledge, he is...
  21. Replies
    22
    Views
    1,847

    Re: Rules for DLL Function Signatures

    The OP asked if it is okay to pass or return the class objects. Interfaces are different thing. Yes you can pass interfaces, with less issues than classes. The definition of interface, and importance...
  22. Replies
    8
    Views
    5,931

    Re: Console window size

    I am afraid to say that no one does that kind of console programming these days.

    The options you are mentioning are applicable till Windows 2000. Starting with Windows XP, choosing those console...
  23. Re: Best language for horse racing analysis code

    Yes you can. You just export the C/C++ function, and import with DllImport attribute and System.Runtime.InteropServices usage. I dont know exact syntax, but you can do that.

    Other approach is to...
  24. Replies
    4
    Views
    607

    Re: Simple Recursion Question

    static int Recursion(int x)
    {
    if (x <= 10)
    {
    x++;
    Recursion(x);
    }
    return x;
    }This code has a serious bug. If you place return statement, as suggested by Danny, it will never return.
  25. Thread: UdpClient

    by Ajay Vijay
    Replies
    1
    Views
    407

    Re: UdpClient

    You need to create two UdpClient objects, with different ports.
Results 1 to 25 of 2000
Page 1 of 80 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