Search:

Type: Posts; User: Robert602

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,654

    That's fine in all apart from that you're still...

    That's fine in all apart from that you're still not making sure the buffer is null terminated. If it doesnt have a null character in it somewhere, MessageBox won't know where the string ends and it...
  2. Replies
    14
    Views
    1,654

    LPTSTR mes; wsprintf(mes,"%d",buffer); This...

    LPTSTR mes;
    wsprintf(mes,"%d",buffer);
    This code isn't safe (it isn't as strcpy either). I don't know how much you know about managing memory, but LPTSTR is a TCHAR*, ie. a pointer to a space in...
  3. Replies
    0
    Views
    1,293

    Does anybody recognise this checksum?

    Just out of curiosity this really, I found this checksum algorithm by a bit of reverse engineering of some old network code, it was being used to check UDP datagrams. I wondered if some of the more...
  4. Replies
    3
    Views
    2,354

    Thanks, I'll give that a try. I'll probably have...

    Thanks, I'll give that a try. I'll probably have to implement a pipes system alongside a temp file method though, apparantly win9x doesnt support creating named pipes:rolleyes:, fortunate that 9x...
  5. Replies
    3
    Views
    2,354

    File handle to a memory location

    I'm working with a pair of third party APIs trying to play a video straight (SMK format) out of a compressed library (MPQ format). I can use the mpq api to extract the video out of the library into a...
  6. Replies
    4
    Views
    1,381

    Yeah, I'm trying to solve for x (in radians).

    Yeah, I'm trying to solve for x (in radians).
  7. Replies
    4
    Views
    1,381

    Trig question

    A fairly simple equation by the looks of it but one I dont have a clue how to solve, somebody give me a hand please:

    46/27 = tan(1.5x)/tan(x)

    I've managed to get the solution graphically, but...
  8. Code executing during compilation, performing registration?

    I have an MFC MDI application to which I've added a login screen. For privacy reasons the login needs to appear before any of the doc/view stuff is open, and prefereably before the main window is...
  9. Replies
    9
    Views
    14,233

    Thanks for the links, but the problem with every...

    Thanks for the links, but the problem with every other piece of MBM type software I've found, is that they expect monitors to be accessible on the southbridge, as is normal, but these monitors arent...
  10. Replies
    9
    Views
    14,233

    Unfortunately that company is microsoft, and I...

    Unfortunately that company is microsoft, and I very much doubt they'll respond with any haste.

    I've been told by another person that attempted this before (who isnt available to help) that the EC...
  11. Replies
    9
    Views
    14,233

    ACPI functions

    Hi, I'm working on some motherboard monitoring software for a motherboard whose only temperatures monitors are in an ACPI chip, which is blocked off by windows ACPI drivers in XP / 2000. I'd like to...
  12. Replies
    4
    Views
    1,397

    Generally I'd agree with you, but I got myself...

    Generally I'd agree with you, but I got myself one of these a bit ago and while a desktop would've been much cheaper, gaming laptops do exist.

    If by refresh rates you mean response times, then...
  13. Replies
    10
    Views
    1,219

    If you mean within your own project, I'd suggest...

    If you mean within your own project, I'd suggest simply using find + replace (Ctrl+H in visual studio) and replacing all occurences of printf with //printf and vice versa.
  14. Replies
    2
    Views
    867

    That's it :D, thanks for the help, and for the...

    That's it :D, thanks for the help, and for the quick reply.
  15. Replies
    2
    Views
    867

    Pointer without a type

    Hi, I'm beginning my first game and was wondering how to implement seperate loops for in game, main menu etc. An idea I was trying to use is to have a base class 'CLoop' and then derive different...
  16. Replies
    6
    Views
    5,661

    Thanks again, it's all working now. I took ...

    Thanks again, it's all working now. I took
    WPARAM wParam, // combo box identifier, CBN_SELCHANGE
    on MSDN to mean that the wParam should be the message identifier specific to the combo box, eg...
  17. Replies
    1
    Views
    804

    You mean the "Runtime Error: Do you wish to...

    You mean the "Runtime Error: Do you wish to debug?" dialog? As far as I know that's disabled by checking IE->Tools->Internet Options->Advanced->Disable script debugging
  18. Replies
    6
    Views
    5,661

    Thought I was getting somewhere, but I still cant...

    Thought I was getting somewhere, but I still cant get it to work. Learnt a lot about windows messaging and related functions for this, and I cant understand why the following code isnt triggering...
  19. Replies
    6
    Views
    5,661

    Thanks for the help, I've managed to capture the...

    Thanks for the help, I've managed to capture the VK_RETURN message in PreTranslateMessage() by subclassing a combo box. My problem is in writing the code to let this return be picked up by an...
  20. Replies
    0
    Views
    1,150

    Automation (or similar) without MFC

    I'm doing a remake of an MFC application I made a while ago, but this time in pure API, because of no time restraints this time around and because I prefer having an understanding of code I have...
  21. Replies
    4
    Views
    1,131

    Programming with windows (a message based...

    Programming with windows (a message based architecture) has a lot of advantages over simple console style apps. Just look at the browser you're currently using, it would be practically impossible to...
  22. Replies
    6
    Views
    5,661

    Capturing 'enter' key in combo box

    This is a question I probably should know the answer to, having been programming in MFC for nearly a year now, but so far I've managed to avoid it. Is there any way to capture the enter key in the...
  23. Replies
    3
    Views
    4,408

    If you used C++ and MFC you could use your app as...

    If you used C++ and MFC you could use your app as an automation client for excel and automate excel to enter data and make graphs. It's relatively easy to do with MFC, and there are some good...
  24. Replies
    1
    Views
    2,910

    Apparantly VC.NET generates seperate header files...

    Apparantly VC.NET generates seperate header files for each interface, rather than combining them all into msword.h, found a more up to date article on knowledge base.
  25. Replies
    1
    Views
    2,910

    Missing msword.h

    I've got an annoying problem of a missing header file, which I need to use Word through automation. Microsoft 'HOWTO's imply that I should already have the required files, but I get a file not found...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4