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

Search:

Type: Posts; User: Bob H

Page 1 of 6 1 2 3 4

Search: Search took 0.15 seconds.

  1. Re: Numerous problems when application is started using "Open with"

    Setting the working directory fixed the problems. Thanks.

    I guess it wasn't necessary when I was compiling with Visual C++ 6.
  2. Numerous problems when application is started using "Open with"

    When the file that my application saves is opened using right-click/Open with, there are many mysterious problems:

    1) AfxMessageBox will not work (based on a small sample) from anywhere in the...
  3. Replies
    2
    Views
    1,532

    How to enumerate font styles for a given font

    I recently switched from Visual C++ 6.0 to Visual C++ 2008.

    With Visual C++ 6.0, I used a callback method to get available font styles for a given font. I don't think that is working correctly...
  4. Replies
    6
    Views
    2,559

    Re: long long data type

    Thanks, I did the manual replace. With some other related changes, I got it to compile.
  5. Replies
    6
    Views
    2,559

    Re: long long data type

    I tried:

    #define long long __int64

    and

    typedef __int64 long long

    Both produce compiler errors.
  6. Replies
    6
    Views
    2,559

    long long data type

    I am trying to compile third party c code in Visual C++ (10 years old).

    Long long data type is used extensively (thousands of times).

    Example: PrintLongInteger(void *,char *,long long);

    I...
  7. Thread: InitHashTable

    by Bob H
    Replies
    1
    Views
    1,273

    InitHashTable

    I am using CMapStringToOb. Is it necessary to call InitHashTable(...) before inserting elements into the map? I don't know the size at that point in time.

    This question was asked previously on...
  8. Replies
    1
    Views
    879

    Embedded manifest for Vista with VC 6.0

    Is impossible for an application created in Visual C++ 6.0 to receive a "Certified for Vista" logo.

    If so, what are the reasons?

    Is one of them the inability to embed a manifest suitable for...
  9. Replies
    4
    Views
    1,228

    Re: convert unicode codepoint to character

    I am still struggling with the first problem. You created a string using hex constants. How do I create that string if the code points are variables? In other works, how do I form an escaped hex...
  10. Replies
    4
    Views
    1,228

    Re: convert unicode codepoint to character

    How do I go the other direction -- from a unicode string to code points?
  11. Replies
    4
    Views
    1,228

    Re: convert unicode codepoint to character

    Thank you. I have been searching for days on how to do this.
  12. Replies
    4
    Views
    1,228

    convert unicode codepoint to character

    How do I convert a unicode code point into a UTF-16 encoded string in Visual C++ 6?

    I believe there is a .net function called ConvertFromUtf32 which does what I want.
  13. Replies
    3
    Views
    1,127

    Re: Get image dimensions

    All image formats (jpg, gif, png, etc).

    I believe that GDI+ only comes with Windows XP. I don't want to have to dramatically alter my program and installation to simply get image dimensions.
  14. Replies
    3
    Views
    1,127

    Get image dimensions

    When I mouse over image files in Explorer, the dimensions of the image along with file size display in a tooltip popup.

    Is there a simple command that will provide the dimensions of an image file...
  15. Replies
    1
    Views
    1,224

    /heap: linker option

    I want to allocate the heap size in Visual C++ using Project > Settings > Link tab. It seems like it is only possible to allocate the stack size using this screen. There should be a way to add /heap:...
  16. Replies
    0
    Views
    506

    SetDIBits destruction issue

    In using SetDIBits to assign an array of bitmap bits to an bitmap, is the array of bitmap bits automatically destructed when the bitmap is destructed or do both have to be destructed separately?

    I...
  17. Replies
    9
    Views
    1,314

    I know how to do that. Thanks. I got this...

    I know how to do that. Thanks.

    I got this Office XP menu code off CodeProject. I have posted on the forum associated with the code if this approach of excluding calls to the code at runtime will...
  18. Replies
    9
    Views
    1,314

    I am getting runtime errors when the application...

    I am getting runtime errors when the application runs on Window 95 machines like "... exe file is linked to missing export USER32.DLL: Track Mouse event".

    I believe I can solve this by excluding...
  19. Replies
    9
    Views
    1,314

    Conditional compilation by Windows version

    I want to conditionally compile sections of code if the Windows version is not Windows 95.

    Am I correct in assuming that I can't use ::GetVersionEx?

    Am I correct that #if (WINVER > 0x400) will...
  20. Replies
    7
    Views
    1,378

    gdileak.exe

    Do you have a link for this application? It does not turn up in a search on the internet or on Microsoft. Also, the Microsoft link is no longer valid.
  21. Replies
    3
    Views
    1,801

    I want to destroy it before the parent is...

    I want to destroy it before the parent is destroyed. The toolbar has a very short lifetime on the order of a minute. It is a fly-out toolbar.
  22. Replies
    3
    Views
    1,801

    Destroy toolbar created with new

    How do I destroy a toolbar created with new operator?

    Do I use the same technique as I would with a modeless dialog box -- call DestroyWindow() and create a PostNCDestroy with a delete this or is...
  23. Replies
    0
    Views
    475

    Indent tabctrl tabs

    I have seen several examples of tabs in a tab control that are indented from the left side

    +-----+ +------+
    +--+ +-+ +------------
    |
    |
    |

    I can't find any commands that...
  24. Replies
    5
    Views
    951

    Thanks. GetModuleFileName works. It is odd...

    Thanks. GetModuleFileName works.

    It is odd that when I run the application from the developer environment I get long file names and when I run it by double-clicking on the project file, I get...
  25. Replies
    5
    Views
    951

    Directory of application

    How do I get the directory of the .exe application? It is not necessarily the current working directory because the project file may have been opened by double-clicking? I need to get a path for...
Results 1 to 25 of 126
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured