1. Dll is loaded in context of executable so not cross process.
2. No, only within same process may you want to do that.
3. You can safely leave that up to COM.
On linux C++ this is easily done with openssl.
The windows openssl could do it too but the current version moronically pauses a second between each step.
e.g.
You could use this COM dll which has a very easy to use interface to convert bitmaps to jpegs.
You need to rename imagehandler.zip to imagehandler.cab and then you can extract the contained dll.
You could use QueryDosDevice and GetVolumeNameForVolumeMountPoint to iterate through your partitions until you find the new one and change that back to the old letter.
I looked at some code I wrote about a year ago where in a COM object a thread was started and this thread needed to notify the original thread of incoming messages.
I see now that it didn't use the...
I already told you you are on the right track with DefineDosDevice.
There are 4 other functions that you will need that are part of the same API as DefineDosDevice. Writefile is not one of them.
Huh? I believe you didn't express yourself clearly, which happens to everyone.
My point is, the base class can pass the raw *this* pointer along(as it isn't a com class). With this *this* pointer...
As a workaround to passing the interface pointer, which requires marshalling, for this kind of situation I usually let the Com class derive from a regular C++ class with a virtual function that is...
I think that in your thread function when the event is to be fired, you need to from the thread function notify the main thread to fire the event.
So pass the *this* pointer along to the thread...
I'm running XP service pack 2 and explorer windows have the CabinetWClass classname.
So you could enumerate those windows, look for SysListView32 (or ComboBox) elements inside it and query those.
It's easy to do.
I wrote a program (of which I posted the exe here) that did just this, using those drive API's. Worked like a charm and Microsoft in Redmond bought a license.
The only thing you...