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

Search:

Type: Posts; User: maverick786us

Page 1 of 76 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    3,527

    Reading registry Win32 SDK

    MFC registry functions doesn't work in Win32 SDK DLL. Can someone show me how I can read registry using pure Win32 SDK?
  2. Replies
    15
    Views
    3,799

    Re: Sending Web request

    I found the cause of that error that solution contained multiple projects including the setup program. So after cleaning, when there was an error, the DLL couldn't bind and the setup program couldn't...
  3. Replies
    15
    Views
    3,799

    Re: Sending Web request

    That is the header file of that wrapper class, without the header file I can't use the wrapper class



    What is the solution to these 2 issues @Kaud?
  4. Replies
    15
    Views
    3,799

    Re: Sending Web request

    This is strange. This is the output file of the project and it is unable to find it. If i comment WinHttpClient.h, that error doesn't happen
  5. Replies
    15
    Views
    3,799

    Re: Sending Web request

    Thanks. After commenting those header files. The errors were removed, except for these 2 error messages
  6. Replies
    15
    Views
    3,799

    Re: Sending Web request

    I decided to use this wrapper class for HTTP web requests.

    http://www.codeproject.com/Articles/2556/A-Simple-Win-Window-Wrapper-Class

    But the problem is when I add this header file into my...
  7. Replies
    15
    Views
    3,799

    Re: Sending Web request

    Thanks for the initial help. I think CInternetSession and CHttpConnection looks like a good option. Now....

    Using these 2 classes I want to pass a web request to a URL with some input values. This...
  8. Replies
    15
    Views
    3,799

    Re: Sending Web request

    I also want to store the return value from that web request in some variable
  9. Replies
    15
    Views
    3,799

    Sending Web request

    How can we send Web Request (http GET and POST) in VC++, without using the managed .net framework? Can someone demonstrate it with a sample source code?
  10. Replies
    2
    Views
    897

    Re: MS Office Addin

    Similarly in one file I have a function like this...



    int CUtils::RoundToInt(double dValue)
    {
    #ifdef _DEBUG
    assert(dValue > static_cast<double>(INT_MIN / 2) - 1.0);
    assert(dValue <...
  11. Replies
    2
    Views
    897

    MS Office Addin

    I have an MS Office Addin, which is a toolbar developed using ATL COM. Now this addin is developed using different for different versions of MS Project or the source code is designed to run on...
  12. Replies
    2
    Views
    723

    Change compiler at run time

    Is it possible to change the compiler at run time? What I mean is, in configuration manager, we can add a compiler for 64-bit, but default 32-bit is already there.

    Now in the source code, is it...
  13. Re: Problem with COleDateTime in some of the 64-bit PCs

    even if u comment the copy memory section the basic initialization with current time is making it look invalid on that particular PC
  14. Re: Problem with COleDateTime in some of the 64-bit PCs

    OK I will change that. But why does it find it invalid evein while initializing a COleDateTime with the current time?
  15. Re: Problem with COleDateTime in some of the 64-bit PCs

    Somewhere in the registry a date is stored inside the registry. That date is extracted inside a string named szUnPacked and then using copy memory I assing that date value into the COleDateTime...
  16. Re: Problem with COleDateTime in some of the 64-bit PCs

    COleDateTime dtNow(COleDateTime::GetCurrentTime());




    COleDateTime dtInstalled = COleDateTime::GetCurrentTime();
    CopyMemory(&dtInstalled.m_dt, szUnpacked + 16, 8);


    Every end user will...
  17. Problem with COleDateTime in some of the 64-bit PCs

    I am facing this issue of COleDateTime in one of the client PCs that is 64-bit. Where I tried to use this section of the code to see what dates are stored in the string.



    strDate = _T("Date...
  18. Replies
    6
    Views
    1,308

    Re: Problem with MFC Application

    These are the DLLs that dependency walker found missing.



    Does this mean that these DLLs should be there with the EXE file in the fresh PC?
  19. Replies
    6
    Views
    1,308

    Re: Problem with MFC Application

    In fact before using the service pack, I created a setup and deployment package (.MSI) so that it will automatically get the dependency and integrate it within the MSI File, but it didn't work :(
  20. Replies
    6
    Views
    1,308

    Re: Problem with MFC Application

    Even after using this Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update the result is still the same :(
  21. Replies
    6
    Views
    1,308

    Problem with MFC Application

    I have an MFC Dialog based application developed in Visual Studio 2008. Everything is perfectly fine. Except, when I run that application in a fresh PC, where, there is no Visual Studio or any other...
  22. Replies
    1
    Views
    1,680

    Problem with COM_MAP

    I have an MS Office 2013 (Actually its MS Project 2013 addin which is a part of MS Office distributed separately) addin developed using COM. Recently I am coming across an issue. This section of the...
  23. Replies
    4
    Views
    2,795

    Re: Converting 32-bit into 64

    So you are saying that if I change the function to this.



    static DWORD_PTR CALLBACK StreamInCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb)
    {
    DWORD_PTR dwRead(0);
    ...
  24. Re: Problem while converting from 32-bit to 64-bit

    The problem is. The source code is in old VS2005, where The EditStreamCallback



    typedef struct _editstream
    {
    DWORD_PTR dwCookie; // User value passed to callback as first parameter ...
  25. Replies
    4
    Views
    2,795

    Converting 32-bit into 64

    I have a sample code.



    static DWORD CALLBACK StreamInCallback(DWORD dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb)
    {
    DWORD dwRead(0);

    if(SUCCEEDED(g_pTextFile->Read(pbBuff, cb,...
Results 1 to 25 of 1900
Page 1 of 76 1 2 3 4





Click Here to Expand Forum to Full Width

Featured