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
nbugalia
Posts
-
Article submission query -
Article submission queryIt's still showing the state as "Composing", and I am not able to view if I check this after logging out.
-
Article submission queryHi 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
-
How to create a listbox in win32 with checkbox styleThanks 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
-
How to create a listbox in win32 with checkbox styleIn MFC the above can be done by using CListCtrl class. but how to do the same in win32 ? Please help.
-
How can get total months ?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).
-
CreateTimerQueueshaina2231 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.
-
Get Disk SizeYou can use the function - GetDiskFreeSpaceEx (). Following is the link from MSDN - http://msdn.microsoft.com/en-us/library/aa364937(VS.85).aspx[^]
-
Unresolved external symbol in a DLLHere 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.hclass __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** -
Unresolved external symbol in a DLLGeorge_George wrote:
extern CFoo foo;
Replace the above by -
CFoo foo2;
-
New Smartphone developerHi, 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
-
Error in constructing Image class ?????Did you try without using L, I mean - Image img("c:\\Sample.jpg");
-
loop problemFirst - 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]; }
-
lvalue rvalue discussionGeorge_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.
-
lvalue rvalue discussionif 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.
-
Images in High ResolutionAre 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 ?
-
Extract string from CStringUse the mid function of CString. More detail available at - http://msdn2.microsoft.com/en-us/library/b4c90k3d(VS.71).aspx[^]
-
Registering files with applicationHow 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.
-
Print screen for movieCan 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.
-
CTreeCtrl problem in MFCThanks 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?