Type: Posts; User: jase jennings
Search took 0.07 seconds.
April 20th, 2008, 11:47 AM
Exactly what I was looking for. All is well now :)
April 20th, 2008, 07:07 AM
Been a long time since I coded anything, but revisiting an old project to make it work on Vista has thrown up a problem I cannot remember how to resolve :)
I'm fetching a registry key...
January 3rd, 2006, 04:52 PM
The code i am writing must also run on Windows 98 and therefore i define _WIN32_WINNT as 0x0400. These wts functions require that defined to 0x0501 for xp, so my code won't compile.
That's why i...
January 3rd, 2006, 04:47 PM
I put the code in my dialogs InitDialog and now it all works nicely.
The documentation I had been reading suggested that the code should be place in InitInstance(), therefore in the CWinApp...
January 3rd, 2006, 04:32 PM
Well, I'm doing the LoadLibrary stuff and setting up the call back from my CWinApp derived class, so i can't use GetSafeHwnd() ...
I take it you are doing this within your CWnd derived class?
January 3rd, 2006, 03:11 PM
January 3rd, 2006, 02:31 AM
Thanks a lot for that code, I'm please you posted it because I did manage to put something together and I'm relieved to see that your code is very similar to mine :) I shall use yours though, as my...
January 2nd, 2006, 04:46 PM
Sorry Igor. I am struggling with GetProcAddress(). It's been such a long time ...
I cannot work out the rest of the code required here :
m_hInstWtsapi32 = LoadLibrary("wtsapi32.dll");...
January 2nd, 2006, 04:19 PM
Thanks for this idea. Like I said, it's been 2 years since I sat down in front of Visual Studio and coded, and my knowledge is rusty to the say the least. I hadn't even considered using...
January 2nd, 2006, 04:18 PM
Thanks for the suggestion. I'll look into this ...
... actually, this won't work i don't think. Switching a user doesnt cause a WM_ENDSESSION, these apps remain running in memory...
January 2nd, 2006, 04:16 PM
...that's what I'm hoping for. Any ideas?
January 2nd, 2006, 03:09 PM
It's been 2 years since I last did any programming or contributed to this forum :) I'm back with a question I hope someone can help me with.
I have an app written in MFC which can be run by...
January 26th, 2004, 07:07 PM
No problem. I hope my explanation was helpful. Ask more questions if I was unclear :)
January 24th, 2004, 02:49 PM
The way SlideShow Desktop does this, is really very simple.
I hold a text file on my website, my application can retrieve it using standard microsoft internet api calls,
( I forget...
January 21st, 2004, 08:57 PM
Nice to hear from you again :)
There IS an answer already. Just open up Internet Explorer - it knows exactly when you are connected and when you are not.
But we don't know it ... or...
January 14th, 2004, 07:15 PM
Been there, done that :) Doesn't work as described...
January 13th, 2004, 09:25 PM
No problem Sam. I also hope he continues to contribute. Same goes for Bob Sheep.
January 13th, 2004, 05:14 AM
The post you have quoted is not a question, it is a suggestion for how to detect an internet connection - which is what this thread asks for.
I agree with you in principal Sam - but in...
January 13th, 2004, 04:35 AM
I don't see anybody "slagging" anybody off Bob.
Sam is simply putting forward a point of view on how best to organise threads and questions.
I don't happen to agree with him in this case, but...
January 11th, 2004, 04:52 PM
Thanks for your suggestion
I'm sorry to say that it doesn't work ...
I can turn my broadband modem off, ensuring no connection to the inet, yet it will still say that i am connected. ...
January 11th, 2004, 04:36 PM
I think it is entirely pertinent to ask the question here, as it is in context with the rest of thread...
It would be better to discuss this topic and possible solutions within the same context,...
December 17th, 2003, 06:25 AM
When using wininet functions, the autodialer will be displayed if the user has configured dial-up-networking and is not connected. This is one of the issues of trying to detect a connection...
December 11th, 2003, 05:22 AM
I think as perfect an answer as you're gonna get lies in the answers above :)
I haven't gotten around to coding it yet due to time demands on another project. When I do, I'll post it. If someone...
December 10th, 2003, 03:24 PM
You need to add wininet.lib to the link section of the project properties
November 25th, 2003, 06:04 AM
it returns "error not defined" - "not connected".
I'm on windows XP.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.