did the trick thanks
Fred 0
Posts
-
Holy Dense... Codeguru Guru's -
Holy Dense... Codeguru Guru'si'll give those a shot
-
Holy Dense... Codeguru Guru'sHi All, man, you know its Monday...... yes, i will lash myself after this. i can't belive, i've gone brain numb on this. I need to trap wm_quit/wm_close or any systm messages that will cause my app to shutdown, so i can check if my app is ready to shutdown ,and prevent this from happening unless certain conditions are met in my app. i've tried the OnCmdMsg --> if pMsg->message == WM_QUIT etc.... with no success. is this suppose to go in the main app .cpp file or the mainfrm.cpp Thanks in advance lost, stupid and confused Fred
-
Dazed & Confused.. C# .NET .THIS .THATWho the heck is Dr. Phil? The one and only Infamous Psychologist/Shrink or whatever he his, seen on the Oprah show. i'm not admitting to anything on why i know this. :-O
-
Dazed & Confused.. C# .NET .THIS .THATDear Dr. Phil thanks for the response. i am and old school kinda of guy, i like things that work, that have been proven over time. Take for example the missionary position :wtf:, around for centuries.. still around, works, 'if it ain't broke don't fix it'. I'm just searching for the meaning of '.NET', it seems noboby will ever know. I guess it's just one of those questions or songs.... "WAR, what's it good for, absolutely nothing" thanks PS: please send your invoice for your're services rendered C/O BG@MS For the pain and suffering consulting services of many.
-
Dazed & Confused.. C# .NET .THIS .THATThanks guys, Confucius not so confused now. went to MS's .NET site and still couldn't figure anything out about it. so then this .asp/.net stuff only comes into play if you're writing web apps and such.. so, the vs.net advertised on CodeProject is basically what you have explained, that will allow me to be 'backward' compatible and still allow me to play with the new techology. Pablo van der Meer's - "Matrix Credits Control" should read 'What is the .NET' Thanks for the response. :) Fred
-
Dazed & Confused.. C# .NET .THIS .THATDear Dr.Phil, my head is spinning :wtf: with these new .asp, .net asp.net tools :confused:. Are these all one and the same found in VS.NET package. Is C# part of VS.NET ? Can I still 'MFC' with VS.NET can i still write a good old MFC app with mfc60.dll with this new framework, and distrubute it without 150MB of .NET runtime files to my clients. any gudiance appreciated, prozac and labotomy solutions welcomed. :zzz:
-
Microsoft VS CodeProject....I was sitting on the thrown this morning doing some thinking and watching my stocks crap out. And I wondered..... If all the talented minds of CodeProject did a vulcan mind meld, could we create an operating system that could be a competitor to Win9x for the x86 platform and also be compatible with the existing applications, as a replacement OS for the mass populus.(Linux and MacOS are alternatives, so they don't count) I'm talking a compatible OS that could sell for $19.95 + shipping :cool: CodeProject 'Shutters 2001 Beta 1' :eek: (yeah,yeah, yeah... besides MS's proprietary API's DLL's, Secret's....) what do you think, Could it be done.
-
NT Service HELL With registry accessHi Everyone, i reached the end of my rope. i'm trying to read the local registry, so i can retrieve a value from it, in HKEY_CURRENT_USER. All the Registry samples on CP work in the NT service BUT only with HKEY_LOCAL_MACHINE. why can i not read from HKEY_CURRENT_USER from an NT Service ?, what am i doing wrong :(( Thanks Peter
-
Detecting Windows/App Shutdown/LogoffHi Guys, having trouble detecting: 1 if user is trying to close my app 2 if user is logging off or shutting down windows (NT) i need to check for certain things in my app b4 the above can happen. i've tried adding: void CMainFrame::OnEndSession(BOOL bEnding) { CMDIFrameWnd::OnEndSession(bEnding); // TODO: Add your message handler code here } BOOL CMainFrame::OnQueryEndSession() { if (!CMDIFrameWnd::OnQueryEndSession()) return FALSE; // TODO: Add your specialized query end session code here return } ... doesn't get any messages is there any way to trap the 'shutdown' messages from windows., MSDN is a lot of help... ENDSESSION_LOGOFF: WM_ENDSESSION : WM_QUERYENDSESSION: Any help appreciated Thanks