|
Hello,
Thanks for the support and repeatedly answering.
I have got it and will not trouble with same questions again.
It seems I am stuck somewhere else.
Prithaa
|
|
|
|
|
The point is - CWnd methods, not CScrollbar methods.
Mark
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
i am new user to richedit . i am using CRichEditCtrl class. i am using the
FindText function for finding a text but it returns only the first occurence.
So Please Help Me.
Remember Using CRichEditCtrl class .not RichEdit Doc/View
|
|
|
|
|
The FINDTEXT structure takes a CHARRANGE that indicates the range of text to search. When searching for the "next" or "previous" match, you set the range to exclude previously searched texts (e.g. you start the search at the end of the last found match).
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi all
When a build is project built.Lot of files r created in Debug or Release Folder.How to get .asm file in VC++......
In Turbo C i get it like this...
//add.c
main()
{
int a,b,c;
a = 10;
b = 20;
c = a + b;
}
save the above program as add.c
then compile as follows
c:> tcc -S add.c
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
vibindia wrote: How to get .asm file in VC++......
Uuh ? Why do you want an asm file ? The linker will generate an executable file. That's the one which is needed.
Or maybe I totally misunderstood your question... Is there a particular reason you want to have an asm file ?
|
|
|
|
|
Hi,
By opening asm file, v can understand, what compilier really does.
Especially for pointers....
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
vibindia wrote: By opening asm file, v can understand, what compilier really does.
Especially for pointers....
With a bit of patience, you can use the debugger have some insight about.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
I think that with CL compiler (the Visual Studio one) you cannot do that. Turbo C allows it beacuse the compiler generates the (intermediat) assembly code and then the assembler (TASM ) produces the object file; on the other hand, CL directly produces the latter (without intermediate steps).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
At least with VS2005, you can add the /FA switch to the compiler command line.
Check MSDN under Compiler Options (by category)[^] and look at the /FA[^]portion.
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
Hi
In Project settings - c/c++ tab - Project Options - I included /FA
and got the asm file...
Thanks.....
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
It might be worth noting the options you have on the Config Properties/Output Files page of the properties dialg box (VS 2005 but the same can be found in other versions).
If you click on the Assembler Output line you get a combo box. /FA is the Assembler Only switch but there also 3 other options:
Assembly, Machine Code and Source (/FAcs)
Assembly With Machine Code (/FAc)
Assembly With Source Code (/FAs)
If your trying to get to know Assembler the bottom option is probably the most useful
Tom
Philosophy: The art of never getting beyond the concept of life.
|
|
|
|
|
Hi To ALL,
I want to change the color of some selected row in a list control on a specified condition.
Please tell me how i can do this
Thanks in Advance
|
|
|
|
|
sulabh_expert@rediffmail.com wrote: I want to change the color of some selected row in a list control on a specified condition.
Handle NM_CUSTOMDRAW
Do your Duty and Don't expect the Result
|
|
|
|
|
As a follow up to Parthi's post, see this[^] article.
/ravi
|
|
|
|
|
http://www.codeproject.com/listctrl/selectentirerow.asp
|
|
|
|
|
I have MFC diglog based application.
I want to give vista controls like look to my application(all controls in diglog) on Windows 2000/XP operating system...
How it can possible?
thank you,
Regards,
ANUP KULKARNI
|
|
|
|
|
Please see reply to ur message from Vista message board.
Sameer Thakur
|
|
|
|
|
Hello all,
i have made two classes one of which is deried from CFormView and other one from CWinThread. I simply want to make a object of class derived from CFormView in class derieved from CWinThread.
when i m including class header file in CWinThread Class it is giving to error
1) error C2065: 'IDD_MONITORVW' : undeclared identifier
2) error C2057: expected constant expression
please help me in solving this problem....
thanks in advance
|
|
|
|
|
sulabh_expert@rediffmail.com wrote: error C2065: 'IDD_MONITORVW' : undeclared identifier
Hope IDD_MONITORVW is your CFormView drived class resource ID.
If so, make sure u included 'Resource.h' before you include the class header file of CFormView derived class
Do your Duty and Don't expect the Result
|
|
|
|
|
Hi all,
How can I intercept the close event of a console window?
Many thanx
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
use this
<br />
int main()<br />
{<br />
<br />
<br />
getchar();
return 0;<br />
}<br />
the window dont close until you push 'Enter'.
|
|
|
|
|
|
try this:
<br />
#include <stdio.h><br />
<br />
#include <Windows.h.>
<br />
void main( void )<br />
{ <br />
char buffer[81]; <br />
int i, ch; <br />
<br />
printf( "Enter a line: " ); <br />
<br />
for( i = 0; (i < 80) && ((ch = getchar()) != EOF) && (ch != '\n'); i++ )<br />
buffer[i] = (char)ch; <br />
buffer[i] = '\0'; <br />
printf( "%s\n", buffer );<br />
<br />
Sleep(7000);<br />
}<br />
if you wont to hold infinite time write Sleep(INFINITE);
to see more search Sleep in MSDN.
|
|
|
|
|