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

Search:

Type: Posts; User: Scrambler

Page 1 of 29 1 2 3 4

Search: Search took 0.04 seconds.

  1. Thread: Fax

    by Scrambler
    Replies
    0
    Views
    528

    Fax

    Hi to all!

    Can anybody help me in writing a fax program. I need to send/receive faxes via mobile phone. Solution must be platform-independent (PC, PocketPC and my own device will communicate a...
  2. Re: Serialization crashing only release version! Help!

    Yes, I know. But sometimes some messageboxes is a quicklier solution than debugging the release build.
    And I can say more - in my current project there was a problem like this - i tried to debug...
  3. Thread: Functions

    by Scrambler
    Replies
    14
    Views
    557

    Re: Functions

    Your function VehicleSale() requires 5 parameters. You declared it youself!
    So, pass 5 parameters to it and everything will be ok.


    void DisplayMenu(void)
    {
    int DisplayMenuSelection;
    int a,...
  4. Re: Serialization crashing only release version! Help!

    Sounds like "Help me, my code works fine in debug, but not in release. Any ideas?"... If you will not provide your code - probably nobody can help you.

    The only thing I can suggest - is to add...
  5. Replies
    3
    Views
    563

    Re: Newbie help (Threads/Server)

    Here is a cite from letter, I wrote sometime to one man:

    There are 2 projects in this archive. If you will build them - you
    will have 2 .dll files and 2 corresponding .lib files.

    1)...
  6. Replies
    4
    Views
    666

    Re: parse directory path string

    You can use GetFileAttributes() function. Search the forum, thread with question like yours were here... not so far...
  7. Replies
    5
    Views
    594

    Re: Copy file to a new lcoation

    You should use dlgFile.GetPathName() instead of dlgFile.GetFileName().
  8. Replies
    5
    Views
    499

    Re: how to converting a bitmap into a icon?

    You can try this, but I'm not sure - does Windows support icons larger than 48x48 pixels? BTW, what do you need such icons for?
  9. Replies
    5
    Views
    499

    Re: how to converting a bitmap into a icon?

    Also look at my article - it can be useful to you.
  10. Replies
    6
    Views
    636

    Re: What's wrong with this multiplication?

    It's all because of double - is a binary fraction. But not any decimal fraction can be represented via binary fraction.
  11. Replies
    2
    Views
    370

    Re: Sharing Dir in WinXP

    May be it is simplier to execute command "net share shared_name=c:\shared_path" or "net share shared_name=c:\shared_path /unlimited" or "net share shared_name /delete" (using ShellExecute() for...
  12. Thread: Title size

    by Scrambler
    Replies
    4
    Views
    411

    Re: Title size

    You can create window WITHOUT WS_CAPTION style. And allocate as much area for caption, as you want. Then you should handle it's paint in WM_NCPAINT message handler. And to handle mouse you should...
  13. Replies
    4
    Views
    462

    Re: stack overflow

    Please show the declaration of your variables. If contour and image6 variables are allocated in stack - it is expected behavior. Try to move them into heap. For example replace


    BYTE...
  14. Thread: Title size

    by Scrambler
    Replies
    4
    Views
    411

    Re: Title size

    Use SystemParametersInfo() function with SPI_SETNONCLIENTMETRICS parameter. See MSDN for details.
  15. Replies
    2
    Views
    494

    Re: A question about window's focus !

    Take a look to OnSetFocus() handler. It has a parameter - pointer to the CWnd, that previosly had focus. If this pointer is not null - you can call it's SetFocus() function.
  16. Replies
    3
    Views
    1,043

    Re: Working with UINT64 to String

    You got integer division in your code. Then compiler casts it to float. Try to use floating point division:


    Text.Format("%.2f MB/sec", (float)(Variable/(1024.0*1024)) );
    Use divisor of 1024.0...
  17. Replies
    1
    Views
    295

    Re: Function Templates

    Keyword class here isn't a class. It means data type class. AFAIR you can use keyword typename instead of class. But don't confuse, there will not be any classes. Class here is just a placeholder for...
  18. Replies
    2
    Views
    503

    Re: How to get the control type by handle!

    mynfred, take a look to the GetClassName() API function. It takes a handle and gives you a class name. For edit box class name will be "EDIT" and so on. Don't forget to use case-insensitive string...
  19. Replies
    4
    Views
    590

    Re: Extracting bits

    EPalm, first of all there is a problem with your struct.


    #pragma pack(push, 1)
    typedef struct
    {
    unsigned short a;
    unsigned char b;
    unsigned char c;
    }myStruct;
  20. Re: How to find a menu item's handler easily?

    The easies way is to open menu resource in resource editor, find your menu item, select it. Then press ctrl-w - it will open class wizard. In class wizard you'll see your handler function seleted -...
  21. Replies
    18
    Views
    2,812

    Re: Thread question: is this safe?

    In addition to words above I want to notice that if you have derived your class from one of standart classes and added some variables to it - you shouldn't pass handle, you should pass pointer, or...
  22. Re: help: howto prealloc a large file in disk?

    Try following sequence:


    SetFilePointer(hFile, 1024*1024*1024, NULL, FILE_BEGIN);
    SetEndOfFile(hFile);
    SetFilePointer(hFile, 0, NULL, FILE_BEGIN);

    I don't checked this, but I think that it...
  23. Replies
    24
    Views
    3,308

    Re: Meaning of tese Debug messages ?

    In additions to cilu's words I can suggest you to install MFC source code. Then you can see where memory was allocated in specified files. It can give you a clue.
  24. Replies
    2
    Views
    438

    Re: Autoscrolling after middle mouse click

    It is neither MS-specific, nor standart feature. If you want such behavior - you should do it by youself.
    0) Catch middle mouse click. Set some variable to 1 - it will indicate scrolling mode. Call...
  25. Replies
    6
    Views
    4,298

    Re: What is a BitMask

    In expression if(A&B==B) there are 2 operations.
    First is bitwise-and - &. Let for example A=01010101 (binary) and B=00111100. Bitwise-and result is a byte/word/dword (depending on operands) in...
Results 1 to 25 of 715
Page 1 of 29 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center