Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

conrad Braam

@conrad Braam
About
Posts
17
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help on c++ windows service.
    C conrad Braam

    What was the resolution? Is the service control method called in the same thread context as the app? I would suspect not,in which case the app never gets the signal, are we not supposed to use mutexes or other local comms mechanism for sharing data between threads? I'm only asking because I'm about to create a service myself.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    C / C++ / MFC c++ help debugging

  • good and bad articles
    C conrad Braam

    My suspicion as well. Apart from being able to say that you are "published", which is not strictly true; only the serious contributor will use the criticism to improve their publishing skills. I suppose it's the problem with all students, they know too much :-)

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge question lounge

  • Taking on remote contract work
    C conrad Braam

    I have also found http://www.pivotaltracker.com/learnmore[^] , I used this last year.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge question sales collaboration tools tutorial

  • The Philosophy of Ambiguity
    C conrad Braam

    Um, sorry, the original post is signed Brad - responses on any thread may have been intended for the originator, and not the branch. Bwah Ha Ha Ha

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge wcf linux xml json help

  • The Philosophy of Ambiguity
    C conrad Braam

    OK, so what is the point Brad? Come on, come out fighting!

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge wcf linux xml json help

  • England's 12th Man Comes to the Rescue!
    C conrad Braam

    that much rain is really unlikely. :-) Chase the visitors into the sea.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge

  • Brief update
    C conrad Braam

    like :-)

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge question announcement

  • Advice on Being in South Africa
    C conrad Braam

    South African natives talk loudly - fact. They also have smaller personal spaces when not even in a queue - fact. If you can survive in Birmingham sat night, just keep your smarts on, and you will be fine in Johannesburg too.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge

  • good and bad articles
    C conrad Braam

    It's difficult to ignore the language barrier. But it's also easy to use article ratings if EVERYBODY who reads, and then evaluates an article DOES apply a rating. Lately every time I log on, I do rate at least one article, to try and prevent rating rot. However I do agree with your sentiment Emilio. I've not published anything on Codeproject myself, mainly to avoid the possible backlash from the ecosystem.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge question lounge

  • Taking on remote contract work
    C conrad Braam

    I have an opportunity to take on some contracting work from a company I worked for years ago. I'm seeking work, so I've got time, I have the tools, but I'm not sure how to outline how to get paid for my time (rate of GBP 35) rather than artifacts. The customer clearly wants deliverables, which is fine, but how do I make sure I do not get shafted by things like scope creep. Anyone got good resources for things like * a contract outline, * free/cheap online project/collaboration tools * and any experience on doing work remotely. For instance I want to send an invoice at least every 2 weeks, but what is an acceptable payment period?

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    The Lounge question sales collaboration tools tutorial

  • LNK2019 for XmlLite
    C conrad Braam

    The missing symbol the compiler was looking for was CreateXmlReader, I know the compiler indicated that the problem was in your dialog class, it's a common red herring, but once you know how to read these linker error messages, it gets easier :-) If adding a library path instead (if all you have is the .lib file), you will want to check that the library is added for debug and release builds. Configuring a project dependency as in the previous solution is thus best.

    Conrad - The world waits for you to stick your neck out, it's not easy. But once you actually stand up, you do get noticed. http://www.plcsimulator.org/

    C / C++ / MFC help c++ com xml question

  • Is transparent window needed?
    C conrad Braam

    I want to do the following in a seperate app: WindowFromPoint() using mouse location, and then read the DC of that window into a BMP of some sort, the only way I can see it to create a transparent window on top of the window I have just "spied". At the end of the day, I want to read the location of a rectangle drawn into the DC of the "spied" upon window. I then want to create a edit control in the same size as the rectangle underneath it. The last bit is easy, it's how to even try to read the DC/bitmap of another window I have no clue how to do. Any clues.;) Conrad B Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC graphics tutorial question

  • Inner or nested classes
    C conrad Braam

    X| I have since tried..... typedef a::b NestedBase; IMPLEMENT_DYNCREATE(a, CObject) //from #define RUNTIME_CLASS(class_name) ((CRuntimeClass*)(&class_name::class##class_name)) #define MYRUNTIME_CLASS(class_name) ((CRuntimeClass*)&a::b::b()) // from _IMPLEMENT_RUNTIMECLASS #ifdef _AFXDLL #define MY_IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, wSchema, pfnNew) \ CRuntimeClass* PASCAL class_name::_GetBaseClass() \ { return RUNTIME_CLASS(base_class_name); } \ CRuntimeClass* class_name::GetRuntimeClass() const \ { return MYRUNTIME_CLASS(class_name); } // AFX_COMDAT AFX_DATADEF CRuntimeClass class_name::class##class_name = { \ // #class_name, sizeof(class class_name), wSchema, pfnNew, \ // &class_name::_GetBaseClass, NULL }; #else #define MY_IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, wSchema, pfnNew) \ CRuntimeClass* PASCAL class_name::_GetBaseClass() \ { return RUNTIME_CLASS(base_class_name); } \ CRuntimeClass* class_name::GetRuntimeClass() const \ { return MYRUNTIME_CLASS(class_name); } #endif // from IMPLEMENT_DYNCREATE, just calls MY_IMPLEMENT_RUNTIMECLASS instead #define MYIMPLEMENT_DYNCREATE(class_name, base_class_name) \ CObject* PASCAL class_name::CreateObject() \ { return new class_name; } \ MY_IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, 0xFFFF, \ class_name::CreateObject) MYIMPLEMENT_DYNCREATE(NestedBase, CObject) ... but to no avail, since I cannot get the last bit of my MY_IMPLEMENT_RUNTIMECLASS macro to work (commented out) hELP hELP HeLP HElp. Conrad - conradb@adroit.co.za Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC help

  • Inner or nested classes
    C conrad Braam

    GURU's only!:eek: I have a class "hidden" inside my main class, a kind of inner class if U like. class a : public CObject { DECLARE_DYNCREATE(a) public: a(); class b : public CObject { DECLARE_DYNCREATE(b) public: b(); }; }; But the IMPLEMENT_DYNAMIC macro expansion baffles the compiller's brain IMPLEMENT_DYNCREATE(a, CObject) IMPLEMENT_DYNCREATE(b, CObject) with the following messages: error C2653: 'b' : is not a class or namespace name error C2061: syntax error : identifier 'b' I have tried everything but write my own body for CreateObject() so I can get runtime class info, doing IMPLEMENT_DYNCREATE(a::b, CObject) Seems logical, but does not hel, since a is nit a namespace or so the compiller says.:( Conrad - conradb@adroit.co.za Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC help

  • Serial communication witch 9.bit
    C conrad Braam

    MSDN shows you can configure the DCB "Device Context Block" for anything from 5 to 8 bits. :eek: This must be a limitation MS put have in the IOCTL level for device drivers. When reading chars in fast, detecting a parity error for a byte is not possible. My question (I know I am supposed to be answering) is who/what is sending 9 bits, and with what kind of UART?:omg: Conrad - conradb@adroit.co.za Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC tutorial

  • Override Windows XP crash dialog
    C conrad Braam

    I would like to know if on the rare :-) occasion my app crashes, that instead of invoking drwatson32 on XP, and giving the lovely dialog to e-mail Microsoft, that it launches my own instead, so that it is easy for a customer to copy the log file to his own PC, and mail it to me from another PC. I then want to add additional info in my own app. My wish-list is a couple of reg keys or APIs, and also to be able to use this on NT4 and Win 2000. I have seen some apps that got to town, but I just want the neat basics, not a full-blown heapwalk/process demo! Conrad - conradb@adroit.co.za Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC sales

  • Template class with unlimited parameters (Advanced)
    C conrad Braam

    I want to create a template class, with unlimited # parameters, basically I need a special template that is like a collection, but I can access each member directly. I want to create something like this class myclass : public mybaseclass { public: myclass(); DWORD myvalue1; DWORD myvalue2; DWORD myvalue3; }; I need to be able to have a different # of members "myvalue1" etc. each time. the difficult part is that the members must also be used in a function, that is part of the template also myclass::ReadMembers() { myvalue1=1; ... etc } so that I do not have to enter them again, I know macros let U do this kind of thing, but they do not work to well for this application so far. Templates are foweful, but not enough, I even looked at BEGIN_MESSAGE_MAP macro from MFC, because that idea might do it, but it can't as far as I can see.:confused: GRRR.... Maybe I need a 4GL language, not C++. Conrad - conradb@adroit.co.za Always do badly to start off, that way when you get the hang of it suddenly, everyone is surprised.

    C / C++ / MFC c++ wpf
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups