Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

msr_codeproject

@msr_codeproject
About
Posts
83
Topics
53
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Log file is not created
    M msr_codeproject

    Hi, I am using namespace "Microsoft.Practices.EnterpriseLibrary.Logging" to create my application log. My app.config file looks like this:

    I gave log file name as "C:\Data\Logs\SRM\SRMService.log". Now SRM folder is being created, but SRMService.log file is not being created. Please tell me where I am going wrong? Thanks SRM

    C# question

  • WebBrowser control in C#
    M msr_codeproject

    Thank you Rayhan. I'll look into them. Thanks Sai

    C# csharp question

  • WebBrowser control in C#
    M msr_codeproject

    Hi, I am developing an application which has a WebBrowser control. By default WebBrowser uses Internet Explorer rendering engine. Can we change it to Firefox or Google Chrome? Thanks Sai

    C# csharp question

  • Windows Azure or Microsoft Sync Framework
    M msr_codeproject

    Hi, I am developing a C# based desktop application which has GUI developed using WPF. My application has some SQLite database where I save users data. 1) Now I want to place this database in the Cloud so that if user lost it in local device, it can be fetched from cloud from anywhere. 2) Every time whenever local database changed it should be synchronized with data which is there in Cloud. i.e., there should be bidirectional synchronization. Now I have two options. One is Windows Azure and other is Microsoft Sync Framework. Please tell me which one I can go for now? Though Windows Azure is not free, I can go for it. But is it useful? Since my application is C#/WPF desktop application, can I go with Azure? Any help please? Thanks

    Cloud Computing csharp cloud database sqlite wpf

  • Windows Azure or Microsoft Sync Framework
    M msr_codeproject

    Hi, I am developing a C# based desktop application which has GUI developed using WPF. My application has some SQLite database where I save users data. 1) Now I want to place this database in the Cloud so that if user lost it in local device, it can be fetched from cloud from anywhere. 2) Every time whenever local database changed it should be synchronized with data which is there in Cloud. i.e., there should be bidirectional synchronization. Now I have two options. One is Windows Azure and other is Microsoft Sync Framework. Please tell me which one I can go for now? Though Windows Azure is not free, I can go for it. But is it useful? Since my application is C#/WPF desktop application, can I go with Azure? Any help please? Thanks

    C# csharp cloud database sqlite wpf

  • Software Design Books
    M msr_codeproject

    Thank you Amarnath.

    Design and Architecture design architecture question code-review

  • Software Design Books
    M msr_codeproject

    Guys, I am a software developer and want to improve my design skills. Anybody suggest me some good books on Software Design and Architecture? Thanks MSR

    Design and Architecture design architecture question code-review

  • Accessing Win32 APIs from WinRT app through Win32 Dll
    M msr_codeproject

    Hi Micro Virus, thanks for your reply. I want to know are there any APIs available in WinRT to 1) Find WLAN interaface list (Win32 API - WlanEnumInterfaces) 2) Find Wi-Fi access points (Win32 API - WlanGetAvailableNetworkList) Basically I am trying to write an WinRT application to do all these. Any help? Regards, Sai

    C / C++ / MFC help json question

  • Accessing Win32 APIs from WinRT app through Win32 Dll
    M msr_codeproject

    Hi Richard MacCutchan, thank you for your reply. I changed my code like this.

    dwResult = WlanOpenHandle(WLAN_API_MAKE_VERSION(2, 0), NULL, &dwCurVersion, &hClient);

    But still its throwing the same error. Basically I'm trying to find Wi-Fi n/w interfaces and trying to get available Wi-Fi access points. If I run this code from a pure Win32 application, I am able to get the interfaces and Wi-Fi access points. But not working from WinRT App. Regards Sai

    C / C++ / MFC help json question

  • Accessing Win32 APIs from WinRT app through Win32 Dll
    M msr_codeproject

    Hi, I am trying to call Win32 API from Windows Store App. Since Win32 APIs can not be accessed from WinRT, I have written a Win32 Dll and exposed a function. I am trying to call this function from WinRT App. But I am getting 'Access Denied' Error. Dll Code:

    extern "C" __declspec( dllexport )INT32 ScanWlan()
    {
    // Declare and initialize variables.

    HANDLE hClient = NULL;
    DWORD dwError = ERROR_SUCCESS;

    DWORD dwMaxClient = 2;
    DWORD dwCurVersion = 0;
    DWORD dwResult = 0;

    dwResult = WlanOpenHandle(dwMaxClient, NULL, &dwCurVersion, &hClient);
    if (dwResult != ERROR_SUCCESS)
    {
    WlanCloseHandle(hClient, NULL);
    wprintf(L"WlanOpenHandle failed with error: %u\n", dwResult);
    return 1;
    }

    I am able to call this funtion from WinRT App. But 'WlanOpenHandle' function failed with error 5 (ERROR_ACCESS_DENIED). I have done this using administrator login also. But still I am getting the same error. Am I doing the right thing? Can We access Win32 APIs from WinRT Apps through Dlls (at least). Any help? Thank you, Sai

    C / C++ / MFC help json question

  • WDK 7600.16385.1 Compiler
    M msr_codeproject

    Hi, I want to know what compiler does WDK 7 use to compile files when we try to build any WDK sample? Regards msr

    C / C++ / MFC question

  • Debugging Kernel Mode Driver using Windbg
    M msr_codeproject

    Hi, I have a sample OSR USB board and I have written a sample driver for this USB board. I have built this driver and able to install. But I am not able to debug this driver using Windbg since it is kernel driver. OS: Win7

    #include ntddk.h

    DRIVER_UNLOAD DriverUnload;

    void DriverUnload(PDRIVER_OBJECT pDriverObject)
    {
    DbgPrint("Driver Unload\n");
    }

    NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath)
    {
    pDriverObject->DriverUnload = DriverUnload;
    DbgPrint("Driver Entry : Hello Windows Device Driver World!\n");
    return STATUS_SUCCESS;
    }

    Can anybody help me in debugging my driver?

    Hardware & Devices debugging help question

  • Debugging Kernel Mode Driver using Windbg
    M msr_codeproject

    Hi, I have a sample OSR USB board and I have written a sample driver for this USB board. I have built this driver and able to install. But I am not able to debug this driver using Windbg since it is kernel driver. OS: Win7 #include DRIVER_UNLOAD DriverUnload; void DriverUnload(PDRIVER_OBJECT pDriverObject) { DbgPrint("Driver Unload\n"); } NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath) { pDriverObject->DriverUnload = DriverUnload; DbgPrint("Driver Entry : Hello Windows Device Driver World!\n"); return STATUS_SUCCESS; } Can anybody help me in debugging my driver?

    C / C++ / MFC debugging help question

  • How to get a ip address from system name
    M msr_codeproject

    Hi, try this http://msdn.microsoft.com/en-us/library/windows/desktop/ms738532(v=vs.85).aspx[^] Thanks

    C / C++ / MFC tutorial

  • Restrict some characters in Edit Box
    M msr_codeproject

    Hi, I have a Edit Box. How can I restrict this Edit Box so that it will accept characters like '=' and ';' This is not MFC based. Win32 only. Thanks in advance.

    C / C++ / MFC c++ question

  • Error with dynamic_cast
    M msr_codeproject

    Ya I got it. Thanks Richard MacCutchan

    C / C++ / MFC help question

  • Error with dynamic_cast
    M msr_codeproject

    class Filter;

    typedef void (Filter::*PFN)();

    class Filter
    {
    public:
    void ProcessPart();
    void MyProcessPart();

    struct Pair\_t
    {
    	Pair\_t(int d, PFN n) : iid(d), pfn(n) {}
    
    	int  iid;
    	PFN  pfn;
    
    private:
    
    	Pair\_t& operator=(const Pair\_t&);
    };
    

    };

    void Filter::ProcessPart()
    {
    PFN pfn2;

        //Here I am getting error C2681
    pfn2 = dynamic\_cast (&Filter::ProcessPart);
    
    Pair\_t(9, pfn2);
    

    }

    int _tmain(int argc, _TCHAR* argv[])
    {
    return 0;
    }

    I am not able to solve this. Any help? Thanks

    C / C++ / MFC help question

  • Virtual Functions?
    M msr_codeproject

    Hi, I have tried this. I am getting some junk value. Why is this happened? :( Regards msr

    C / C++ / MFC question

  • Virtual Functions?
    M msr_codeproject

    class Base
    {
    public:
    Base() { }
    virtual void foo1() { }
    virtual void foo2() { }

    } ;

    class Derived : public Base
    {
    public:
    Derived() { }
    void foo1() { }
    void foo3() { }
    } ;

    int _tmain(int argc, _TCHAR* argv[])
    {
    Derived * d = (Derived*)new Base() ;
    d->foo3() ;
    return 0;
    }

    In above code, 1) How it is possible to call foo3() of derived class. 2) If I call d->foo1(), Base class foo1() is getting called. I am not able to understand this. Please explain. Regards msr

    C / C++ / MFC question

  • WinSNMP
    M msr_codeproject

    Hi all, I want to know WinSNMP supports which versions of SNMP. Please share some info. Regards msr

    C / C++ / MFC
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups