Type: Posts; User: Nikitozz
Search took 0.01 seconds.
June 13th, 2012, 04:32 AM
You should check your ShowDialog(); calls return values in order to find out which button was actually pressed.
Something like that
// Show dlg as a...
June 13th, 2012, 03:53 AM
I would stick to idea of creating buttons as windows. And they will be able to paint themself.
As for me, having a separate class only for buttons painting is not the best solution. Painting is more...
June 13th, 2012, 03:30 AM
I've done this once. :) But I didn't have any other choice that time. Anyway it's ugly and awful.
It’s impossible to load 34-bit DLL into the 64-bit application. If you really need this...
September 26th, 2011, 01:00 PM
Try to read this
September 24th, 2011, 01:35 PM
You can use Native WiFi components: http://msdn.microsoft.com/en-us/library/windows/desktop/ms706556(v=vs.85).aspx
It seems that WlanGetAvailableNetworkList can do the thing you need....
February 16th, 2011, 02:52 PM
February 16th, 2011, 01:11 PM
July 18th, 2010, 02:16 AM
June 12th, 2010, 02:31 AM
What is TimeStampDT()? Can you show this function definition?
Why do you actually want to add your own WinMain into the MFC application?
Check this: http://msdn.microsoft.com/en-us/library/aa986916(VS.80).aspx
I'm not sure if this feature is avalaible in VS2005.
This thread might be helpful: http://forums.asp.net/t/1093228.aspx
One of the possible soulitions is to define your Instance() function like this
return m_pInstance ? *m_pInstance : *(m_pInstance = new Logger);
They mean "managed C++": http://en.wikipedia.org/wiki/Managed_Extensions_for_C%2B%2B
You are trying to translate the text "Hello", but I don't see where you actually pass it to the server.
You just declare the szText variable, but never use it.
No. It won't. The Sahpe class doesn't know anything about the length member.
The reason of the memory leak is simple. You call a constructor for your string
::new((void*)pTmp)CString; // call constructor
,but you never call a destructor (which, by the way, frees...
Try this http://bytes.com/topic/c-sharp/answers/459904-programatically-getting-my-assemblyversion
Just change the loop
for (int x = elements - 1; x >= 0; --x)
First of all, it would be helpful to see the exact error message.
Second, you implemented both of your constructors, didn't you?
April 13th, 2010, 12:12 AM
Wild guess #3. ))
If your button handlers "execute different things", the fact you have variables with the same types and names in each of them is not a sufficient reason to make these variables...
April 10th, 2010, 03:07 AM
Have you tried to look for this window using some tool, for example spy++?
April 7th, 2010, 02:07 AM
F11 key will solve your problem.
March 14th, 2010, 05:32 AM
I encountered this problem before when I compiled my VC 6.0 project in VS 2005. The problem is, as Paul McKenzie said, starting from vs2005 std::vector<T>::iterator and T * are not the same. So you...
March 9th, 2010, 01:47 AM
Hmm. In my program the handler gets called.
#define _WIN32_WINNT 0x0501
LONG CALLBACK myExceptionHandler(PEXCEPTION_POINTERS ExceptionInfo)
Click Here to Expand Forum to Full Width