February 23rd, 2011 08:31 AM
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...
February 23rd, 2011 03:16 AM
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...
February 22nd, 2011 08:36 AM
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...
November 15th, 2010 11:56 AM
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...
November 15th, 2010 11:44 AM
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...
November 15th, 2010 09:02 AM
For this problem, it might be simpler to begin with a code extract:
November 10th, 2008 05:29 AM
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...
November 6th, 2008 01:01 PM
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...
September 5th, 2006 06:10 AM
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.