|
Now if only would get the Americans to use prefect English and we would all be set;)
You may be right I may be crazy -- Billy Joel --
Within you lies the power for good, use it!!!
|
|
|
|
|
Unfortunately, everyone has their own perception of perfect English. So to speak, I doubt perfect English will ever be spoken. Or, should I question that?
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Michael Dunn wrote: BTW it's "comes" not "cums"
ROTFL - I missed that one.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
[MFC]Why everything should start from CObject? What's the need?
----------------------------
286? WOWW!
|
|
|
|
|
CObject is the common base class which makes many of the features of MFC possible, including
(from the docs):
Serialization support
Run-time class information
Object diagnostic output
Compatibility with collection classes
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Thanks Mark !
----------------------------
286? WOWW!
|
|
|
|
|
_8086 wrote: Why everything should start from CObject?
Everything doesn't.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Sorry, *most of the things!*
----------------------------
286? WOWW!
|
|
|
|
|
I am using map objects versio2.0, how to draw circle on map object for a given lattitude and longitude and radius?
i would appreciate the answers.
|
|
|
|
|
I am creating a simple launcher for quake2 in mfc where i want to launch it with "quake2.exe +set maxclients 16" etc.
I am only familiar with shellexecute, but i have problems launching anything with arguments, is there anything built in mfc or a c++ function i could use to launch with arguments?
Thanks.
|
|
|
|
|
Actually ShellExecute allows you to specify application parameters. What are you doubts 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 guess i did not test it fully, now that i know it should work i am sure il sort it out
|
|
|
|
|
FredrickNorge wrote: I am only familiar with shellexecute, but i have problems launching anything with arguments, is there anything built in mfc or a c++ function i could use to launch with arguments?
See here.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
is there any microsoft certification course for mfc like .NET and sun java?
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
I doubt it, MFC is the unloved ugly stepchild of the bunch.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Official MS certification for MFC seems to have been available until early last year. See this[^] blog entry. Not sure if they've renewed the offering.
/ravi
|
|
|
|
|
salam
how ican know the packets wich are in the same html page
imean gathering the tcp packets and examine the seqeunse number
and source port and filtering it,then rebuild the html page.
please help me fast.
ihave code give me http header in pcap lib working in vc++.
|
|
|
|
|
Hi!
I made a server program in C. Users can access my server using telnet and they can log in. My problem is the following: when user writes password I have to hide it in the client, but I can't do that.
I tried google and I have read a lot of telnet RFC , but I could'nt find the correct answer. RFC318 says: I have to send a decimal 133 code (HIDE-YOUR-INPUT) to client, but it isn't work...;(
Can somebody help me?
thx a lot: LD
|
|
|
|
|
Dear friends,
I have a CString object, say str ,and i want to know how to extract a specific set of characters from this str and store it in another CString object. Does there exist any function/ class for that?
Malini
|
|
|
|
|
Maybe CString::FindOneOf will be of some help. See MSDN for related documentation.
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.
|
|
|
|
|
Hi All,
I do a project by using ADO+ACCESS+VC,
1. Reterive data from DB
2. Analyzing the data and calculate the new result, and the results are not the recordset.
3. Display the result on the UI.
while now I meet some difficulties.Requirement like the following:
1. Dynamic identity the total row and col num;
2. The grid should have Expand and Collapse function which can hide or show data in the same type.
3. Because the data is newly generated while not only reterived from db, so i have to write them down to the grid one by one.
Anyone can help me out??
Thanks in advance.
|
|
|
|
|
I am writing a backup program -- and would like to be able to backup large files. I don't want to run into any sort of sharing violations...
Is it possible for me to watch the file system, in order to monitor what files are being open in the system?
I'd like to abort the operation if someone wants access to the current file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc.</A>
|
|
|
|
|
Hi,
I'm a student and newcommer in MFC. I have problem when I'm runing my program. An assertion failed window appear when I'm working on it. When I pressed retry button, debug stop in line 884 in file wincore.cpp.
=================================================
line 884 ASSERT((CWnd*)p == this); //must be us
=================================================
Is there any one that can help me? I don't know the problem that makes debug assertion failed. And what should I do to fix it?
thx b4
= amelia =
|
|
|
|
|
What happens if you trace through the code ? Did you read this comment in the code ? Does it apply to you ?
// Note: if either of the above asserts fire and you are
// writing a multithreaded application, it is likely that
// you have passed a C++ object from one thread to another
// and have used that object in a way that was not intended.
// (only simple inline wrapper functions should be used)
//
// In general, CWnd objects should be passed by HWND from
// one thread to another. The receiving thread can wrap
// the HWND with a CWnd object by using CWnd::FromHandle.
//
// It is dangerous to pass C++ objects from one thread to
// another, unless the objects are designed to be used in
// such a manner.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
That's the other problem, I do not understand the comment. i'm very new on MVC++ especially MFC. I read many articles and book and try some. I do not used to with the technical term. I do use thread. here is the code
==========================================================================
void CConversionDlg::OnAnyMove()
{
m_ListCC.SetCurSel(nCurrentCC);
m_ListCC.GetText(nCurrentCC, ccode);
// do something
::AfxBeginThread(ThreadCCList, this); //=> i'm imitate it from other project code
}
UINT ThreadCCList(LPVOID pDlg)
{
CConversionDlg* dlg = (CConversionDlg*) pDlg;
nCurrentNC++;
Sleep(1000);
dlg->CallAnyMove();
return 0;
}
===========================================================================
Can you explain more about my mistake?
thx
== amelia ==
|
|
|
|