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
N

nbugalia

@nbugalia
About
Posts
112
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Article submission query
    N nbugalia

    Dear Mr. Chris, My article is still in the composing state and I am not able to view if I signout from CodeProject. Although I got mail that my article is posted on CP. Kindly check and update. Regards, Nishant

    http://niscience.blogspot.com

    Article Writing database com graphics question

  • Article submission query
    N nbugalia

    It's still showing the state as "Composing", and I am not able to view if I check this after logging out.

    http://niscience.blogspot.com

    Article Writing database com graphics question

  • Article submission query
    N nbugalia

    Hi everyone, I have submitted an article on CP (http://www.codeproject.com/KB/graphics/BSOD\_Blue\_Screen\_Of\_Death.aspx). For me it's showing the state as composing & for others, it's not visible. This state is since 9th July when I uploaded the article. Shall I wait for some more time or I am missing something? Kindly suggest. Nishant Bugalia

    http://niscience.blogspot.com

    Article Writing database com graphics question

  • How to create a listbox in win32 with checkbox style
    N nbugalia

    Thanks for the reply Iain. I think we can use ListControl in place of listbox. When I am using ListControl on the dialog, the dialog is not becoming visible. Does anyone have some idea about it ? Can I use ListControl in a win32 application to show the checkbox. Thanks in advance

    C / C++ / MFC

  • How to create a listbox in win32 with checkbox style
    N nbugalia

    In MFC the above can be done by using CListCtrl class. but how to do the same in win32 ? Please help.

    C / C++ / MFC

  • How can get total months ?
    N nbugalia

    You can use GetDays () function of COleDateTimeSpan class. If you divide Days by 30, you will get the approximate months. The other option is to use int GetMonth() function of COleDateTime variables. This will return the month value in int. If you subtract the values, you can get the approximate month difference. (But you have to take care of the year also).

    C / C++ / MFC question

  • CreateTimerQueue
    N nbugalia

    shaina2231 wrote:

    error C2065

    Following are the reasons for Error C2065 from MSDN. 1. You are compiling with a debug version of the C runtime, declaring a Standard C++ Library iterator variable in a for loop, and then trying to use that iterator variable outside the scope of the for loop. Compiling Standard C++ Library code with a debug version of the C runtime implies /Zc:forScope. See Debug Iterator Support for more information. 2. You may be calling a function in an SDK header file that is currently not supported in your build environment. 3. Omitting necessary include files, especially if you define VC_EXTRALEAN, WIN32_LEAN_AND_MEAN, or WIN32_EXTRA_LEAN. These symbols exclude some header files from windows.h and afxv_w32.h to speed compiles. (Look in windows.h and afxv_w32.h for an up-to-date description of what's excluded.) 4. Identifier name is misspelled. 5. Identifier uses the wrong uppercase and lowercase letters. 6. Missing closing quote after a string constant. 7. Improper namespace scope. To resolve ANSI C++ Standard Library functions and operators, for example, you must specify the std namespace with the using directive. The following example fails to compile because the using directive is commented out and cout is defined in the std namespace:

    shaina2231 wrote:

    what can be the solution

    Please make sure that you are not doing any of them.

    C / C++ / MFC c++ data-structures help

  • Get Disk Size
    N nbugalia

    You can use the function - GetDiskFreeSpaceEx (). Following is the link from MSDN - http://msdn.microsoft.com/en-us/library/aa364937(VS.85).aspx[^]

    C / C++ / MFC question help

  • Unresolved external symbol in a DLL
    N nbugalia

    Here is the Dll file code - foo.h

    class __declspec (dllexport) CFoo
    {
    public:
    CFoo();
    int foo1();
    int foo2();
    };

    **__declspec (dllexport) CFoo foo;re>

    Foo.cpp

    #include "Foo.h"

    CFoo::CFoo()
    {
    return;
    }
    int CFoo::foo1()
    {
    return 100;
    }
    int CFoo::foo2()
    {
    return 200;
    }

    and here is the console based application code -
    Foo.h

    class __declspec (dllimport) CFoo
    {
    public:
    CFoo();
    int foo1();
    int foo2();
    };

    __declspec (dllimport) CFoo foo;

    test.cpp
    #include "foo.h"
    int main()
    {
    int i = foo.foo1();
    i = foo.foo2();
    return 0;
    }

    Don't forget to set the dependency to Foo.lib file in the test project settings.
    Hope this will help. :-D**

    C / C++ / MFC c++ help question

  • Unresolved external symbol in a DLL
    N nbugalia

    George_George wrote:

    extern CFoo foo;

    Replace the above by -

    CFoo foo2;

    C / C++ / MFC c++ help question

  • New Smartphone developer
    N nbugalia

    Hi, I am a desktop application developer and new to this mobile development world. Actually I want to create a speech to text application for Windows Mobile PocketPC. I have read over internet that SAPI for mobile comes along Plateform builder, but I am not able to find any. It would be very nice if some one could guide me how and where to start. Regards, Nishant

    Mobile mobile tutorial

  • Error in constructing Image class ?????
    N nbugalia

    Did you try without using L, I mean - Image img("c:\\Sample.jpg");

    C / C++ / MFC help tutorial question

  • loop problem
    N nbugalia

    First - Your for loops are incomplete. You can achive the same using the following loop - int testval = 0; for (int i = -1, int j = 0; i < 3; i++, j++) { testval += ucImagedata[iiY + i]*mask[j]; }

    C / C++ / MFC help tutorial

  • lvalue rvalue discussion
    N nbugalia

    George_George wrote:

    You know, lvalue have modifiable and un-modifiable versions.

    I know that. If you will try to assign something to a constant say - int i = 3; 5 = i; It will definately give you lvalue cannot be modified error.

    C / C++ / MFC question discussion

  • lvalue rvalue discussion
    N nbugalia

    if you do an assignment operation, then the value on the left is lvalue and value on the right is rvalue. Now please clear what actually you want to ask/understood.

    C / C++ / MFC question discussion

  • Images in High Resolution
    N nbugalia

    Are you able to see the images without your application, I mean using different viewer ? Also there should be a third option for color quality. It is High 24 bit. Can you find it ?

    C / C++ / MFC help c++ question

  • Extract string from CString
    N nbugalia

    Use the mid function of CString. More detail available at - http://msdn2.microsoft.com/en-us/library/b4c90k3d(VS.71).aspx[^]

    C / C++ / MFC question help

  • Registering files with application
    N nbugalia

    How can I register a perticular extension files with my application ? It is a dialog based application, so i can't use RegisterShellFileTypes. Please tell me the other way.

    C / C++ / MFC question

  • Print screen for movie
    N nbugalia

    Can anyone please let me know the way by which i can implement a custom PrintScreen program for capturing a movie scene ? Print screen button doesnot capture the movie window contents.

    C / C++ / MFC question

  • CTreeCtrl problem in MFC
    N nbugalia

    Thanks for your reply. I have already tried this option, and it is not working. By the way, have you seen this kind of behaviour that you have to expand the tree first to get the child node, or I am doing something wrong?

    C / C++ / MFC c++ data-structures help question
  • Login

  • Don't have an account? Register

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