Type: Posts; User: Rigel
Search took 0.02 seconds.
August 11th, 2009, 12:48 PM
Ah... I think I found it.
August 11th, 2009, 12:34 PM
Detect whether or not a network interface or the network itself is up or down? Please let me know. Thanks.
I found the problem... actually my example above wasn't entirely accurate.
"SomeFunction" takes an interface as a parameter, not an object.
This code works below:
I have a C# function
SomeFunction(out MyObject obj)
When I call this function from Managed C++
MyObject ^mObj = nullptr;
April 10th, 2009, 06:40 PM
I have two C# .NET projects that are loaded into one application process. Each have a reference to the same common library (let's call this common library the plugin). This plugin library needs...
April 9th, 2009, 04:41 PM
There are two separate dll Outlook Add-ins we are developing they both require a general library (let's call this library the "plugin") that acts as a proxy for sending/receiving messages across to a...
February 27th, 2009, 10:51 AM
February 26th, 2009, 08:03 PM
Is there anything that allows me to receive an event if the user changes their windows time zone? Thanks,
December 5th, 2008, 06:31 PM
FOUND THE PROBLEM!
sizeof operator is the problem and causes a stack corruption.
GetClassName(hwnd, szClassName, sizeof(szClassName)-1);...
December 4th, 2008, 07:55 PM
Thanks, I tried that already but that doesn't help either. It's such a strange problem because when these preprocessor definitions are not defined everything works perfectly fine. This app has...
December 4th, 2008, 05:44 PM
I wish that were the case. Whoever wrote this program uses "_tstring" eveywhere which when looking at the string header file yields:
typedef wstring _tstring;
December 4th, 2008, 04:01 PM
I used the UNICODE preprocessor directive to support UNICODE, however, doing so causes bizarre crashes.
"Unhandled exception at 0x7c96478e (ntdll.dll) in OUTLOOK.EXE: 0xC000000D: An invalid...
October 28th, 2008, 01:56 PM
I'd like to know what functions exist within an ActiveX DLL.
What APIs can I use to retrieve this info?
October 21st, 2008, 08:45 PM
Allocating memory for an object on one thread and deleting it on another thread? I thought that was ok and that thread share heap space?
Maybe this is not the source of the problem and I have...
August 27th, 2008, 04:44 PM
I was investigating using the ::InterlockedXXX family of functions but how come there isn't a thread safe way to read an int? What should be done if I want to read an int safely? Thank you
August 1st, 2008, 06:09 PM
I'm using RectangleToScreen to try to find the exact screen coordinates of a control in a form.
Rectangle rectQD = m_qd.Control.FindForm().RectangleToScreen(m_qd.Control.Bounds);
July 25th, 2008, 04:51 PM
Nevermind... I have to call Activate().
July 25th, 2008, 04:08 PM
I have a window (let's call this window "A") that always needs to be displayed on top of the main application window when "A" is first displayed in the application.
But after "A" is displayed we...
Thanks that's the answer I was looking for.
Thanks, but I thought a pointer was just a variable that held a 4 byte integer memory address. I don't see how casting this back and forth can cause so much problem.
There was a bug that stumped me for a while and I'd like to know the exact reason why this is happening.
I'm going to simplify the problem here.
class Base1 - Concrete class
April 1st, 2008, 01:33 PM
Ahh... I looked at the code a third time...
I think you are right.
Very good catch! :thumb:
April 1st, 2008, 01:06 PM
Thank you everyone.
Arjay: I'm 100% positive that DoSomething does not set m_bDoSomething = true.
boudino: locking does not work since both events are fired on the same thread. But I have...
March 31st, 2008, 08:22 PM
Why does this occur?
I have a piece of code that looks like the the following:
if( m_bDoSomething )
March 31st, 2008, 04:34 PM
Awesome! Thank you, I cannot believe the answer was right under my nose. Still having some problems with this as the events do not get generated but I'm taking a look at the website link you gave...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.