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

Search:

Type: Posts; User: John E

Page 1 of 80 1 2 3 4

Search: Search took 0.11 seconds; generated 13 minute(s) ago.

  1. Thread: boost::bind

    by John E
    Replies
    2
    Views
    177

    Re: boost::bind

    Thanks laserlight. I discovered that the addition of some global namespace qualifiers seems to be helping - i.e.


    clist.add_connection (_connect (boost::bind (&compositor, ::_1, ::_2, ::_3)));...
  2. Thread: boost::bind

    by John E
    Replies
    2
    Views
    177

    boost::bind

    Can anyone explain (simply) what is meant by the symbols _1, _2, _3 etc, when used with boost::bind(). More importantly - was this supported by MSVC 8?

    I'm trying to build some code that has...
  3. Replies
    2
    Views
    2,268

    std container iterators

    When using an iterator with a std container (list / vector etc) sometimes it's possible to modify the container (e.g. delete an item) yet still carry on using the iterator - whereas in other cases,...
  4. Replies
    4
    Views
    331

    Re: 'C' Runtime (dumb question?)

    Linking statically you mean? Yes, that's not a bad idea at all. Thanks for the suggestion.
  5. Replies
    4
    Views
    331

    Re: 'C' Runtime (dumb question?)

    Oooh, that's very handy to know. Thanks for flagging it up to me!
  6. Replies
    4
    Views
    331

    'C' Runtime (dumb question?)

    Bit of a long story coming up... our products use InstallShield as their installer. We chose InstallShield because it can distribute the exact same OS components that we use when building our apps -...
  7. Replies
    11
    Views
    757

    Re: namespace expert needed :-(

    Thanks O'Reubens. The other possibility is Glib (from the GTK+ project). Our own project already uses Glib so with a bit of luck, that might hopefully be simpler than implementing all this Akupara...
  8. Replies
    11
    Views
    757

    Re: namespace expert needed :-(

    I spent a couple of hours experimenting this morning but even after following the suggestions here, I couldn't come up with anything that would compile. One thing that puzzled me was this code from...
  9. Replies
    11
    Views
    757

    Re: namespace expert needed :-(

    Wow, thanks for the info!

    I found one other header file which contains the text "implements_load" and "implements_store". In cut-down form it looks like this:-


    // header_C.h
    namespace...
  10. Replies
    11
    Views
    757

    Re: namespace expert needed :-(

    Here's the full build output (the first error is at that line I marked in red):-



    [Edit...] It seems to be expecting some base class templates where _size == 0 (but I don't understand why...
  11. Replies
    11
    Views
    757

    Re: namespace expert needed :-(

    Actually, in the original code it does (remember that I've stripped a lot of stuff out, to make the problem easier to reproduce).



    That would have been my next question! :) For corporate...
  12. Replies
    11
    Views
    757

    namespace expert needed :-(

    I'm building some code which has a lot of stuff in namespace Akupara. I've no idea what the word 'Akupara' actually means - but the namespace arrangement seems to be giving me a weird problem....
  13. Replies
    9
    Views
    507

    Re: Number of hardware processors (cores)

    Thanks guys. Shortly after posting I came down with some horrible virus (i.e. dizziness / cold / headache etc - not a computer virus!) but there's plenty of stuff here for me to investigate once I'm...
  14. Replies
    9
    Views
    507

    Number of hardware processors (cores)

    Hi guys. This is way out of my league but I thought someone here might have some ideas...

    Apparently there are various methods (GetSystemInfo() / GetLogicalProcessorInfoEx() etc) which can return...
  15. Replies
    6
    Views
    1,744

    Perl Re: Running a system command

    Yeah, I must admit I'm seriously contemplating that. If I rewrite it in C++ it'll most likely work first time. And even if it doesn't, at least I know I'll be able to fix it !

    I don't understand...
  16. Replies
    6
    Views
    1,744

    Perl Re: Running a system command

    Hi OReubens. I'm not very familiar with Perl but I assumed that's what its system command did?

    I found this new set of perl statements. These ones work in Windows 7 and Windows XP - but not for...
  17. Replies
    6
    Views
    1,744

    Perl Re: Running a system command

    Bumping this question as a new problem has come to light....

    The perl system command seems to work - AND - if the launched program outputs any text, I can see the text in my command prompt...
  18. Replies
    4
    Views
    413

    Re: GetStdHandle() (Windows 8 / 8.1)

    Thanks OReubens. I swapped my original order and tested on Win7 and Win8.1 (where it now appears to work on both). I haven't tried XP yet but hopefully that'll work too. :thumb:
  19. Replies
    4
    Views
    413

    Re: GetStdHandle() (Windows 8 / 8.1)

    Interesting, thanks for the tip... I modified the code to look like this:-

    BOOL bConsole; FILE *pStdOut = 0, *pStdErr = 0;

    AllocConsole();
    HANDLE hStdOut =...
  20. Replies
    4
    Views
    413

    GetStdHandle() (Windows 8 / 8.1)

    A few years ago I asked a question about how to attach a DOS console to a Windows app (i.e. so that if the app was launched from a DOS console, the user would be able to see printf output etc). In a...
  21. Replies
    2
    Views
    372

    Re: Fatal errors C1047 and C1900

    In the end I deleted all the 'build generated' files (.suo / .ncb / .exp / .ilk / .pdb etc). Then I did a Clean, followed by a full Rebuild of the project. Voila! It seems to have worked! Many thanks...
  22. Replies
    2
    Views
    372

    Fatal errors C1047 and C1900

    I've encountered a really bizarre problem this morning. I've been using VS2005 for many years without any problems. This morning I needed to rebuild a library called gdk-pixbuf which I've built many...
  23. Replies
    4
    Views
    440

    Re: _environ

    Thanks 2kaud. I should have mentioned that I need to keep the solution portable if possible - so something cross-platform would be preferable.

    [Edit...] this turned out to be due to a logic...
  24. Replies
    4
    Views
    440

    [RESOLVED] _environ

    I'm working with some code that uses the environment array _environ. It contains a few sections which look like this:-


    char** the_environ = _environ;

    for (size_t i = 0;...
  25. Re: This application requested the runtime to terminate it in an unusual way

    Hi Igor, you're in the right area but that's not exactly what's happening....

    To give some background, I'm converting an app that was written by somebody else. The app was originally written for...
Results 1 to 25 of 1999
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