|
Why are you starting a new topic for this? Starting a new topic only adds to the clutter on this board. I, for one, regularly go back and review the topics I have answerred to see if the person I answerred understood what I said.
Ohh and please do NOT delete this topic because for me at least the deletion of topics totally stuffs the board.
|
|
|
|
|
|
WTF is the problem with you buddy ?
i thought you had understood last day when we asked you to be polite !
but it seems that you have some trouble to understand the benefit of an ADVICE
|
|
|
|
|
dona jain wrote: ...MY PROBLEM...
What problem?
dona jain wrote: ...THESE FUNCTIONS...
What functions?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I said maybe his question is transparent for me;).
|
|
|
|
|
|
I said wheres his question how some people answer to him but I saw he asked one hours ago.
|
|
|
|
|
David i wouldnt worry about it...
he got the answers in a previous post but doesnt know how to use the functions so in a way doesnt know how to program.
myself i'm just confused about what he wants, seems that he wants Win32 but i have a feeling its really managed C++/CLI.
dont think its MFC or Win32.
at present his just posted in every forum, managed, win forms and here
would be nice if he could clam down and just try and explain
1) which compiler
2) which project
then we could point him to the right forum
3) and on wards for the coding he needs. (a good book by the looks of it)
just my 2 cent on this little problem
p.s by the way we are ment to go look in there profiles to find out what they are on about as we have time for that
pp.s i did because i just hate being confused
|
|
|
|
|
whta problem??
"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
|
|
|
|
|
Hi everybody,
i added the function _putenv to my source code and now i have a linker error (LNK2019)
"Can't resolve external symbol"
_putenv is a system funtion of stdlib.h
How can i resolve this error?
Big thanks
|
|
|
|
|
rename your function.
Greetings from Germany
|
|
|
|
|
_putenv is declared in stdio.h i can't rename it...
|
|
|
|
|
Try to use
errno_t _putenv_s(const char *name,const char *value);
It is more secure
best of luck
Sivan
www.ktsinfotech.com
|
|
|
|
|
you have declared it and to use it you have to include the library here the "standard libraries" in the Linker
PS: I misundertood your question.
Greetings from Germany
|
|
|
|
|
I feel compelled to ask, why are you calling _putenv? what is it you hope to achieve here?
|
|
|
|
|
In a ConsoleProject i need to assign values to environment variables
(number of lines and cols)
I start a DOS-Console application via calling the Main of the DOS-Applic from out a MFC-Code
I even don't know if it's work, but i try it and see where it begins to crash
Because displaying a Console-Applic via starting a new process ( via the EXE of the Console )
and "redirect the display to a View of a Window" works already in a SourceForge and CodeProject Application
Now i try to start the DOS Applic directly without executing an EXE...
Or find the reason why it couldn't work
Have a nice day
|
|
|
|
|
Using Win32 has high performance but takes more development time.
MFC has low performance but development time is less.
Am I right and any more pros & cons
|
|
|
|
|
I think, one more thing is 'Size'. Size of the application will be more for MFC.
"a child will grow up to become an adult, but you can never stop the adult from acting like a child"
|
|
|
|
|
If you turn off GUI features MFC also gets as fast as Win32. If you really need performance you write a worker thread without GUI.
The signifikant time is for me the development time.
My bosses want almost the new features running next week.
Greetings from Germany
|
|
|
|
|
KarstenK wrote: My bosses want almost the new features running next week.
Wow, lucky you a full week
codito ergo sum
|
|
|
|
|
KarstenK wrote: If you really need performance you write a worker thread...
It's amazing how many folks think more threads equates to better performance.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
mandanani wrote: MFC has low performance
Why do you need performance ? Is it so relevant that you need to consider it ? Are you developping some 'time-critical' application ?
If no, why do you bother about performance ? Do you think the user will notice that your project takes 100 msec more to start ?
|
|
|
|
|
Please ask the questions like this.
I Always go for performance.
If i am creating the application which takes time 2 second to execute i will always try to minimize the time to even less than a quarter of a second.
Anurag Gandhi.
http://www.softgandhi.co.nr
|
|
|
|
|
So, to reduce the launching time of your application from 2 seconds to 1 second, you'll be ready to spend twice as much time for development ? Honnestly, it is a complete nonsense to me. And furthermore, your application will probably be much harder to maintain.
For a 'normal' application (I mean a standard desktop application), why do you even speak about performance ?
|
|
|
|
|
mandanani wrote: MFC has low performance
Rubbish.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|