|
Read the file data and convert it or AutoCad are interfaces like COM. It dont know.
It is very special stuff
=> you should try it in an AutoCad Forum or so.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
I have 2 listbox in my application. Now when i click on the first list box item the same item will be displayed on the second listbox and the first listbox item remains selected. now how do i remove the selected item from the second listbox if i again click on the selected item in the first listbox?
|
|
|
|
|
you can remove listbox2's item when click listbox1 item,Then add listbox2's item
m_listbox2.ResetContent();
|
|
|
|
|
you need to write that code in the message handlers of the combo box. Use the VC wizard to create a message onhandler for "CBN_SELCHANGE" or other approbiate messages.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
There is not even a combobox involved. Read the original question carefully before you give an answer!
|
|
|
|
|
Hi, I want to create MFC dailogs with glossy buttons.
So, i want to use WPF controls in MFC applcaiton.
Can you give any tutorials or samples for using it?
Anu
|
|
|
|
|
hi every body.....
i have a small problem in my application.......
record and save a voice message(or)file using our application.
please help me
thanks in advace...
|
|
|
|
|
|
thank you Richard MacCutchan for giving reply
if u don't mind give an any example program.
it's developed in vc++6.0
thanks in advance.
|
|
|
|
|
Search the articles here on CodeProject, I am sure you will find what you need.
|
|
|
|
|
|
Hello Sir
This is my source code when i compiled this , its showing some errors ..but i think the code was correct.
this is my source
#include "stdafx.h"
#include <iostream>
using namespace std;
int main(int argc, _TCHAR* argv[])
{
static int x __asm("x") = 5;
__asm(
"mov eax, x;"
"shr eax,1;"
"mov x, eax;"
);
cout<<x<<endl;
return 0;
}
error C2143: syntax error : missing ';' before '__asm'<br />
error C2400: inline assembler syntax error in 'opcode'; found '('<br />
error C2400: inline assembler syntax error in 'opcode'; found '('<br />
error C2059: syntax error : ')'<br />
Please Replay !!
Thanks!!
Raju !!!
|
|
|
|
|
I'm not an expert on that field, but I think you should write it this way instead:
__asm {
mov eax, x;
shr eax,1;
mov x, eax;
}
|
|
|
|
|
raju_Code wrote: its showing some errors ..but i think the code was correct.
If it's showing errors then the code cannot be correct.
static int x __asm("x") = 5;
static int x;
You have also encoded your assembly as strings in parenthesis, take the double quotes off, replace the parenthesis by braces, and try again.
|
|
|
|
|
Hi All,
I m building my solutions through command line (devenv.exe).
But the problem is that if build for any project gets failed the script keep running and dosen't stop.How is it possible that i can stop the build file as soon as any error in any project or solution occurs.
Thanx a lot in advance.
It's not enough to be the best, when you have capability to be great....
|
|
|
|
|
When building, you may use Ctrl+Break to stop it.
If you are building using a command line(console), Ctrl+C
|
|
|
|
|
I m not going to sit and watch are there any error every time (since it's used for continuous integration ) i want something that should stop on it's own.
It's not enough to be the best, when you have capability to be great....
|
|
|
|
|
Pavan_Putra wrote: How is it possible that i can stop the build file as soon as any error in any project or solution occurs.
Is there such an option on devenv? What does the documentation say?
|
|
|
|
|
No they don't even talk about it.I had already gone through the documentation and other options there is no such option.
I think there is only one option that you can use, "/Out" parameter to save build log and later check if there were any errors in your build.
I have used the same as there is no option remaining any more.
It's not enough to be the best, when you have capability to be great....
|
|
|
|
|
Pavan_Putra wrote: I had already gone through the documentation and other options there is no such option.
That seems like your answer then. In my experience most of the autogenerated scripts in VS run to completion while logging errors, allowing you to review all the errors at the end of the build.
|
|
|
|
|
can you give examples program of arrays using C language.
|
|
|
|
|
You may find a lot of examples in any good C tutorial or book (even in bad ones, actually...).
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
in using array, you better read books in your library ok???
hahaha!!
|
|
|
|
|
Have a look at
http://msdn.microsoft.com/en-us/library/ts4c4dw6.aspx
http://www.cplusplus.com/doc/tutorial/arrays/
G.Paulraj
|
|
|
|