|
Hi,
I have an application that is hidding in the tray. Currently, I'm able to detect how many instances of my app are running so I can prevent that more than one is. What I'd like to do is that if a 2nd instance is launched, it would bring the main dialog up from the 1st instance.
FindWindow will not work since the dialog is not visible while the app is hiding in the tray. Is there some trick to find a hidden window, or perhaps I could manage to find the tray icon's menu and trigger a message?
Thanks!
---------------
Tired of Spam? InboxShield for Microsoft® Outlook® and Outlook Express®
http://www.inboxshield.com
|
|
|
|
|
Is there a way to find out if two paths/volumes are on the same physical drive?
I want to know if C: / D: are on the same disk.
/Mathias
|
|
|
|
|
try it with the filehandle
|
|
|
|
|
I am trying to clear/delete the AutoComplete data (like Internet Explorer's "Clear Forms" and "Clear Passwords" options)
I believe AutoComplete data is stored in the registry under hidden keys.
How do you determine which registry keys need to be deleted?
Can you just delete them or are they protected?
I use C with the Win32 API.
Thanks,
Richard
|
|
|
|
|
Check out this key.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete
Kuphryn
|
|
|
|
|
Which simply turns auto-complete on or off. It does not actually clear the entries.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I would say download from http://www.sysinternals.com/ntw2k/source/regmon.shtml Regmon and check what IE does when you clear the forms
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
I have a program where I make use of a proprietary DLL containing non vital code for the application. What I want is, if the user has the DLL, it's functionallity will be added, but if it's missing, the user will have to do without these extra features.
The only solutions I can come up with to this problem is to eiter load the DLL manually, having to find all functions I need (hundreds), or to create something close to a proxy-dll containing all application code for the extra features, linking it to the proprietary DLL, and in turn load this DLL manually.
None of these solutions is practical in terms of workload. Is there another, more simpel, way to do it?
Since my guess is no, I'd hope someone out there says yes
|
|
|
|
|
|
Superb, I have also learnt something new!
Ant.
|
|
|
|
|
Thanks! Saved me a lot of work! Works like a charm!
|
|
|
|
|
I have written WIN32 ( Non MFC ) dll using VC++ 6.0 visual studio. The exported functions are called by another application. This works correctly on my PC.
I have copied the EXE and dll on another PC. The application runs without any errors but the values returned from the functions are not correct. Mostly the intialised values are returned (i.e. if boolean is initialised to TRUE , the it is only returned)
Do I have to do something else so that functions behave correcly on all the machine ?
rgds
Rajesh
|
|
|
|
|
make sure the proper dll's is called. You may have the dll in more than 1 place.
|
|
|
|
|
Copy your dll in the same folder as exe just so that your latest dll will be loaded or else search and delete all the other copies of dll.
|
|
|
|
|
Thanks,
But still I am having same problem.
I tried putting message Box in the dll function.
But it seems that the value of the variable in the dll function itself is 'intialised or 0 value' on the other PC and is correct on my PC.
O.S. is Win2k on both PCs.
Thanks and rgds
Rajesh
|
|
|
|
|
How to retrive the values of XML using VC++
|
|
|
|
|
the values of XML ??
you mean you want to make an XML parser ?
TOXCCT >>> GEII power
|
|
|
|
|
Check out MSXML, which allows you to use either a DOM or SAX object to handle data in XML format - there's also xerces, and a number of other alternatives.
Steve S
|
|
|
|
|
|
Take a look at Expat. IF you search for "Expat" here on CP, there's an article about using it in a C++ program.
Somebody suggested checking out MSXML - beware! It requires a certain version of IE, and on some operating systems, an additional package to be installed.
Sometimes I feel like I'm a USB printer in a parallel universe.
|
|
|
|
|
Navin wrote:
Take a look at Expat.
I have read somewhere that it is not bug-free and could cause problems in a complex XML sinario.
Navin wrote:
beware! It requires a certain version of IE,
most of them that are IE dependent are above IE 5.0, and its pretty common to have IE version above that.
God is Real, unless declared Integer.
|
|
|
|
|
Hallo!!
I have a problem:
When I make my DLL in Realise-Modus, it is crashing , maybe by deleting at the heap, but i can 't see the location in the Program because of Realise Modus.
When I make a Debug-DLL, it doesent crash.
What can I do to Debug the crash in Realise-Modus or to bring it crashing also in Debug-Modus??
I Use Visual C++.net compiler .(7.Compiler)
Thanx
Dirk from Germany
|
|
|
|
|
While not a solution to your exact problem, this article might help to shed some light on it.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
One chance can be, due to wrong message handler prototypes. just guessing
It's not a bug, it's an undocumented feature. suhredayan@omniquad.com
messenger :suhredayan@hotmail.com
|
|
|
|
|
I was wondering about VC++.NET being able to produce a real-mode module ...
It should be release mode, right?
Maxwell Chen
|
|
|
|