|
When a NT workstation is installed in a certain domain A, and then moved to another domain B, then following happens:
When a COM-component is registered, in the dcomcnfg you see
owner : account unknown.
What can be the reason ?
Best regards,
P. de Hon
|
|
|
|
|
Have any idea about how to invoke a context menu on right
click of Network Neighborhood computer. Say u want to display two menu
items like connect and disconnect of a n/w neighborhood computer using
ShellExtensions.
Any idea or suggestions highly appreciated..
Pls. provide how to register the component , i mean under what hive to be
registered.
Thanks & Regards,
soma
|
|
|
|
|
Hi,
I've got to develop a snap-in for the Microsoft Management Console (mmc). I dont have documentation to do that. If someone have a link or an example to help me it would be very apreciate. I usually seen the msdn documentation but it's not very clear in my head and I have trouble with the example.
Thanx for helping me !!!
|
|
|
|
|
This months (MARCH 2001) MSDN Magazine page 56 titled "Build more flexible console snap-ins
with the MMC 2.0 Object Model".
I hope this helps...
|
|
|
|
|
Yap, let's write snapins using visual basic. C001!
|
|
|
|
|
I've wrote one...
Feel free to contact me mailto:reznitskiy@softlab.ru (english/francais/russian).
And there is some documentation in msdn on writing snapins.
|
|
|
|
|
I'm writing a COM Application using ATL. Up until now, I haven't had a problem with building the DLL. I was debugging my application and made a minor change to solve a problem. But I couldn't register my DLL. I undid my change but I still get the following error:
Linking...
Creating library Debug/MAPConnector.lib and object Debug/MAPConnector.exp
Performing registration
RegSvr32: LoadLibrary(".\Debug\MAPConnector.dll") failed.
GetLastError returns 0x000000c1.
MAPConnector.dll - 0 error(s), 0 warning(s)
Could someone tell me what the error message means and how to solve it? I'll appreciate any help I can get.
|
|
|
|
|
0x000000c1 = "%1 is not a valid Windows NT application."
try Tools / Error Lookup in VC.
-c
|
|
|
|
|
-- RegSvr32: LoadLibrary(".\Debug\MAPConnector.dll") failed.
".\Debug\MAPConnector.dll" is a relative path name. Maybe some other DLL used by your application is not in the path at the time RegSvr32 is being executed. Or else the current directory is not in the correct location relative to your path for RegSvr32 to find your DLL to load it to register it at the time you are doing the build. I seem to recall editing the project build settings and using a variable that represent the project directory, instead of an abolute relative path to the DLL. for exmaple "$(ProjDir)\Debug\MAPConnector.dll"
|
|
|
|
|
Does anyone know where to find the source it IRotView, the MSDEV tool for viewing the contents of the running object table? Actually I'd be happy with any rot view app.
Thanks,
Aaron
|
|
|
|
|
You can you own IRotView app. very easy. Use COM API function GetRunningObjectTable, from where you will have a pointer to a IRunningObjectTable interface. After that you could enumerate the running objects using EnumRunning.
|
|
|
|
|
You can make your own IRotView app. very easy. Use COM API function GetRunningObjectTable, from where you will have a pointer to a IRunningObjectTable interface. After that you could enumerate the running objects using EnumRunning.
|
|
|
|
|
I have a C function that calls a C++ function that calls DoDragDrop() to drag a file using the CF_HDROP format data object. The global memory is moveable. Under any NT version of Windows this returns the expected value DROPEFFECT_COPY but under Win9x the function returns RPC_E_SERVERFAULT. I can only get the drag operation to work under Win9x if I use fixed global memory. Does anyone have any suggestions as to what is going on?
|
|
|
|
|
Hi,
I Created a COM object(Client) which is to be connected to a COM exe( server ). Below is the piece of code i am executing.......
This code is inside the method of a ATL full control........
//CLSID_Service is the coClass of my COM exe
if(pService == NULL)
{
hr = CoCreateInstance(CLSID_Service,NULL,CLSCTX_LOCAL_SERVER,IID_IService,(void**)&pService);
if(FAILED(hr)) return hr;
}
CComObject<cserviceclient> *pServiceClient;
CComObject<cserviceclient>::CreateInstance(&pServiceClient);
hRes = AtlAdvise(pService, pServiceClient->GetUnknown(), IID_IServiceCDKLinkEvents, &m_dwAdvise);
with this above code my AtlAdvise() failed.......
What would be the reason.........
CServiceClient is a COM object implementing the interfaceIID_IServiceCDKLinkEvents of the CLSID_Service
Any idea??
Thanks in Advance,
Aruna.
|
|
|
|
|
What was the returned HRESULT code?
Regards,
Ryan
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|
|
I am working with COM using MFC.I try to get a pointer to the IClassFactory Interface.But, I am getting the error that the memory could not be read.The pointer to IClassFcatory interface always points to address 0x00000000 in the memory !
The same problem I am facing whenever I work with COM.But if I run the program sometimes say 5 or more times I am getting no run time error & my program works with the same code !What is the problem ,how can I debug my program !
Y.Yamini Devi
|
|
|
|