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

Search:

Type: Posts; User: Mijin

Search: Search took 0.04 seconds; generated 49 minute(s) ago.

  1. Thread: C# Program ??

    by Mijin
    Replies
    1
    Views
    770

    Re: C# Program ??

    The program that you've written is structurally and conceptually flawed.

    I think you have a few misconceptions, and I recommend that you find a good introductory text on OO principles, and a...
  2. Replies
    3
    Views
    746

    Re: Two containers, one class

    Well, I figured a somewhat hacky way to do it.

    I realised you can "simulate" friend functions using reflection and a lookup table. So I can have a private class that accesses the queues on the...
  3. Replies
    3
    Views
    746

    Re: Two containers, one class

    Wow, no takers. I'm quite surprised.

    As I see it, back in C++ there'd be two ways around this:

    1. Make the queues private to a contained class, but make functions like WashDishes() friends of...
  4. Replies
    3
    Views
    746

    Two containers, one class

    This isn't specific to C# but I'm working in C# and maybe there's a language-specific solution.
    Oh, and it's prob a noob question...

    I have a class which looks after two queues. And it must...
  5. Replies
    10
    Views
    3,148

    Re: Class containing struct referencing class

    That sorted it.
    I had tried forward declaring the class, but for whatever reason I had a mental blindspot to the idea of forward declaring the struct.

    Thanks laserlight, I've just rated your post...
  6. Replies
    10
    Views
    3,148

    Re: Class containing struct referencing class

    Thanks. Still having trouble though.

    I should have added that the class needs to use this structure too (shown below), so evidently to the compiler, it is a circular definition.
    The thing is...
  7. Replies
    10
    Views
    3,148

    Class containing struct referencing class

    For this problem, it might be simpler to begin with a code extract:



    class Pattern
    {
    public:
    struct ChildPattern
    {
    Pattern pattern;
  8. Replies
    2
    Views
    11,203

    Re: CertOpenStore and non-admin users

    OK, well, if anyone's following this thread because they have a similar problem, I haven't solved the problem but it really does seem that ordinary, non-admin users cannot use the...
  9. Replies
    2
    Views
    11,203

    CertOpenStore and non-admin users

    I'm writing some SSL code, and I've found that it can only open and use the necessary certificate if the current user has administrative privileges, and our client is adamant that this code must work...
  10. Replies
    1
    Views
    551

    Can anyone recommend code dependency tool?

    I've just started a new job and I find myself in the familiar position of having to become proficient with a large codebase that only has basic auto-generated XML files as documentation.

    Could...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured