|
Hi
I have done like you had showed .
http://www.mediafire.com/?tra9l1xoh04qwah[^]
And still nothing done ! .
Thank you
Can you show me basically the way to make it work ? . Thank you a lot . Have nice day .
hi world
|
|
|
|
|
Not quite there yet...
You didn't replace the code for CMyView::OnHere1
Copy the code from CMy2App::OnAppAbout and replace the code for CMyView::OnHere1 with it.
|
|
|
|
|
|
why the code of game is not show
|
|
|
|
|
rucha warade wrote: why the code of game is not show
What does this mean; please explain your problem clearly?
[edit]As this is your first question on this site, I suggest you read HOW-TO-ASK-A-QUESTION[^].
[/edit]
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
You've lost the game[^].
"Real men drive manual transmission" - Rajesh.
|
|
|
|
|
Mystical Superpowers, I believe.
It is the same magic we should use to guess your scenario, I suppose.
Veni, vidi, vici.
|
|
|
|
|
Hi all,
Cant we hide a CLabelControl after declaring a variable..???
I am getting a run time error for this.
Test.h
CLabelControl m_Test;
Test.cpp
DDX_Control(pDX, IDC_LABEL_TEST, m_Test);
BOOL CExampleDlg::OnInitDialog()
{
CLabelControl* lTest;
lTest=(CLabelControl*)GetDlgItem(IDC_LABEL_TEST);
lTest->ShowWindow(SW_HIDE);
return true;
}
If i comment
//CLabelControl m_Test; in Test.h
//DDX_Control(pDX, IDC_LABEL_TEST, m_Test); in Test.pp
Then it runs without any error.
Can anyone have any idea
Thanks in Advance
Sharan
|
|
|
|
|
Your label control does not exist at the point you are trying to hide it.
You need to call CDialog::OnInitDialog in your OnInitDialog method before the control exists.
BOOL CExampleDlg::OnInitDialog()
{
CDialog::OnInitDialog();
CLabelControl* lTest;
lTest=(CLabelControl*)GetDlgItem(IDC_LABEL_TEST);
lTest->ShowWindow(SW_HIDE);
return true;
}
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
|
|
|
|
|
Dear all,
can any one provide me the "C source code for A* algorithm"
|
|
|
|
|
|
Dear Friend,
From my PC, I have to read the text file from another PC(server PC).
After that i have to invoke one "EXE" (application) present in that same PC(Server PC).
Then i have to send the information what i have read from that file to this application.
Kindly help me.
|
|
|
|
|
Are both PCs on the same network and able to share disks? If so you can just read the file and execute the program from the server's shared disk.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
hi all,
can anybody help me to extract plain text from html file?
thanks.
|
|
|
|
|
A very simple parser would:
- Get the used character set from the header
- Locate the next < char, locate the next > char behind, and delete all in between.
- Replace the HTML entities &, <, >, and " by the corresponding chars &, < >, and ".
- Optional replace other entities by the corresponding characters according to the used character set.
- Optional replace Unicode code points (&#[x]cp;) by the corresponding characters according to the used character set.
- Optional convert the resulting text to the required output character set
|
|
|
|
|
I need to convert my programs from c++ 6 to Visual stutio professional 2010.
Please advise how to proceed and what I need to fix typically ? What is the best way to do this ?
Thanks
Ruilin
|
|
|
|
|
This link will help you[^]
Every new day is another chance to change your life.
|
|
|
|
|
thanks a lot. Do I have to install visual studio 2008 for converting my visual c++ 6 (2003) ?
Please give me some guidances.
hanks again
|
|
|
|
|
I dont have much idea on that. Like you i am also new to this. The only difference is i searched the net first and i send you the link which really suited your query. There are other sites which gives you a very good insight on how the migration has to be done.
See this link [^]
Every new day is another chance to change your life.
|
|
|
|
|
mrby123 wrote: Please advise how to proceed
Create a project in VS2010, add the source code from C++ 6 and build the project. Fix all warnings and errors.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
You just need to jump right in and convert it. There's no magical way to do it and the number of warnings and errors you get depend on what your source code has in it and how well you coded according to standard (old compiler used to let you get away with using non-standard C++, new one is better about that but still, MS refuses to follow standards strictly, they implement things they want regardless of current standards).
...oh, and don't forget to save a copy of your unchanged code for reference or if you need to fall back to your original code. If you have source control, create a tag to save the location.
modified 19-Mar-12 13:39pm.
|
|
|
|
|
Like others have stated. Just open the project or solution in vs2010 and let it convert and backup. Then start walking down the list of errors one at a time. If it's just vc++ and no extensions it should be easy.
|
|
|
|
|
|
Gurus,
Please help on this warnning message when I built:
1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(211): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen'
1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(223): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen'
|
|
|
|