|
EliottA wrote: He had the decency to stop replying hours ago, you carried it over to a new board, attempted to have a community (which he served tirelessly whilst earning MVP honors) turn and downgrade his posts for no reason other then you weren't satisfied. He gave you your answers even while you insulted him. You should sit and apologize, not attempt to defend your lack of class and your rudeness. You gotta be kidding me
|
|
|
|
|
I think it was totally appropriate, given ledmike's childish language in the first response
|
|
|
|
|
What's your beef with this guy? He wasn't rude, he didn't ask you to do his homework, and he didn't offend anyone.
--
Kein Mitleid Für Die Mehrheit
|
|
|
|
|
Hi,
I have develope a AddIn using ATL in .Net enviroment and I want to capture [Winword Cross] application close and not document close. How can I get this event? I want to Invoke this event when I am closing a document.
Thanks
|
|
|
|
|
I have write a program ,which can run on local computer .but it can't access to remote ad.
this is my first question ,please help me.thank you .
|
|
|
|
|
|
In C++\CLI I m able to get the properties using
PropertyDescriptorCollection^ Scadapropinfos = TypeDescriptor::GetProperties(AxHost^% );
How to get the properties of control in Native C++
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
Anybody has idea how to start specific service in remote machine using WMI C++ API.
Jack Rong
|
|
|
|
|
|
Doesn't seem like you understand the nature of WMI, Windows Management Instrumentation. It is a part of COM/DCOM components.
Jack Rong
|
|
|
|
|
If you want to talk to me stop spamming the forums like a giant arse. Until then frack off.
|
|
|
|
|
Hi,
I could able to create instance of the com server using oleview.
But when i do the same thing in code with cocreateinstance it gives the error E_NOINTERFACE or 0x80004002. By breaking cocreate instance if found that Queryinterface return this error.
How could i resolve it?
Please help
many thanks in advance.
|
|
|
|
|
hi
i have a problem, i want do my project that is we have a client/server system and we have 2printer for example hp1 and hp2,and one server and for example 6 cleint computer in network.
a program is install on server and printer me be connected to any client, and if click on hp1 on program in server , hp1 on any client that have hp1 print,and hp2 too.
i want help me ,what i should learn for this project? what idea you have ?
i do client programing and don`t write program on network.
after finish my project take my result on site.
|
|
|
|
|
#include "stdafx.h"
class A
{
};
class B
{
};
int _tmain(int argc, _TCHAR* argv[])
{
A* pA = NULL;
B* pB = dynamic_cast<B*>(pA);//error C2683: 'dynamic_cast' : 'A' is not a polymorphic type. This is no doubt.
return 0;
}
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
But if A inherits from IUnknow, the dynamic_cast compile successfully, why?
#include "stdafx.h"
#include <ObjBase.h>
class A : IUnknown
{
};
class B
{
};
int _tmain(int argc, _TCHAR* argv[])
{
A* pA = NULL;
B* pB = dynamic_cast<B*>(pA);//Why compile successfully here?
return 0;
}
|
|
|
|
|
"The dynamic_cast operator cannot be used to convert from a non-polymorphic class, that is, a class that does not define any virtual functions." (c) MSDN
So IUnknown is an interface with 3 virtual functions QueryInterface, AddRef and Release.
You can obtain such effect with
class A<br />
{<br />
virtual ~A() {}<br />
};
With best wishes,
Vita
|
|
|
|
|
I wrote some COM+ Applications Using Microsoft .NET Enterprise Services and its work fine.
But i don't know how to debug it.
I try to use "attached to process" and it is not stop on the break point ( the break point is valid - the modules are up ).
Someone know how to debug this thing ? and why its not stopping on the break point ? ? ?
Thanks ...
|
|
|
|
|
I would like to copy file from local to remote machine using WMI in C++. Not quite sure how to do this.
According to MS doc, "Win32_Directory" can be a good candidate. Anybody go idea? Thanks in advance.
Jack Rong
|
|
|
|
|
|
Hi,
i have an dll(using ATL) file in webserver and i included it in my html page ..
and when client requests for that html the ocx gets installed with his permission but the issue it"s getting successfully installed on Admin machine..but in non-admin machine even the message box that prompts to install dll is not displaying.....is there any limitation for non-admin...
pls help me out...
|
|
|
|
|
Did you care about signing the ocx and implementing the safety interfaces: IObjectSafety or IObjectSafetySiteLockImpl?
But I have no ohter clue?
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
ya i have signed and implemented IobjectSafety to mark ATl ActiveX control as safe....
but still i was unable to install and register in non admin only....Every thing works fine in admin machine...
|
|
|
|
|
Wasnt there something with "per user" installations?
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Ya but i need to install the ActiveX dll using IE .....
pls let me know regarding the same....
|
|
|
|
|
Hi,
I have an AddIn application where I am adding a one menu "Test" in Winword -->File menu. I am able to add it but i am able to sink events on this. I tried this in various ways but I am able to do that.
Any idea will help.
Thanks
SNI
|
|
|
|
|
Create a new COM ATL project. Insert new ATL Object(select sample object). Then go to class pane in solution explorer. Right click on class name and select implement interface. Choose a tlb/dll file and pick any one interface and click finish. Everyting works fine.
But when i try to implement interface in one existing COM project, after selection interface of tlb file when click on finish button i got following error
"g_opchfcm.imports is null or not an object"
Any idea to solve this issue
|
|
|
|