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

Search:

Type: Posts; User: hobnob

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: how to change a 24bit bitmap to a 32bit bitmap using GDI+

    worked it out, draw it in memory to 24bit then save.

    Image* image = new Image(L"temp.bmp"); // 32bit image

    Bitmap *dest = new Bitmap(image->GetWidth(), image->GetHeight(),...
  2. how to change a 24bit bitmap to a 32bit bitmap using GDI+

    I mean 32bit to 24bit image.

    Hi,

    I have a bitmap file temp.bmp that is a 32bit image, now I want to resave it as 24bit image but for some reason the code below is still saving it as a 32bit...
  3. Replies
    1
    Views
    416

    MFC PRINTDLG release memory issue

    Hi,

    If I do below code at the bottom of this message without the global free over and over then more and more memory is used without been free'd.
    now, if i try and globalfree like below then the...
  4. Unhandled Exceptions different in 64bit? / vs2008

    I have a program that works fine in 32bit mode on vs6.

    but in 2008 64bit it sometimes gets an unhandled exception crash in the following code (PostMessage line):-

    Is something different in...
  5. enable virtualiztion in 64bit mfc c++ app? how?

    Ok, I have a version of an app in 64bit but the problem is under program files on windows 8 64bit it doesn't have access to the programs files folder... usually virtualiztion will redirect it to the...
  6. Re: error C3861: '_L': identifier not found in VS2008 only. (works ok in VC6)

    ok, worked it out... maybe my example wasn't clear enough, anyway:-

    CStringW strLicenseKey = _L("TEXT HERE");

    should be:- (to work on 2008)

    CStringW strLicenseKey = L"TEXT HERE";
  7. Re: error C3861: '_L': identifier not found in VS2008 only. (works ok in VC6)

    ok, worked it out... maybe my example wasn't clear enough, anyway:-

    CStringW strLicenseKey = _L("TEXT HERE");

    should be:- (to work on 2008)

    CStringW strLicenseKey =...
  8. error C3861: '_L': identifier not found in VS2008 only. (works ok in VC6)

    I'm converting a working unicode app dll from vc6 to vs2008, but I'm getting a compile error: '_L': identifier not found

    example line of code:-

    if(*strPrinter==_L(""))


    The program already...
  9. Re: 0xc000007b on startup in 64bit debug mode, log file???, how to check which DLL ?

    fixed it... was an old manifest in the resources with x86.

    cheers.
  10. Re: 0xc000007b on startup in 64bit debug mode, log file???, how to check which DLL ?

    ok, done a windbg and found possibly something - looks to be loading x86 common controls, but how do I fix that?

    CommandLine: "Y:\lees\vc\Test\x64\Debug\test.exe"
    Symbol search path is:...
  11. 0xc000007b on startup in 64bit debug mode, log file???, how to check which DLL ?

    Hi,

    I'm converting a 32bit app to 64bit in VS2008 and i'm having a startup issue when debugging in 64bit mode, how can you find what DLL it is aborting on? is there a log somewhere? it's not...
  12. Re: CMap issue when converting project from VS6 to VS2008

    fixed it! put class CMap; before that line of header code and now it works. weird.

    hobnob
  13. CMap issue when converting project from VS6 to VS2008

    Hi,

    I'm converting a large project to VS2008 from VS6 and i'm getting a strange template problem on VS2008 only, hope someone can help.

    I have an include file which has the line:-
    class CMap; ...
  14. MS Outlook automation connection warning issue - msoAutomationSecurityForceDisable

    Hi,

    Can anyone shed any light on how to set the security property from the outlook .olb file which has been class imported. I can't work out how to access set msoAutomationSecurityForceDisable...
  15. Replies
    0
    Views
    768

    HDC dc to CBitmap issue.

    Hi,

    I can't get below to output the result required to CBitmap bitmapUse, what happens is it shows the image on screen that I want, then draws black box over it. (the bitblt is doing that part) ...
  16. Adding Bitmap resource to Bitmap file transparency issue

    Hi,

    I have a transparency issue when adding a mouse pointer (Bitmap resource) onto an existing Bitmap image.
    How do you set the transparent color of the bitmap image to apply?

    Currently the...
  17. Replies
    0
    Views
    274

    Bitmap on Bitmap transparency issue

    Hi,

    I have a transparency issue when adding a mouse pointer (Bitmap resource) onto an existing Bitmap image.
    How do you set the transparent color of the bitmap image to apply?

    Currently the...
  18. Re: OPENFILENAME error 'C:\Documents and Settings\LocalService\Desktop refers to a lo

    yeah it turns out that mine is like that, mine is a printer driver that pop's up a dialog SaveAs box. I found if I canged it from local system to Local user then the problem doesn't seem as bad. ...
  19. Re: OPENFILENAME error 'C:\Documents and Settings\LocalService\Desktop refers to a lo

    C:\Documents and Settings\LocalService folder does exist but C:\Documents and Settings\LocalService\Desktop does not.

    so I created a Desktop folder in there and now it's not complaining about...
  20. Re: OPENFILENAME error 'C:\Documents and Settings\LocalService\Desktop refers to a lo

    will look at that but I'm not selecting that, note the folder is last saved as c:\test as in the screen shot, as soon as a click the dropdown arrow I get the error.
  21. OPENFILENAME error 'C:\Documents and Settings\LocalService\Desktop refers to a loc'

    Keep getting weird error "C:\Documents and Settings\LocalService\Desktop refers to a loaction that is unavailable. It could be on a hard drive on this computer, or on a network..."

    Error message...
  22. Update Edit box with sendmessage WM_SETTEXT setting but is been ignored on win7

    Hi,

    I have an issue with windows 7 version of the Adobe PDF Printer Save dialog, on XP the code works fine but on windows 7 the text is sent to the editbox but then when save is clicked it totally...
  23. Re: how to get file association of a file type for open and print

    Sure that's better - worked on a more slick way without the lastest sdk libs and headers by calling the DLL shlwapi directly, this way is more OS platform friendly.

    extern "C" HRESULT (...
  24. Re: how to get file association of a file type for open and print

    thanks, that worked a treat... bye bye win98

    DWORD BufferSize = MAX_PATH;
    char* path = new char[BufferSize];
    AssocQueryString(0, ASSOCSTR_EXECUTABLE, ".pdf", "print", path, &BufferSize);
  25. how to get file association of a file type for open and print

    Scratching my head here trying to find out how best this is done, seen projects to setup an assocation but not to read the association from the registry, anyone have any simple code to get the file...
Results 1 to 25 of 83
Page 1 of 4 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