|
Which class, the container or each of the equipment classes (many different types) ?
|
|
|
|
|
Hi all
I have a project in VC++ and MMC.
I would like to know, how can i prevent from a user to exit MMC ???
Thanks.
===============
ICQ# 37571575
===============
|
|
|
|
|
You cannot prevent _any_ user to exit from mmc.
The only way to try something - is to make a "User mode, limit access".
|
|
|
|
|
You cannot prevent _any_ user to exit from mmc.
The only way to try something - is to make a "User mode, limit access".
|
|
|
|
|
Hi,
I tried running "DcomCnfg.exe" to configure DCOM on a Windows '98 machine and I got a message saying that you have to have user-level access selected in your network control panel before you can run this utility...
Is it possible to run a DCOM server on Windows '98 without having user-level access set up in the network control panel ? (most of our clients do not have user-level access set up) Can It be done with the default share-level
access ?
Also, on another Windows '98 machine, I could not locate the Dcomcnfg.exe application. I was under the impression that this was available in all Windows '98 installations - Am I correct, or do you have to specifically select this option when doing a custom Windows '98 installation ?
TIA
Venkatesh
|
|
|
|
|
|
Hii!
I have a little question for you that I'm looking for answer for a
long time...
Y when we are developing a COM component we're using interfaces and
hide the implementation in DLL/EXE?
Thanks
Adam
p.s
Sorry about the "not well" English - I'm from Israel
|
|
|
|
|
Hii!
I have a little question for you that I'm looking for answer for a
long time...
Y when we are developing a COM component we're using interfaces and
hide the implementation in DLL/EXE?
Thanks
Adam
p.s
Sorry about the "not well" English - I'm from Israel
|
|
|
|
|
We are getting an error while trying to install an app using the VB package deployment utility. There are three OCX files, two of which are registered correctlly, the third brings about an error dialog, "Error occurred while trying to register the file *.OCX: "Abort, Retry, Ignore".
When we try to run the app, after having dismissing the error message with "Ignore", we get an error:
"component *.OCX or one of it's dependencies is not correctly registered. The file is missing or invalid."
There is no .dep file provided with the OCX, which happens to be an SAP active x control.
Anybody know of a generic fix for this?
Thanks for any help or information!
|
|
|
|
|
Hi :
Hope you are familiar with DBMON utility I want to use it with
DCOM to monitor remote OutputDebugString messages.
If I simply use CoCreateInstanceEx with COAUTHINFO as NULL then
the mutex created in my server process access the OutputDebugString
messages in two scenarios only.
1. The client ( network )user is the local admin of the
server machine
2. The client and server machine users are same ( I mean same
users not same groups )...
I used COAUTHINFO and COAUTHIDENTITY from the
client ( where I could always pass the user name and password of the
local admin of the remote computer ). But when I do it It has got
strange results.
1. I only succeed if on the client machine I am any network user and
I have given the user name and passwd of the local admin of the remote
machine and the user logged on the server also belong to the local admin
groups of the server pc.
Now the second condition above, which was working previously does not
work any more now. why ,,,, I am totaly confused .
2. Does it haveanything to do with the creation of the filemapping
object remotely which is responsible for signaling the DBWIN_BUFFER_READY
event to indicate that a OutputDebugStrng message is captured.
I have supplied security identifiers as NULL in the DBMON code.
In case you are not familiar with DBMON or its code . It is available
in Platform SDK samples and the code is one cpp file with 2 or 3 pages
max and the very easy for a person of your calliber...
RE .. I am desperate ....
|
|
|
|
|
I'm learning about COM in C++.
I want to create a com dll which will have 2 interfaces. 1 public method in each.
I then want to create a client to call a method on interface1, then use QueryInterface to return an interface pointer to interface2, so I can call the method on the second interface.
Both interfaces will have the same method name & parameters.
Where can I get sample code or tutorial to do this?
Cheers.
|
|
|
|
|
You can find a great article on COM & interfaces at the Code Project. Go to the following link:
http://www.codeproject.com/com/comintro.asp
Bye..
|
|
|
|
|
My dear MSDN is full of such samples ..
Just spare some time and you will surely get a sample of it.
|
|
|
|
|
Is there any way of getting addresses from MAPI without showing the dialog (MAPIAddress), can I get a list of all the addresses?
And, is there any way of getting more then just the name and email address, I want the telephone number (Outlook stores this info in it's address book).
TIA
Fredrik Sigbjörn
VoxIT
|
|
|
|
|
Well I wanted to send 2 pictures, but I don't know how can I attach them. It won't be so easy to describe myself, but I'll try...
I implemented a NameSpace handling code in VC++6.0, without MFC. It works, but it has some problems.
1. I can show the folder's icons. These are OK, and looks like as "original" windows icons. But I use an ExtractIcon application. This app. changes many of system icons. (desktop,my computer, normal directories, shared directories, etc.) How can I ask/get/handle these icons (too)?
2. I can enumerate subfolders. But when I show them the order of subfolders are not the same as in Explorer. How can I sort them?
3. here's a part of my code: (instead of two pics)
How can I solve the #1 and #2 questions?
// lpsf: interface pointer
// lpi: absolute pid (merged myself)
// hIconSmall: the icon what I want to get
bool ANameSpace::GetDisplayIconOf(IShellFolder *lpsf, LPITEMIDLIST lpi, HICON* hIconSmall)
{
bool _back = true;
HRESULT hres;
IExtractIcon *pxi;
// get IID_IExtractIcon interface
hres = lpsf->GetUIObjectOf(NULL, 1, (LPCITEMIDLIST*)&lpi, IID_IExtractIcon, NULL, (LPVOID *)&pxi);
if (SUCCEEDED(hres))
{
char szIconFile[MAX_PATH];
int iIndex;
UINT wFlags = 0;
hres = pxi->GetIconLocation(GIL_FORSHELL, szIconFile, sizeof(szIconFile), &iIndex, &wFlags);
if (SUCCEEDED(hres))
{
// I need only the small icon
HICON hiconLarge = NULL;
int cxIcon = GetSystemMetrics(SM_CXICON);
int cxSmIcon = GetSystemMetrics(SM_CXSMICON);
// try getting it from the Extract member fuction
hres = pxi->Extract(szIconFile, iIndex, &hiconLarge, hIconSmall,
MAKELONG(cxIcon, cxSmIcon));
}else
_back = false;
pxi->Release();
pMalloc->Free(pxi);
} else
_back = false;
return _back;
}
Thanks in advance,
---
AkelA
|
|
|
|
|
Hello,
I've created a testdll in Visual Basic to see if this dll is multi-use.
(multi-use for me meaning : when accessed multiple times from different machines
via asp, the processing is done at the same time)
This was ok
Request 1 at eg 10:10:00 and request 2 from another machine at 10:10:01 processed simultaniously.
I have another dll (created in Uniface) but this dll places the request in a que.
Meaning : request2 starts processing after request1 was ended.
How can I see in COM viewer what the "mode" of a COM-object is. (multi-use or not)
How can this be made multi-use ?
Thanks in advance,
Tom
|
|
|
|
|
HELLO ,
I M DOING PROJECT IN COM
MY PROJECT IS TO BUILD A SHELL COMPANAT WHICH CAN BE ADDRES TO WINDOWS EXPLORER AS A SHELL LIKE CONTROL PANLE SHELL OR DRIVE LETTER SHELL AND WHEN WE CLICK ON THAT SHELL THEN IT SHOULD WORK AS A FTP CLIENT WHICH WILL UPLOAD OR DOWNLOAD FROM FTP SERVER AND IT SHOULD ADD AS MANY SHELL AS USER WANT TO ADD.
WELL ANYBODY CAN HELP ME AND GUIDE ME ABOUT THIS THEN IT WILL MAKE A GREAT HELP FOR ME
ANYBODY HAVE ANYIDIA ABOUT THIS PLEASE SEND ME A MESSAGE OR MAIL MAIL ME AT love22k@hotmail.com
THANK U VERY MUCH FOR READING THIS MESSAGE
|
|
|
|
|
A simple bath in soapy water for your keyboard will help you to un-stick the caps-lock or shift key that is stuck.
It will also make us much more likely to be willing to help you, since screaming into our eyes hurts.
For better performance, be in the bath tub with the keyboard, and leave the keyboard plugged in.
|
|
|
|
|
Hi,
I hava creared a wtl app with a ok button. I would like to display a tooltip when the mouse is over the ok.
In OnInitDialog(), I have added the following code but the tooltips does not display. What should I do. thanks
RECT rc = { 130, 7, 50, 14};
m_pToolTip = new CToolTipCtrl;
if(!m_pToolTip->Create(m_hWnd, &rc))
{
return TRUE;
}
TOOLINFO ti;
ZeroMemory(&ti, sizeof(ti));
ti.cbSize = sizeof(ti);
ti.uFlags = 0;
ti.hwnd = m_hWnd;
ti.lpszText = TEXT("Red Rectangle");
ti.rect = rc;
m_pToolTip->AddTool(&ti)
m_pToolTip->Activate(true);
|
|
|
|
|
How can I make an active document server talk to the container? I tried using the m_pActiveWnd pointer in the server app but it does not work. What am I doing wrong?
|
|
|
|
|
I have a program that uses some com components. I want my program to automatically registrate these
components by calling regsvr32. The problem is that some of the users of my program will not be local
administrators and I suppose that regsvr32 will fail to write into the registry if a "non-admin" user tries
to registrate a component.
Can someone give me an idea how to solve this?? I suppose (hope) there is a way to registrate a component
even if the user doesn´t have access rights to the registry.
I apologize for my bad english.
/Gunnar
|
|
|
|
|
Hello.
I'm doing a C++ project in school, where I'm suppose to program some
kind of Hyper Terminal for Dos... The problem is I have no idea about
communication in C++ (I'm not even sure i'm writing to the right forum...),
So I can use all the information you can give me.
Thanks in advance, Doron.
|
|
|
|
|
Hi Doron,
C++ language does not have any communication functions... If you are programming in Windows environment, then you can use the communication functions of WIN32. You can find their desciption in MSDN. Here is a couple functions that you'll definitely need: BuildCommDCB, EscapeCommFunction, WaitCommEvent, ...
Regards,
Alex Gorev,
Dundas Software.
|
|
|
|
|
If you need a quick and dirty communications application you can use the MSCOMM control. Then you really will be using COM.
p.s. I think you should go with the WIN32 communications API as you are in school and should be learning from your assignment. You'll have plenty of time for Q&D apps when you go to work.
|
|
|
|
|
Is there a way to access a non-registered VB ActiveX DLL server with C++ (using DllGetClassObject)?
|
|
|
|