|
Stored the NOTIFYICONDATA struct for later use (not essential, but makes life easy), tweak the NIF_INFO bits, and use Shell_NotifyIcon(NIM_MODIFY, ...) to do this later on...
Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
|
|
|
|
|
I'm trying to create an MFC extension dll in Visual C++ 6.0. I'm attempting to output the dll with different names to help distinquish the debug files by changing the output file name for the debug configuration...
Project/Settings/Link Tab/Output File Name
I'm getting the following error when I link if I change the output file name from "Test42.dll" to "Test42_DEBUG.dll" in my debug configuration settings.
Linking...
Creating library Debug/Test42_DEBUG.lib and object Debug/Test42_DEBUG.exp
Test42_DEBUG.exp : warning LNK4070: /OUT:Test42.dll directive in .EXP differs from output filename "Debug/Test42_DEBUG.dll"; ignoring directive
Is there another place in the configuration I need to change to get this to work?
|
|
|
|
|
That is because the library file name in the DEF file is not changed,
you can find a file named "Test42.Def" in the project, open the file and edit the LIBRARY section to reflect the change
LIBRARY "Test42_DEBUG"
if that is the case you need two different def files for release and debug and set the def file names in the project options Project/Settings/Link Tab/Project Options then edit the /def:".\Test42_DEBUG.def" for debug configuration.
And also, you can actually safely ignore the warning or donot use def files and go for [__declspec(dllimport) and __declspec(dllexport)
declarators.^]
|
|
|
|
|
That got me past my problem.
Thanks for the help.
|
|
|
|
|
I have a browser which is developed into win32 using IWebBrowser2 interface.
I created one html login page in html which contain username and password text boxes and submit button.
When i click on submit button i need to verify the username and password from windows registry.
So i created one function which is get called after submit button click.
The funtion which retrive the username and password from windows registry.
But i am unable to get the HTML text box contain.
Can anybody tell me how to take and pass the html text box contain into the function which is
get callled after submit button click.
Sorry for the bad english.
Thanks in advance.
|
|
|
|
|
|
Thanks, how to get the html button event into the browser code so that i can execute my method.
|
|
|
|
|
your previous question was to how to get the text from html text box, and if you voted down my previous answer, then it is because that you don't know how to ask question and i don't want to help you any more.
these are the quote from your post,
Member 4620216 wrote: So i created one function which is get called after submit button click.
...
Can anybody tell me how to take and pass the html text box contain into the function which is
get callled after submit button click.
this seems you already handled the submit event, you want to know how to get the text from the html text box.
modified on Tuesday, May 13, 2008 5:43 AM
|
|
|
|
|
This[^] is downvoted for no reason.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
done
|
|
|
|
|
Thanks man.
I was going to ask you for your email ID (The cp "Email" option is not working for me, for some reason). I have a few things to discuss with you and CPallini.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hi,
I'm looking for a solution to pass a data struct between threads without using a global struct variable.
When i use a local struct variable in THREAD1 and send it with postThreadMessage to THREAD2,
The variable is out of scope and in the debugger get a null pointer (in THREAD2 scope).
If you have a better solution please share.
Thanks.
|
|
|
|
|
talevi wrote: I'm looking for a solution to pass a data struct between threads without using a global struct variable.
You can either do that, or use heap-based memory.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Thanks for the fast answer,
I tried that and got a null pointer.
It must have more robust solution
|
|
|
|
|
talevi wrote: I tried that and got a null pointer.
Then you must've done something wrong. Without a relevant code snippet, suggestions will be guesses at best.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It Works Just Fine Thanks
|
|
|
|
|
Does RegCreateKeyEx() works when registry key has been disabled by administrator??????
there are 10 type of people in the world...
01 who understand binary.
10 who don't...
|
|
|
|
|
Highly unlikely.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
ok....so can you tell me which function to use in case registry has been disabled????
there are 10 type of people in the world...
01 who understand binary.
10 who don't...
|
|
|
|
|
ashutosh dhiman wrote: ok....so can you tell me which function to use in case registry has been disabled????
You can't, unless you, like the one that 'disabled' it, is also an administrator.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
ok...in that case how to do that???? actually im making a tool which will enable the regedit which is disable by some spyware...for that i have to make a registry entry into windows registry....assuming im adminstrator...no plz tell me what to use??
there are 10 type of people in the world...
01 who understand binary.
10 who don't...
|
|
|
|
|
If you have any argument, use the forum to make it public.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I think you got a mail of ashutosh dhiman,yesterday I think he/she replied to you and told "if you dont like this question..." when I wanted to answer him about you he/she deleted his/her answer!
|
|
|
|
|
CPMRU turned ON?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I dont know why he deleted his reply,but anyway I dont think I can preservation CPRMU
Add
I dont know why I think they are man.
/Add
|
|
|
|