Type: Posts; User: drm15
Search took 0.01 seconds.
August 2nd, 2007, 04:55 PM
Thanks for responding - I tried this, but it doesn't seem to correct my problem. I will keep trying. I probably should start over in ATL!
July 30th, 2007, 09:53 AM
I know this is an old post, but I am running into the exact same problem. How do you go about registering an exe properly? I have tried regsvr /r, but it doesn't seem to correct the problem. Is...
Now I am really confused and stuck - can anyone provide an example or tutorial for how to make an ATL exe with interfaces? I have steped through the basic examples and I cannot figure out how to get...
A specification document I was given before I started coding contained interface names and their associated GUID's. The fine print stated that GUID's could be unique, but that the interface names...
To answer both questions with one reply:
"<your_COM_server>.exe /regserver " - This is what I was doing, but it does not produce any errors.
Yes, I had called CoInitialize and...
OS: Windows XP SP2 (32-bit)
I guess I should be a little more clear at where this is happening. Initially I tried to do this in a simple client test application, but that was failing so I tried...
I have an ATL COM Exe with many interfaces. Every time I try to start my COM server I get an error.
If I use this method:
To create the SafeArray you can do the following:
// Create the SAFEARRAY
dimensions.lLbound = 0;
So what you are saying is that you have a managed dll (C#) which is being called by unmanaged C++. I believe this will help you:
// Managed Code (C#) includes
#pragma warning (disable: 4278)...
I'm confused - did you create a dll in C# that you hope to include in your client and make calls to it? If so, then you just need to reference it within your project.
Do you have a C++ dll...
If you are trying to call something via a COM interface, you would probably want an HRESULT as the return value and pass a byte array pointer to the function all. I am not clear on all the details,...
Does anyone know if it is possible to create an IDispatch pointer out of a C# class to pass to a C++ object expecting an IDispatch pointer? I assume I have to create an interface, but how do I pass...
April 30th, 2007, 10:38 AM
I have attached my ATL class to try to make more sense. If anyone has an idea of how my base class can fire the events within my ContextParticipant class I am open to anything.
Thank you all for...
April 30th, 2007, 09:16 AM
I apologize if my terminology is not correct (I assume it is not). I believe you are correct, I have implemented a connection point container. I am trying to follow the tutorials for creating an...
April 27th, 2007, 11:45 AM
Thank you all for your help thus far. I am still very confused however, and maybe it is because I am not being clear (or just am very confused and have my process implemented incorrectly).
April 25th, 2007, 05:15 PM
How does the base class call functions within another class?
I created public virtual functions which call the corresponding Fire functions within my ATL class. Should I have created the virtual...
April 25th, 2007, 03:57 PM
Take a look here: http://msdn2.microsoft.com/en-us/library/kys1801b(VS.71).aspx
The asctime function converts a time stored as a structure to a character string. The timeptr value is...
April 25th, 2007, 03:49 PM
Found this on MSDN:
struct tm *newtime;
April 25th, 2007, 03:39 PM
I have a project that is essentially a notifier to listening applications. The base class is a generic C++ class that simply manages data. When the data changes it needs to notify the listeners...
March 27th, 2007, 04:42 PM
Thanks - I added this to my code and it seems to have resolved my issue.
March 27th, 2007, 04:10 PM
How do I keep my programming running once it has started? I have my "WinMain" which was automatically implemented for me, but I "overrode" the Run function so that I could add another call within...
January 22nd, 2007, 09:47 AM
I recompiled everything in debug just now, connected to it through the remote debugger, logged off the workstation and everything works fine (i.e. no error). When not running normally (not connected...
January 22nd, 2007, 09:31 AM
I am using VS2003 - when I try to remote debug it the debugger drops right before the dialog box is displayed.
January 22nd, 2007, 09:18 AM
How do you debug something that only shows at logout, after the debugger has been closed?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!