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

Search:

Type: Posts; User: pocruadhlaoich

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    2,863

    Re: WMI Get() fail

    Thank you everyone very much for all your help. I did as suggested and added CComVariant, CComBSTR, etc and also added the "SELECT * FROM " query as well. It was this final part that got it working,...
  2. Replies
    12
    Views
    2,863

    WMI Get() fail

    Hi,
    in the following code I want to iterate through "Win32_OperatingSystem" to find all variables and their values. Using GetNames() I can get the names of all the variables but the subsequent Get()...
  3. Replies
    1
    Views
    1,587

    Re: Debugging a C++/CLI child process

    Bump. Does anyone have any ideas please? I am in work and can try any suggestions. Thank you!
  4. Replies
    1
    Views
    1,587

    Debugging a C++/CLI child process

    OS = Windows 7
    IDE = Visual Studio 2012 update 4

    Hi,
    I have a 32-bit native C++ application that spawns a 32-bit native C++ child process. I have always been able to debug into both processes...
  5. Replies
    9
    Views
    5,237

    Re: Release with debug information

    Ahhh I see! Thanks very much for your help!
  6. Replies
    9
    Views
    5,237

    Re: Release with debug information

    Hi Paul,
    yes you are right. Optimisation was by default set to "Maximise speed /O2". By setting it to "Disabled /Od", then I am able to debug and view the values of the variables as they change. My...
  7. Replies
    9
    Views
    5,237

    Re: Release with debug information

    @VictorN I created a new "MFC Application" solution and added the test code above to the bottom of the application's ::InitInstance(). This was the entirety of the code that I added. I put a...
  8. Replies
    9
    Views
    5,237

    Release with debug information

    Hi,
    I am using Visual studio 2005 and would like to set up a "Release with debug information" build configuration. I created a sample MFC solution and to it added:

    =====

    std::vector<...
  9. Replies
    0
    Views
    691

    FTDI question

    I am about to do some FTDI work where multiple circuit boards are connected to a computer at the same time, some using VCP and others using D2XX ( I am new to this so I hope doing so is ok ). For a...
  10. Re: Mixing projects using and not using precompiled headers

    Ahh, I think I see now. I must do some testing :) Thanks!
  11. Re: Mixing projects using and not using precompiled headers

    Hi Viggy,
    thanks for your answer however I am not sure that I understand you. To my mind, every time the code would be compiled, it would require the non-precompiled base project to be built. After...
  12. Mixing projects using and not using precompiled headers

    Hi,
    I am working on a large C++ solution. I have set up precompiled headers for each of the existing projects and now need to add a new project that would be at the base of all the others ie it...
  13. Replies
    7
    Views
    1,960

    Re: How to program for very large arrays?

    Wow, seriously, thank you Lindley, nuzzle and monarch_dodra for the great information! From the testing I have done, std::deque really does appear to be the best fit that I have come across so far to...
  14. Replies
    7
    Views
    1,960

    Re: How to program for very large arrays?

    Hi Lindley,
    thank you very much for the information. I have been reading up on std::deque and it does seem like a possible option for me. If you don't mind my asking:...
  15. Replies
    7
    Views
    1,960

    How to program for very large arrays?

    I have a class Point that contains 3 floats. I need to create a very large array of this class. I also need to be able to dynamically increase and decrease the array. If the array was of constant...
  16. Thread: Lnk1107

    by pocruadhlaoich
    Replies
    1
    Views
    1,582

    Lnk1107

    wxWidgets = 2.9.1
    OS = Windows 7 32 bit
    IDE = Visual Studio 2005 with Microsoft Windows SDK 7.1

    Hi,
    I have just upgraded from wxWidgets 2.9.0 and Windows XP to the new configuration above. I...
  17. Replies
    6
    Views
    1,062

    Re: Automatically attach to a process

    I have just found that if I place DebugBreak() at the start of the second process, that will give me the option of opening a second instance of Visual Studio where I can then debug my second process...
  18. Replies
    6
    Views
    1,062

    Re: Automatically attach to a process

    Sorry Cilu, I should have been explained better. I have a multi-process application. My first process will start my second process. When debugging my first process, is there a way for me to be able...
  19. Replies
    6
    Views
    1,062

    Automatically attach to a process

    Hi,
    in Visual Studio 2005, does anyone know of a way to automatically attach to a process when debugging? Surely there must be some way of doing this.
    Thanks,
    Patrick
  20. Replies
    2
    Views
    1,179

    Re: Visual C++ 2005 redistributable

    Excellent Syslock, that is just what I wanted to know, thank you!
  21. Replies
    2
    Views
    1,179

    Visual C++ 2005 redistributable

    Hi,
    as far as I am aware there are three redistributable packages that would need to be installed on a customer's machine so that it would be able to run software that was developed on an XP OS...
  22. Replies
    1
    Views
    1,851

    32 bit .dll on a 64 bit machine

    Hi,
    is it possible to create a 64 bit C++ application on a 64 bit machine and for it to use external 32 bit .dll's that I am unable to change?
    Thanks,
    Patrick
  23. Re: Bug in C++ Language or Bug in C++ Compiler?

    Thanks for the help everyone, it is much appreciated :)
  24. Re: Bug in C++ Language or Bug in C++ Compiler?

    I tested the original code again in release and outside of the compiler (launched separately) and ran out of memory at about 70meg when strangeness was turned on. This also happened when I...
  25. Re: Bug in C++ Language or Bug in C++ Compiler?

    This time I ran ZuK's code using a VS 2005 release build:

    fragmentation.exe 0
    MakeStrangenessHappen = 0
    2003561 allocations, 2051645440 bytes allocated. ( total time = 3 minutes )
    ...
Results 1 to 25 of 31
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured