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

Search:

Type: Posts; User: zerver

Page 1 of 63 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    129

    Re: Cannot find the function DlgProc?

    Or maybe you forgot to include the file that contains the DlgProc implementation in your project?
  2. Replies
    11
    Views
    281

    Re: looking for source crypter

    :) I don't assume anything, but the way the question was asked makes me think there is not a senior software dev at the other end.

    However, I did have some early suspicions that he was a spammer,...
  3. Replies
    11
    Views
    281

    Re: looking for source crypter

    Not meaning to discourage you in any way, in fact the opposite, but you should be prepared for a hefty task.
    Reverse-engineering, self-encrypting/decrypting executables and such are not exactly...
  4. Replies
    11
    Views
    281

    Re: looking for source crypter

    Your question is not very clear. I assume AV refers to antivirus, and your exe is performing some activities that can be recognized as suspicious by antivirus heuristic analysis? Patching of binaries...
  5. Replies
    5
    Views
    240

    Re: Homework Assistance Needed

    Typically when dealing with integers using the less-than-or-equal (<=) and greater-than-or-equal (>=) operators will make the code more readable.

    For example, instead of X < 3 you would write X <=...
  6. Replies
    3
    Views
    219

    Re: got a question for my code.

    You need to work on your debugging skills. Put a breakpoint before the section that prints stuff and find out why this code never is reached by your program.
  7. Re: CButton SetCheck problem with Unchecking

    Unless I am mistaken, it should be something like:


    if(m_CheckBoxRemem.GetState() & BST_CHECKED)
  8. Replies
    7
    Views
    401

    Re: 2 programs, 1 dll sharing variable.

    Technically speaking, you cannot store variables to a DLL. A DLL is just a collection of program code that can be shared between applications.

    What you are looking for is globally allocated...
  9. Thread: link/build app

    by zerver
    Replies
    3
    Views
    253

    Re: link/build app

    Sorry, I did not read your original post carefully enough. If your 3rd party library is static already, you can ignore the warnings and forget the rest that I said.
  10. Replies
    8
    Views
    356

    Re: Program runs ONLY if debugger is attached

    Did you get any hint at what the problem could be when you pressed Retry in the crash dialog?
  11. Thread: link/build app

    by zerver
    Replies
    3
    Views
    253

    Re: link/build app

    The reason you are getting the error without the /MD is probably that the library you downloaded is of "multithreaded dll" type. This is fine and will not give you any problems.

    However, what you...
  12. Replies
    4
    Views
    201

    Re: Prompt "New file" procedure

    http://forums.codeguru.com/showthread.php?225881-How-to-Call-OnNewDocument-from-the-code
  13. Replies
    8
    Views
    293

    Re: Size from CImageList

    Yeah, that's much better.
  14. Replies
    8
    Views
    293

    Re: Size from CImageList

    You're welcome. A solution that works is always better than a solution that doesn't, no matter how ugly the code is :D
  15. Replies
    8
    Views
    293

    Re: Size from CImageList

    Okay, then maybe this workaround:

    int n = list.GetImageCount();
    list.SetImageCount(n + 1);
    list.GetImageInfo(n, ...);
    list.SetImageCount(n);
  16. Replies
    8
    Views
    293

    Re: Size from CImageList

    CImageList::GetImageInfo
  17. Re: Are these static variables local or global ?

    You will not have any collisions unless the variables have same name and are declared outside any class, function or namespace.

    Keep in mind that such a function-declared static variable can be...
  18. Re: OpenGL - 2D Movement with respondtokeypress

    This illustrates another problem. Now our assistance has made you think a switch statement is something awesome, and you will surely try to use it soon again. In reality, the switch statement is...
  19. Re: OpenGL - 2D Movement with respondtokeypress

    The code you posted will not compile, but at the same time you say that your object moves when you press a key. This does not make sense.

    Also, the code you posted makes me think you don't...
  20. Replies
    6
    Views
    412

    Re: MFC App & Physical Memory

    As stated, an increase in memory is a problem, but only if it continues forever. Leave your app for a few hours or days to see what happens. Many allocators can behave in a way that makes you think...
  21. Replies
    1
    Views
    217

    Re: CDHtmlDialog : Memory Management

    A while loop does not sound like the correct choice. I recommend you try use a timer ::SetTimer(...) and in the timer handler function update the picture.

    If it still does not help, maybe a bug in...
  22. Re: Can anyone help me with writing this program?

    Then you should read a good book on C++ programming or go through quite a few web tutorials before you post any questions.

    Generally speaking, no one here will write a program for you. What we may...
  23. Replies
    3
    Views
    245

    Re: Arrays and Enumerated Data Types

    Hi!

    Please note that int divided by int will yield an int. So 1 / 4 = 0, 5 / 4 = 1. This can be confusing, and in your example, maybe you should divide by 4.0 and 8.0 instead.

    Also, you must...
  24. Re: Selecting right enviroment for programming vb vs vc 2013

    Your best bet if you want a universally working standalone exe is actually to stick with an old version of Visual Studio and do static linking of everything.
    With newer versions you risk ending up...
  25. Re: CreateProcess and WaitForInputIdle, problem

    Infinite waiting is also a bad solution.
    Maybe try a loop with repeated calls to FindWindow(), and you can then verify that the found window is the correct one using GetWindowThreadProcessId().
    ...
Results 1 to 25 of 1571
Page 1 of 63 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