|
The original post is better than most of the posts here.
This signature was proudly tested on animals.
|
|
|
|
|
plz sendz codez......
Here have a and lighten up ....
|
|
|
|
|
This CP article[^] might help you out.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Sakthiprabhu.gs wrote: I have doubt on Visual C++
Don't we all...
Sakthiprabhu.gs wrote: My task is to check whether the entered text is meaningful or not?
What do you mean by entered text? Entered where?
|
|
|
|
|
Sakthiprabhu.gs wrote: My task is to check whether the entered text is meaningful or not?
In terms of spelling or grammar?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Sakthi here..Thanks for your good response...
Actually i have check the spelling of word
|
|
|
|
|
WHen ever i send souce code of the application from one system to other system..
In destination system class view is not visible..
please tell me answer if any one know it..
|
|
|
|
|
Does the other system have Visual Studio installed?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi all...
I'm new to mfc programming, and have a question... hope you can help me
I have a program that make some calculation, the user input some numbers and press a button to start.
When he press the button, the program start the calculations, and shows the results in a Clistbox as it arrives.
The problem is that when I use clistbox.addstring, the results are not automatically show in the clistbox, instead the user have to wait for all calculations to finish to see the results.
What can I do to show the results as soon as it arrives in the clistbox, and continues to do the calculations in the background??
Thx...
|
|
|
|
|
Your UI looks frozen because the message pump is blocked doing calculations. You must do your calculation in a separate thread[^] and post a User defined message[^] to the main window and handle the message to update your list box.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: You must do your calculation in a separate thread[^] and post a User defined message[^] to the main window
Just an interesting aside - I ran into this a couple of days ago. Rather than define a custom user message for each individual action that must occur on the UI thread, I tried to do it the .NET way - define a single message, say WM_INVOKE, and pass a pointer to a member function as LPARAM when posting the message (like Control.Invoke). Unfortunately, C++ doesn't allow you to take a pointer to a member function of an instance object directly - you can get a pointer to a member function, but you'll have to track the instance yourself and then when calling, use the esoteric .* operator to invoke it.
I couldn't be bothered to write a separate struct to hold the instance pointer and the function pointer, so I ended up writing multiple user defined messages instead
|
|
|
|
|
After you do your addstring, call UpdateWindow:
clistbox.addstring(xxxxx);
clistbox.UpdateWindow();
Good luck.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
Hai!
I have byte array of an image (Image can be .bmp or .jpg or .jp2) Now how can i know the width and height of the image present in byte array?
Thanks!
|
|
|
|
|
kapardhi wrote: the width and height of the image present in byte array?
From a CBitmap object ? Its written here[^]
|
|
|
|
|
BYTE *pImage = new BYTE[4000];
there is no width and height of a byte array.
if the byte array holds image pixels, then whoever gives you the byte array will also have to tell you the image dimensions.
if the byte array holds an encoded image file, then you will have to decode/parse the format.
|
|
|
|
|
Hi friends,
In my project i created Menu on design time itself.I tried to insert the image in sub menu.I cant get result.Please any body give me ur idea to insert the image in menus.
Language ->Main menu
Sub menu:
English
Italy
French
In english menu i nedd to insert the England flag.Please Help me
Thanks and regards
Anitha
|
|
|
|
|
This will help you
http://www.codeproject.com/KB/menus/newmenuxpstyle.aspx
|
|
|
|
|
CMenuEX - A bitmap menu class[^].
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Hi friends
Can someody tell me how to find pThreadVC.dll and pThreadVC.lib for x64 sytem. I mean I need 64 bit binaries to raun on 64 bit system.
I have the source files and I have also managed to get the 64 Binaries from them, But they are not working
If I use nmake to create 64 bit what option should I give as command line parameter so that it will create 64bit output
Thanks
|
|
|
|
|
Ranojay wrote: If I use nmake to create 64 bit what option should I give as command line parameter so that it will create 64bit output
You need to use the correct Visual C++ binaries. Usually you can do that by changing working directory to your VC directory (e.g. c:\Program Files\Microsoft Visual Studio 9.0\VC for VS2008) and using one of these commands:
- If you're running 64-bit Windows
vcvarsall x64 - If you're running 32-bit Windows
vcvarsall x86_amd64
This will put the Visual C++ binaries to create 64-bit code at the head of your path. Entering the command 'cl' should now say something like this - note the for x64 :
Microsoft (R) C/C++ Optimizing Compiler Version 15.00.30729.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Thanks ...can u tell me the steps for this...
i will call this from the x64 commandline of MSVC 2005 ?
any changes to be done in the make file ?
thanks again
|
|
|
|
|
Ranojay wrote: any changes to be done in the make file ?
No idea - it depends on the makefile. Try it and see - you can't break anything...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Hi,
I want a simple application which will only launch another application. But I dont want to show the cosole or any UI for the 1st application. can any one help me how to do so.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
Why do you need such a thing? Why can't the 'another application' be launched directly instead? There are valid reasons, but I want to know what's your case.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I am lunching the 2nd application with some specific command line options, that is why i need this 1st appliaction.
birajendu
CyberG India
Delhi
India
|
|
|
|