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

Search:

Type: Posts; User: Armen

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    784

    Re: size of Polymorphic class

    As it was mentioned it is up to compiler what the sizeof(Base) is. The only requirement is that the size of the class should be greater than zero. However if you want to understand from where 16...
  2. Replies
    3
    Views
    1,905

    Re: inline assembly and 64 bit usage

    Inline assembler can not be used in C/C++ sources which are compiling to x64 target platform (_asm and __asm keywords are not supported on x64 architecture).

    Intrinsics are small low-level...
  3. Replies
    2
    Views
    3,783

    Re: VS2010 & native C++ Web service

    Let me share 3 ways to use web services from C++ known to me:

    1. Windows Web Services API. Also there is an article available. The problem is that WWSAPI is available only starting from Windows 7....
  4. Replies
    6
    Views
    1,415

    Re: Internet Explorer Events

    I'm not speaking about the extension. I meant to hook Web Browser's native IOleCommandTarget interface, which exists during lifetime of IE process. And Exec method is called in much more cases, than...
  5. Replies
    6
    Views
    1,415

    Re: Internet Explorer Events

    OK.
    I'm not sure about any documented way to do that.
    For undocumented way you may try to hook IOleCommandTarget interface and particularly its Exec method. Exec method is invoked when user...
  6. Replies
    6
    Views
    1,415

    Re: Internet Explorer Events

    You may take a look at DWebBrowserEvents2 interface.


    DWebBrowserEvents2::BeforeNavigate2 event is fired, when browser is going to be navigated to some URL. The second parameter of...
  7. Thread: arrays mininum

    by Armen
    Replies
    2
    Views
    421

    Re: arrays mininum

    At least the name itself.
    According to its name in the definition it should be MinimumEntry.
  8. Replies
    2
    Views
    876

    Re: Profiling a DLL with Visual Studio 2005

    There is a simple Very Sleepy profiler released under GNU Public License. In contrast to Visual Studio stand-alone profiler, it has some GUI and doesn't require compiling the module with /PROFILE...
  9. Replies
    13
    Views
    3,334

    Re: Calling non-static functions from WndProc()

    I'll suggest you to use SetProp and GetProp functions from Windows API.
    Once the window is created, you can set the pointer to your class as the property of the window using SetProp.
    Then in...
  10. Thread: infinate loop

    by Armen
    Replies
    2
    Views
    436

    Re: infinate loop

    You should give integer code of the character from ANSII character set to isdigit function. But in your code you gave the integer value (length is implicitly cast from float to int).
    You can define...
  11. Replies
    11
    Views
    1,322

    Re: The ZeroMemory macro and OPENFILENAME

    That crash (if any) is out of the responsibility of the developer who uses OPENFILENAME structure. It is the responsibility of the person who designs GetSaveFileName/GetOpenFileName functions and...
  12. Replies
    11
    Views
    1,322

    Re: The ZeroMemory macro and OPENFILENAME

    Well, Here is an example in MSDN of using GetSaveFileName without ZeroMemory call.
    In your code it is the ZeroMemory that initializes a variable of OPENFILENAME structure with 0-s, and not...
  13. Replies
    2
    Views
    407

    Re: Visual 2010 Studio

    How to: Reset Your Settings
  14. Thread: Code

    by Armen
    Replies
    3
    Views
    407

    Re: Code

    Then why you are using i>=integer condition to end the for loop instead of using i < integer (or i <= integer)?
  15. Replies
    1
    Views
    393

    Re: Parallel programming in Visual C++ 6

    You may take a look at Intel&#174; Parallel Studio, which plugs into the Visual Studio IDE (including VS 6.0). But in my opinion it is better to switch to the newer versions of Visual Studio, which are...
  16. Replies
    1
    Views
    1,592

    Re: Inline Assembly in a Driver for Hard Drive IO

    1. Most probably the answer would be "yes", if the driver is kernel
    mode driver.

    2. The usage of inline assembly is not dependent from particular function or
    interrupt. It only...
  17. Replies
    2
    Views
    464

    Re: 64-bit COM, can't obtain an interface

    Did you build and register proxy/stub DLL for your interfaces?
    If you are going to use your COM server with both 32-bit and 64-bit applications, you need to build and register both 32-bit and 64-bit...
  18. Replies
    9
    Views
    707

    Re: Generating Exe from exe

    Instead of *.exe generation, why you don't want to consider to write one simple application (*.exe), which will display MessageBox with different text supplied by command line when application is...
  19. Thread: Error 2065

    by Armen
    Replies
    3
    Views
    2,553

    Re: Error 2065

    You are using str_Group, str_Command, GroupBox and CommandBox variables in CAboutDlg class, which are declared in CUSBDlg class, so compiler doesn't recognize them.
  20. Re: GetAsyncKeyState alternative for a process hotkey.

    It is not clear why you are avoiding to use windows messages approach (for example SetWindowsHookEx function).
  21. Re: How to make CComboBox response to WM_RBUTTONDOWN message?

    As the name implies combo box is a "combination" of edit box and list box.
    So when drop down list is shown list box is activated, when it is closed edit box is activated.
    To get the window handle...
  22. Replies
    1
    Views
    2,211

    Re: Add version information to DLL

    You need to add version resource into your project and then edit it.
  23. Replies
    1
    Views
    314

    Re: How to copy a file

    Following functions from Windows API can be used:
    CopyFile and CopyFileEx.
  24. Replies
    4
    Views
    552

    Re: CALLBACK errror on class

    You can handle WM_LBUTTONDOWN message in LowLevelKeyboardProc as below:


    case WM_LBUTTONDOWN:

    PostQuitMessage(0);
    break;


    This will allow to exit from the message loop in _tmain when left...
  25. Replies
    2
    Views
    953

    Re: ATL COM server visual studios

    The problem might be in the prototypes of the functions.
    If you look at the errors generated by the compiler you will observe that only the functions that have signed char type as one of the...
Results 1 to 25 of 202
Page 1 of 9 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