Do you mean the
AfxBeginThread type of worker thread? or do you mean the _beginthread type of thread????
All Thread Function for the AfxBeginThread must be decalared like this:
UINT...
Type: Posts; User: blundstrom
Do you mean the
AfxBeginThread type of worker thread? or do you mean the _beginthread type of thread????
All Thread Function for the AfxBeginThread must be decalared like this:
UINT...
you need the IP of the other computer that the MySQL server is running on, the correct port number, too.
And the computer has to be accesible from your location.
Just like anything else on the...
You could also define a struct in the .h that takes all those parameters and the constructor can just take one of those. Also, thing that uses it must include the .h file and therefore the struct:
...
Like *ClownPimp* sez, you should probably use polymorphism by Deriving the two classes from the same Base class.
Because of this a pointer to the base class can then refer to either object and...
It sounds like you will have to read a file of integers like:
23
34
12
1
and covert them strings to int and put them in a sorted array.
I doubt that your prof wants you to learn how to call...
First of all, in my searches on the subject I have found a great deal of confusion about ListView and ListCtrl and so on. So allow me to first clarify my situation:
I am using Visual C++ 6.0 (SP5)...
Nevermind,
I knew it was a simple solution:
void CHlfavsDlg::OnItemClickListviewFavs(LPDISPATCH Item)
{
VARIANT tag_data;
CListItem list_item;
I have added the MS Common Controls ActiveX controls Version 6.0. I am using the MS ListView Control Version 6.0. VC++ 6.0 has added all the neccesary non-editable classes for the control and its...
You can use the ATL instead, which apparently is not MFC.
MFC ActiveX Controls are just easier and you need to make sure your user has your the MFC dlls or you have to staticly link them making...
Mostly C and ASM:
MFC is a C++ wrapper for the C WIN32 Core.
Thanks for the solution,
but what about the if the function has multiple arguments.
It is impossible?
:confused:
I tried your suggestion, but struct and struct pointers cannot be converted to (void *), a least the compiler doesn't want to try and if I leave out the (void *) cast it won't link because of the...
I have been testing multithreading in windows. currently the function for the begin thread takes a single argument.
I want the addem function to take more that one function but I am unsure of...