|
Dear WalderMort,
Thank you for the reply. But let me explain clearly what is happening here with us....
The situation is like the following....
Our project resides in the Visual Source Safe server. We get the latest versions daily from the server to work with that local copy of the same project. When we give the build for the first time...(or press the Run button |> )
Some compiler errors are popping up..like missing semi colon ';', '(',etc... or it is saying undeclared identifiers..etc..
But when we press the run button for the second time...(without any modifications to the code...)
The exe is getting generated properly...
Please help me in this issue...
Thanks and regards,
venkat.
hi
|
|
|
|
|
Could it be that somewhere, somehow, in your Project you are generating Code?
When this code is missing, you see the errors, and in the second run, when the code is already there, everything compiles fine.
Then this would be a problem of compile-time-dependencies, to be set as "Project Build order".
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
Hello,
I want to create a user defined class which has to work like CButton. That means, from any application by instanciating CButton we can create the CButton window as a child. In the similar manner i require a class which will create a group box and a radio button if we instantiate the button like below.
CMyControl myControl(_T("GroupBox Title"), _T("RADIO BUTTON"), CRect, this ptr)
In this first parameter is used to put the title for Group Box and the second parameter is for type of the control to be created inside the group box. Third is for size of th group box. Fourth parameter is for ptr to where this control needs to be attached.
For the time being we can use the label of radio button be "Radio 1". Can any one help me to write a class like this?
Thanks,
KirriK
|
|
|
|
|
Derive u'r class from CWnd and then u can create button-like, radio-like or checkbox-like controls.
Come online at:-
jubinc@skype
|
|
|
|
|
Can i have any samples? I am sorry i can't come online now. I am in my workplace there it is not possible to come online.
-KirriK
|
|
|
|
|
hi
I would kike to know how we can change the buffer size of eicon card for receiving and sending data.
Arun
|
|
|
|
|
hi,
I have to write a function which accepts Xml file (ex:sample.xml) as input and sending it to other function,
Please help me by giving your suggestions.
Thanks in advance.
Siddharth
|
|
|
|
|
siddharthsan wrote: I have to write a function which accepts Xml file (ex:sample.xml) as input and sending it to other function,
do you need FileName or File COntent!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Thanks
Actually, it should accept the file content as input and it should send it to a parser(other function).
Siddharth
|
|
|
|
|
where do u want our suggessions is it reagarding accepting the file or regarding parser?
KIRAN PINJARLA
|
|
|
|
|
Thanks
Already there is a parser to parse the Xml file but my need is , my function should accept xml file as input and sending it to that parser,question is about accepting the xml file and seding it to the parser.
Siddharth
|
|
|
|
|
as far as i know the parser function takes the xml file path.
So all u need to get is filepath. you can Use CFileDialog to get the file path.
Isn't it?
KIRAN PINJARLA
|
|
|
|
|
hi,
I have to give the Xml file input to the FlashPlayer 7 ,it's having it's own parser(no need for seperate parser),so i dont need another dialog (since FlashPlayer is having it's own dialog).Help me to get a Xml file input for sending it to Xmlparser.cpp(in Flashplayer)
Siddharth
|
|
|
|
|
siddharthsan wrote: Help me to get a Xml file input for sending it to Xmlparser.cpp(in Flashplayer)
You open th eXML file, read it into a string, and call the XMLparsers functions with that string.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
siddharthsan wrote: Actually, it should accept the file content as input and it should send it to a parser(other function).
bool fnAcceptInput(LPCTSTR a_szFileContent);
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Whats meaning send it to other function
|
|
|
|
|
Thanks
After accepting the file , it should send it to a parser to parse that file.
Siddharth
|
|
|
|
|
|
To read /parse the xml file, u can use Tiny XML or XML Document Object Model.
Come online at:-
jubinc@skype
|
|
|
|
|
Don Box wrote: To read /parse the xml file, u can use Tiny XML or XML Document Object Model.
yeah it good.. but i prefer Microsoft XML more as it there would no other dependency on parser code on executable
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Investigate SAX2 parsers. Try starting here[^].
Steve
|
|
|
|
|
Hi
Can anybody tell me how to read and write in to a file in vc++.?
Harsha
|
|
|
|
|
|
|
harsh_2961 wrote: Can anybody tell me how to read and write in to a file in vc++.?
Better try your hand on CStdioFile
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|