|
Can I insert first ActiveX object into second ActiveX objekt and use second ActiveX object in dialog-based application. Thanks.
Ivan
|
|
|
|
|
hi
I would like to know where can I download the audio source code for Windows CE(ATL COM)?
|
|
|
|
|
Hi, I'm not sure that this is the right forum but I coldn't find any "Shell" forum. I'm sorry if this is the wrong forum (please correct me if so).
I'm currently developing a shell extension that resides on desktop. It uses a database for dynamic subfolders display. Each subfolder could possibly have different types of mount points (e.g. Compound file, a directory or database "fs"...).
ShExt
|
A Folder (DB Retrieved "root" folder)
....|
Compound "fs"
Next Folder (DB Retrieved "root" folder)
....|
Database "fs"
etc...
Many Thanx in Advance
Mario
Problems/Questions:
P1) Each "root" folder needs a login: When a new "root" folder is about to expand i use SHChangeNotify with SHCNE_MEDIAREMOVED (since i've marked the "root" folders as removable) to compress the possibly old expanded folder is being compressed. The problem is that explorer is wery slow, it always enumerates the new folder before compressing the old one and makes it really messy.
Q1) Is it some way of making explorer to compress it first and then use the enumerator? (I don't want to do any "hacking" in the tree pane...
P2) Since my implementation internally just uses UNICODE and I don't have a Win95 box: I don't like to have separate distributions of my program at least internally the same, except for the UI stuff...
Q2) Does Win95 query for e.g. IExtractIconW or does it just uses IExtractIcon ?
P3) Not really a problem, but laziness (or rather less code to maintance)?
Q3) Is there any "generic" helper object that I could use for the view pane if no custom is needed (that takes IShellFolder* param and uses the enumerator, IExtractIcon etc... and populates it...)?
P3) Well... not a problem, rather a general question?
Q4) Why do explorer (on my Win200 machine) seems so "sloppy" in terms of instantiating uneccesary many times?
Dump (I've written the component in ATL :
FinalConstruct
Initialize
GetClassID
FinalConstruct
Initialize
EnumObjects
FinalConstruct
Next, GetDisplayNameOf
Next, GetDisplayNameOf
Next, GetDisplayNameOf
Next
FinalRelease
FinalRelease
FinalRelease
// Ok, until here (seems to use threads to do above stuff)
// Here the strange stuff begins... It seems, for me anyway,
// wase of computational power doing that many
// instantiation of the object?
// (Lucky me that I don't do that much in the Initialization process (FinalConstruct,
// Initialize), merely store the pidl for futher use,
// but one might have to do some more processing one day in the Initialization routine)
FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
FinalRelease
FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
FinalRelease
FinalConstruct
Initialize
GetDisplayNameOf
GetUIObjectOf
...
|
|
|
|
|
Hello,
I am creating an ActiveX control using ATL to replace an existing one based on MFC - it all works fine in test container.
I have a problem when putting the control onto a HTML page.
The previous control loaded a file in the onload handler in javascript:
e.g.
function myloader()
{
myobject.loadfile("wibble.file");
}
etc.
the onload code needs a valid window to have been created - the problem is that the window is not created until after the method is called.
I have the m_bWindowOnly set to true so it should be trying to create a windowless control.
anyone else come across this or know how to overcome it.
Thanks
|
|
|
|
|
How do I built a connectable component using MFC? The component should be capable of sending and receiving events.
Thanks,
|
|
|
|
|
When I pass a handle of file (or bitmap) to the server ,which has been opened from the client , the server can't access the file.When the server reads from the file , the operation don't return an error code but the information that has been read is wrong(or the bitmap can't be selected in any device context).I tried lots of things , but nothing helped me.Please help me.
|
|
|
|
|
hey Joe,
You can not use HANDLE's between processes.
You need to call DuplicateHandle to have your second process have its
own handle to the same resource.
Watch out for the first arguement to DuplicateHandle as it is a HANDLE to the
process that created it, the way to get that is to call OpenProcess with the
ProcessId.
Jules
|
|
|
|
|
My MS-Mpeg4 compressor has become corrupt, I cannot find this file anywhere.
Could somebody please advise me on where I may find this file ??
Regards
Robin
|
|
|
|
|
Hi Guys,
My application is needed to connect to another application that supports automation( like Word, Exec), but the problem is: When I start my application, the application I want to connect may have many running instances, if I use the ProgID to get the ClassID and create a DispatchDriver by that ClassID, I always get the IDispatch* from the first started instance.
Do you guys know anything about how to do that and kindly give me some ideas?
|
|
|
|
|
Hello,
Can anyone point to a good resource (Book/Web) where I can find articles on creating COM+ object with VC++
|
|
|
|
|
Hi everyone,
I'm trying to build an activeX (ATL)witch contain a combobox.
The problem is, I can't see the strings that I add in the combobox list.
At test mode everything seem perfect, but When I insert my New control in any container there is no string inside.
I learned on another site that it is a bug, But they don't say exactly how to solve it.
I'm usign Visual C++ 6.0 to build it. This crucial for me
Please if you have any solution contact me that will appreciated.
Email: skoomson@motus.com
|
|
|
|
|
Hi,
I have developed a vbcomponent(Activex dll).the component has the function
like this SynonyList(Words, WordList, MeaningArray, cou)-Words,wordlist,meaningarry,cou are variant. if u pass a word in this fucntion it
returns wordlist,meaningarry as array of strings,cou as integer.if i use this
in vbscript it works .but javascript i don't know how to pass it to the function.
pls give me ur suggestions.
|
|
|
|
|
Hello
I'm working on VC++6 , on Windows NT.
I'm planning on building an MFC ActiveX.
The ActiveX looks like this:
It will look as a black rectangle but in the rectangle
there will be an inner rectangle which will be transparent.
So you will have an internal transparent rectangle inside
A black rectangle.
Does anyone knows how to make an ActiveX control that
has a transparent rectangle inside it ?
Thanks , Roni
|
|
|
|
|
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.
|
|
|
|