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

Search:

Type: Posts; User: billw

Page 1 of 2 1 2

Search: Search took 0.25 seconds.

  1. Replies
    0
    Views
    381

    Catching data for profiling.

    I want to be able to catch and log events in my program such as File I/O (all reads and writes) and network activity (File I/O is the important one, other data would be a bonus). I want this to be...
  2. Profile guided optimization, configurations.

    I am trying to set up a profile guided optimization build configuration (well two really, one for the instrumented build, and one for the optimized build), but this does not seem to work.
    The...
  3. Replies
    1
    Views
    1,590

    LNK2020: Constructors in .cpp files?

    I am trying to place a constructor for one of my managed CLI/C++ classes in a .cpp file (instead of inline in the class declaration). I always get:
    >> Error 15 error LNK2020: unresolved token...
  4. Replies
    2
    Views
    1,825

    Re: _SECURE_SCL and Release mode.

    I am pretty certain I defined _SECURE_SCL as 0 in all my projects. I tried setting it through the Preprocessor settings and I created an include file with the define and included it in the stdafx.h...
  5. Replies
    2
    Views
    1,825

    _SECURE_SCL and Release mode.

    I have errors occurring only when I have _SECURE_SCL (iterator checking for STL) off (defined as 0) and am in release mode. If I change either of these things then I get no problems. Any known...
  6. Replies
    7
    Views
    1,109

    Re: Vc++ Confused By Namespaces?

    Have you got a "using namespace" declaration in any of your header files? That could cause your problem.
  7. Replies
    2
    Views
    2,529

    Re: boost::static_pointer_cast problem.

    Yes you are right. I tried to recreate the problem in a single project with just the bare bones, and it worked fine. I went back and changed my code back to how it was when the problem was occuring...
  8. Replies
    2
    Views
    2,529

    boost::static_pointer_cast problem.

    I am getting the following error trying to use boost::static_pointer_cast with shared_ptrs:


    Error 19 error C2440: 'static_cast' : cannot convert from ...
  9. Thread: Opengl?

    by billw
    Replies
    8
    Views
    1,030

    Re: Opengl?

    OpenGL has a set of functions for picking/selection, and also for feedback. If you are doing OpenGL then you should get the OpenGL Programming Guide (AKA the Red Book) at least.
    Good tutorials at:...
  10. Replies
    3
    Views
    1,169

    Re: What keys are being pressed.

    I'm really looking for a ready made program, I don't want to have to write my own software to do it!
    Thanks!
  11. Replies
    19
    Views
    8,486

    Re: Nature of work in C++?

    Fresh development and support. I do inhouse development of 3D modelling and animation tools for a digital media company (www.artem-digital.com). Its only me and one other programmer so we do the...
  12. Replies
    3
    Views
    1,169

    What keys are being pressed.

    I am trying to do Video Training Manuals for some software, and need some program that will display on screen what keys and mouse buttons are being pressed. Does anyone know of such a thing? I have...
  13. Replies
    12
    Views
    1,439

    Re: Developer Accountability...

    Are you talking just about enterprise development here or SE in general? (I write inhouse software for an digital media company so I'm not sure if my opinion on these topics is what you want to...
  14. Re: Recompiling a library with a seperate interface.

    Hmm I got it to work. The problem was the extern "C" in the seperate interface file, as I recompiled it in C++ I guess it messed up the name mangling so it didn't match. I had tried removing it...
  15. Re: Recompiling a library with a seperate interface.

    If I am compiling something as C++ and a construct gives a compile error then it IS a bug in that context. So thanks for clarifing that...
    If you read my post I said the problem is that I am...
  16. Recompiling a library with a seperate interface.

    I am trying to get the 3ds file toolkit (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=7481394) to work with my code which is developed using VS2005. Initially I couldn't get the toolkit...
  17. Thread: GUI problems!

    by billw
    Replies
    1
    Views
    754

    GUI problems!

    I am having a few problems getting the various .NET visual components to do what I want them to.
    How do I make a panel or flow container show scroll bars when items are outside the client area?
    How...
  18. Thread: Undo and Redo

    by billw
    Replies
    12
    Views
    2,203

    Re: Undo and Redo

    Yeah sorry, it was late when I was writing that, looking back it must be very confusing, especially the code, with Command not declared anywhere!
    What I was trying to do with the example code was...
  19. Thread: Undo and Redo

    by billw
    Replies
    12
    Views
    2,203

    Re: Undo and Redo

    Command is a design pattern, not an interface! Look up design patterns on wikipedia. I have implemented the Command pattern into a C# interface which I also called Command. The two are not the same...
  20. Replies
    7
    Views
    3,242

    Re: Design Pattern - Momento

    Yeah thats actually what I do, it is derived from the Command class, then any memento commands are derived from it! Actually there are different types depending on the nature of the memento, and the...
  21. Replies
    7
    Views
    3,242

    Re: Design Pattern - Momento

    A combination of Command and Memento works well. If the operation only changes a small part of the document then an explicit undo (the inverse of the command) is good, but if lots of the document is...
  22. Thread: Undo and Redo

    by billw
    Replies
    12
    Views
    2,203

    Re: Undo and Redo

    Okay I am typing this from scratch so it may have errors, I am really busy with work so I haven't got time to detail this that much (I started writing this post last Wednesday, haven't had a chance...
  23. Replies
    4
    Views
    2,321

    Re: Weird error message!

    No, the problem is something to do with the List<> of interfaces in the class that the control is derived from, which in turn is derived from UserControl:
    UserControl
    - MyClass
    - MyClass2
    ...
  24. Replies
    4
    Views
    2,321

    Weird error message!

    "ResX file Object of type 'X' cannot be converted to type 'X'. Line 131, position 5. cannot be parsed."
    I have a List<> collection of interfaces in a class which I am deriving a UserControl from,...
  25. Thread: Undo and Redo

    by billw
    Replies
    12
    Views
    2,203

    Re: Undo and Redo

    This is what my Commands namespace looks like. All program commands get derived from the Command abstract class (there was a reason it wasn't an interface, but I can't remember what it was now, but I...
Results 1 to 25 of 38
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)