Type: Posts; User: fransn
Search took 0.07 seconds.
DragQueryPoint,WindowFromPoint and then you can query the window further.
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.
IN VC 2008 you can do the same as in VC6++
project settings => Build events => Post build-events:
REN $(TARGETPATH) newname.exe
or something like that.
As you long as you check the Free threaded marshaller box the generated code should make sure your object marshalls correctly.
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.
openssl s_client -host...
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 also copy/rename the file with Post build options from the settings dialog. I use VC++ 6 , maybe it's slightly elsewhere in dotnet.
July 17th, 2008, 09:04 AM
Ok what happens if you use a multimap instead?
July 17th, 2008, 08:57 AM
Probably there are double (identical) entries in your input.
July 17th, 2008, 08:36 AM
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.
July 17th, 2008, 05:28 AM
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...
July 17th, 2008, 05:11 AM
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.
July 16th, 2008, 10:44 AM
This will give your program the XP look and feel if that's what you mean: http://www.codeproject.com/KB/winsdk/makexp.aspx
July 16th, 2008, 10:15 AM
I really like Inno too.
It creates one single setup exe as opposed to the microsoft setups with multiple files.
July 16th, 2008, 08:43 AM
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...
July 16th, 2008, 08:32 AM
You can just add ES_AUTOSCROLL to the styles for the control in the resourcefile
July 16th, 2008, 08:22 AM
sockets,named pipes, windows events + (memorymapped) files
July 16th, 2008, 08:20 AM
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...
July 16th, 2008, 06:14 AM
Of course you can do that.
But unless you're writing this site as a visual C++ isapi extension you should be in a different sub-forum.
July 16th, 2008, 05:36 AM
Justifiable reasons? network administrators want this kind of functionality.
July 16th, 2008, 05:33 AM
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...
July 16th, 2008, 05:26 AM
I'ld stick them into SQL server
July 16th, 2008, 05:20 AM
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.
July 16th, 2008, 04:38 AM
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...
July 15th, 2008, 05:21 AM
You're barking up the right tree.
I wrote that same program some years ago with attached file as result.
Does it do what you need on Vista?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!