Type: Posts; User: mike200
Search took 0.02 seconds.
July 23rd, 2012, 03:41 PM
I am new to WPF, moving over from C++ so I am having a hard time getting my mind around some concepts and I am not sure if this can be done in only xaml.
At my work place my product has a touch...
The call to register your server should be in your _tWinMain function (in myComSrv.cpp). The code should look like this:
extern "C" int WINAPI _tWinMain(HINSTANCE hInstance,
Your problem sounds like a post-build problem, the project is built but something after the project has been built is not running. In your Project Settings->Post Build Step is there any call to...
April 1st, 2005, 01:57 PM
Never mind, I found the answer. I came across the source code for netstat, which is what I want to display. If anyone comes across this problem, please look at Iphlpapi for functions available from...
April 1st, 2005, 10:46 AM
Does anyone know of a function (or set of functions) like EnumProcesses that will list all the open sockets on a system? I have been looking at the WSA functions, but they seem to need a socket....
March 11th, 2005, 09:03 AM
Do you mean that when you debug, you expect the break to happen on that line of code but it looks like it is breaking in the NM_CLICK handler? If that is the case, have you done a clean or a rebuild...
March 3rd, 2005, 09:01 AM
There is also:
CButton *pCheckBox = (CButton *)GetDlgItem( IDC_MY_CHECKBOX);
pCheckBox->SetCheck( BST_CHECKED ); // To Check...
pCheckBox->SetCheck( BST_UNCHECKED ); // To UnCheck...
February 24th, 2005, 04:26 PM
If you have UNICODE defined, the code you have shown should work. The SetWindowText function differs when you have UNICODE defined:
BOOL WINAPI SetWindowTextA ( HWND hWnd, LPCSTR lpString );...
February 23rd, 2005, 11:15 AM
Would MSMQ do what you are looking to do? MSMQ was designed to be a middleware component for fast, reliable asynchronous electronic communication. It also ensures guaranteed message delivery, receipt...
February 18th, 2005, 10:27 AM
Do you mean CComPtr or CComObject?
February 17th, 2005, 01:47 PM
This might be a silly question, but do you add images to m_TreeImg? From the code you posted, it looks like you are setting an empty image list to your tree control.
February 15th, 2005, 11:22 AM
Perhaps this control will help. If not, maybe one of these will help.
February 11th, 2005, 12:05 PM
Why are you trying to instatiate a COM object?? You get an interface to a COM class and let the COM framework instatiate the class. Your code should look like this:
February 11th, 2005, 11:46 AM
check out this post.
February 8th, 2005, 11:12 AM
"Bless me Father, for I have sinned. I have been with a loose woman."
The priest asks, "Is that you, little Tommy Shaughnessy?"
"Yes, Father, it is."
"And, who was the...
February 3rd, 2005, 03:06 PM
It looks like you did not link to WinFax.lib, you only included the header WinFax.h
February 2nd, 2005, 05:06 PM
Here is where a button in your newwindow class will help. Add the button and handle the BN_CLICK message to step the control. If you really want it to step the control without toucking it, look at...
February 2nd, 2005, 04:38 PM
OnInitDialog is the right place to step the control before the dialog is displayed.
February 2nd, 2005, 02:54 PM
Instead of a hidden column, could you use CListCtrl::SetItemData to store the variable? Then in your CompareFunc do your comparison based on the item data.
February 2nd, 2005, 12:00 PM
By default, the UNICODE libraries are not installed in VC 6 (don't know about VC 7).
First make sure you have the UNICODE libraries installed (files like MFC42U.DLL). If not re-run the VC6...
February 1st, 2005, 11:29 AM
Isn't registration of a COM exe done by passing RegServer on the command line? For your app would it be ComObj.exe RegServer. The _tWinMain function should have the code for this. Have you tried...
February 1st, 2005, 10:25 AM
I found this article in MS KB. Does this help you?
PRB: LNK2005 Errors When Link C Run-Time Libraries Are Linked Before MFC Libraries
February 1st, 2005, 10:10 AM
How are you calling the method? Are you still passing in only a pointer or a pointer to a buffer??
ComObj->get_Change( & Change );
February 1st, 2005, 09:42 AM
I know that you do not get into the code for the new method, but I keep seeing this:
ComObj->GetChange( & Change );
Change is just a pointer, no memory was allocated for this...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!