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

Search:

Type: Posts; User: richk

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    504

    Re: drive powered down??

    I call this function GetDevicePowerState(hFile, &PowerState).

    I think I am sure. PowerState is set to TRUE when it is powered up and FALSE when it is powered down. After I hear it spin up,...
  2. Replies
    2
    Views
    504

    drive powered down??

    I'm not sure if mine is a windows question or a C++/MFC question, but it is making me crazy. I am trying to solve a problem where a drive spins down "at a bad time". It occurs during a game, where...
  3. Replies
    3
    Views
    9,639

    Re: MASM with Visual C++ 2008

    I found it (ML.exe). It's in \Program Files\Microsoft Visual Studio 9.0\VC\bin
  4. Replies
    3
    Views
    9,639

    MASM with Visual C++ 2008

    I am sorry if this is the wrong forum, but I didn't know who to ask. I have visual studio 2008 standard edition. I need to assemble a small .asm file and I'm not sure how to do it. The current...
  5. Replies
    4
    Views
    1,220

    Re: How to get rid of unicode

    Thank you very much.
  6. Replies
    4
    Views
    1,220

    Re: How to get rid of unicode

    Thanks for the response, but there is nothing there defined for C++. I can see that in winuser.h, unicode is defined. One example is that this statement is executed as if that is true:

    #ifdef...
  7. Replies
    4
    Views
    1,220

    How to get rid of unicode

    I have finally decided to move into this century and am migrating some applications from VC 6 to Visual stusio 2008. I first need to upgrace some calss libraries I use, so I decided to build a small...
  8. Replies
    2
    Views
    658

    Convert C++ V6 to 2008

    Can anyone tell me how much of a pain it is to reuse classes and code written with visual studio 6.0 to run under visual studio 2008?

    thanks
  9. Thread: CPU temperature

    by richk
    Replies
    1
    Views
    539

    CPU temperature

    Does anybody know where I should start if I want to read the temperature sensors and fan-speed sensors?
  10. Thread: mfc printing

    by richk
    Replies
    2
    Views
    632

    Re: mfc printing

    thanks. Actually, I found out that if you put the following code in the WinApp module, all printers default to landscape. When the print dialog comes up, landscape is pre-checked.

    {
    PRINTDLG...
  11. Thread: mfc printing

    by richk
    Replies
    2
    Views
    632

    mfc printing

    Is there a small block of code I can add to force (or default) to landscape orientation, no matter which network or local printer is selected?

    thanks
  12. Replies
    2
    Views
    464

    Re: STL and VC++ Learning Ed.

    The file is simply vector, not vector.h - #include <vector>
  13. Thread: random shuffle

    by richk
    Replies
    3
    Views
    962

    Re: random shuffle

    The simple routine at the end of your post was the same way I originally coded mine, but I hoped that something else would be faster. I needed to shuffle an array many times to test a simulation. ...
  14. Thread: random shuffle

    by richk
    Replies
    3
    Views
    962

    random shuffle

    Does anybody have a fast routine to do a random shuffle of an array of integers? I have looked at the random_shuffle template, but I want to shuffle the array itself, rather than vectors. I have...
  15. Replies
    2
    Views
    670

    Build date and time

    Is there any way to get access to the time a build takes place? Not the date or time stamp for a particular source module, but the time of the most recent change to any source that went into the...
  16. Replies
    3
    Views
    536

    Re: Making toolbars come and go

    forget the last post. everything worked fine. I had screwed something on the controls.
  17. Replies
    3
    Views
    536

    Re: Making toolbars come and go

    thanks. the showcontrolbar almost works. it shows or hides the bar, but when it comes back, the size is incorrect (enough room for only 3 of 8 controls). When I drag the edge of the frame window,...
  18. Replies
    3
    Views
    536

    Making toolbars come and go

    I have 4 toolbars that I want to show selectively - 2 on the right side and 2 on the bottom, but never more than one at a time in each location. I tried to use the WINDOWPLACEMENT structure to hide...
Results 1 to 18 of 18


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)