d3m0n
Posts
-
Spammy guy -
VS .NET 2003 bug?: BSCMAKE /nologo doesn't work.Still happens in VS2008 X|
Cheers [d3m0n] Email (replace "***" with "key")
-
Embedded Resources in C++/CLIOddball wrote:
In case anyone as confused as I was finds this with Google or something
Got it in one! After a whole day of googling I finally entered the correct set of keywords that led me here. Your reply was absolutely perfect for what I needed. I have been going insane all day :mad: Thank you so much. :rose:
Cheers [d3m0n] Email (replace "***" with "key")
-
Any way to have >50 posts per page?OK thanks for letting me know :((
Cheers [d3m0n] Email (replace "***" with "key")
-
Any way to have >50 posts per page?I like the "Normal" thread layout in the forum but would like to view more than 50 posts per page. 100 maybe. Any way to do this? I'm not bothered if the page takes longer to load - I always end up pressing Next anyway which takes even longer. Ta.
Cheers [d3m0n] Email (replace "***" with "key")
-
CFrameWnd *without* a view [modified]Hi I'm trying out the new features of the new VS2008 MFC Feature Pack (TR1). Managed to make a really nice looking application using 4 or 5 different
CDockablePane
s. All my views are now in their own pane, and the docking works really well. Trouble is, there's a redundant CView lingering about which I a) don't have any use for, and b) don't know how to get rid of. I tried various ways of resizing the top-level CPaneContainer using the SetPaneSize sample provided with the feature pack, which I implemented in CMainFrame::OnSize. This does work but it kinda breaks the dockable pane functionality - i.e. you can dock panes to the almost-visible CView and the whole thing screws up. Is there an easy way to get the benefits of CFrameWnd, and get rid of CView altogether? Whilst keeping the CDockablePane functionality. ---- Edit: Or alternatively is there a way to prevent panes from being docked onto the CView? ---- Thanks [d3m0n] P.S. MSDN's Feature Pack documentation is abysmal :mad:. You get more sense from stepping into the code and having a look around to see what you can call.Cheers [d3m0n] Email (replace "***" with "key")
modified on Monday, July 14, 2008 4:50 PM
-
Norton Anti Virus [modified]Teashirt2 wrote:
how do you figth these morons?
Simple - you vote with your feet. Dialogs are not Norton's main weakness - CPU usage and memory hogging are. I've lost count of how many people have told me "my computer's acting really slow and takes aaaaaages to boot up" - I go "have you got Norton installed?" and they all say yes. :rolleyes: Well here's your problem folks. Uninstalling the beast (they don't make it easy either) will soon perk your PC back up again. Try Nod32 @ www.eset.com for AV that actually works, and works fast. Ultra low CPU and memory usage, you won't even know it's there. I recommend it to all my mates.
Cheers [Đзмөň]
-
Removing Redundant FunctionsYup, and rebuilt like it says in MSDN :(
Cheers d3m0n
-
Removing Redundant FunctionsI could never get the profiler to work. Enabled the option in the project settings but the [Build->Profile] menu is always disabled. Might try again though if you think it would be useful for what I'm trying to do. Thanks.
Cheers d3m0n
-
Removing Redundant FunctionsYes... it's sometimes confusing if you're changing a file, and there's a function in there with an obvious bug. There's no point trying to fix the bug if that function is totally redundant. Better to just remove it. So I was wondering if there was a way to find every redundant function, so I don't waste my time looking at them. Thanks.
Cheers d3m0n
-
Removing Redundant FunctionsI am working on a large codebase on VC++ 6.0, which contains many unused functions. i.e. functions that are never called from anywhere else in the code. I would like to delete these functions. Without having to run every possible scenario with some sort of code coverage tool, is there any possible way to find these functions? Currently all I can do is do a Find In Files on the function name and work it out. Thanks for your help...
Cheers d3m0n
-
What does "THIS_" mean?Thank you very much Roger, that is a perfect answer for me. :rose: I'll ensure that all my interfaces contain the THIS_ and THIS macros.
Cheers d3m0n
-
What does "THIS_" mean?Hi The COM interfaces in my application derive from IUnknown. But some interface functions are declared using the "THIS_" parameter, some with "THIS" and some with none. For example:
1. STDMETHOD(DoBlah1) (THIS_ UINT uNum) PURE;
2. STDMETHOD(DoBlah2) (UINT uNum) PURE;- STDMETHOD(DoBlah3) (THIS_) PURE;
- STDMETHOD(DoBlah4) (THIS) PURE;
- STDMETHOD(DoBlah5) () PURE;
I would like to know whether the "THIS_" or "THIS" keywords are necessary, and what would be the difference between these functions. (I couldn't find the definitions of THIS or THIS_ in the VC browser or on the net...:~ )
Cheers d3m0n
-
Annoying VC6 Disassembly WindowIt also comes up when the "User breakpoint called from code at 0x..." dialog appears. I use 3rd party libs without the source, and so if you get an assertion in that code, the Disassembly window shows its ugly head again. I even tried to undock the Disassembly window and make it really small and just off my screen - this worked for a while but then for some reason it maximized again. Gah. X|
Cheers d3m0n
-
Annoying VC6 Disassembly Window> Heh - I think that the Disasm. window is one of your best friends Nope, it really isn't. :) If you know how to use the Disassembly, it can be very powerful, but the source files, call stack and quickwatch is all I need. I just don't ever use the Disassembly and for me it's just annoying. Please someone tell me how to make it go away!!
Cheers d3m0n
-
Annoying VC6 Disassembly WindowHi Does anyone know of a way to completely disable the Disassembly window? Currently when the window appears, I always press CTRL+F4 to close it, as it's completely meaningless to me. Ideally I would like to NEVER show the Disassembly window. Or does anyone know of a macro which could close the Disassembly window straight after it opens? There must be a way...........
Cheers d3m0n
-
Automatic Demonstration Capability - ideas?Thanks, I've looked into using Powerpoint, but having bitmaps and animation is not as memorable as seeing something actually happen inside your program. If I could only remember where I've seen this before.... :doh: Cheers [d3m0n]
-
Automatic Demonstration Capability - ideas?Hi there I would like to add a Demonstration feature to my Visual C++ application. For example the user would click the "Demo" menu item, this would start executing a script and move the mouse, click buttons, display tooltips, that kind of thing. I'm sure I've seen it done in some applications before but can't remember where. Has anyone ever seen this sort of thing before, or any ideas where I could find such a thing? It would be so useful for me and I'm sure many others. Thanks [d3m0n]
-
Fastest way to check a file existstoxcct wrote:
this is not a problem a the function but the network access...
Yes I have come to the same conclusion. I think it is impossible to solve this problem. Thanks for your help :) Cheers d3m0n
-
Fastest way to check a file existsfor (POSITION pos = listFiles.GetHeadPosition(); pos; ) { CString strFile = listFiles.GetNext(pos); if (_access(strFile, 0) != -1) //takes 10secs if strFile is "\\blah\start.txt" m_pmruFiles->Add(strFile); }
This problem only occurs if I am connected to the network. If disconnected, it returns failure immediately.