Answer Questions
mTIE Bug + Workaround: Intellisense fails after typeid operator
Hi, I spent the last few days messing around with Intellisense and why it sometimes refused to work. It looks like Intellisense chokes on the typeid operator: Bug Report: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx feedbackid=afbd6d4d-67ec-4e3c-90fc-08c43fa3aa42 I found a tricky workaround using templates and macros: Workaround: http://lab.msdn.microsoft.com/productfeedback/ViewWorkaround.aspx FeedbackID=FDBK48290 ...Show All
factoryman Compile in Visual C++ 2005 Express Edition Beta
How do I compile the code in Visual C++ 2005 Express Edition Beta How can it be so difficult to find such an obvious thing as a button or a text in the meny for compeling the code For some reason the help contents isn't available, otherwise I could probably have find the answer there... About the help: Reinstall MSDN twice. It happened to me too, and I solve it repairing the installed MSDN, and ...Show All
rabb How to override basic_streambuf::seekoff?
I am trying to implement the method pos_type seekoff(off_type, ios_base::seekdir, ios_base::openmode) in my buffer. I have two important questions: What should the seekoff method return when it moves both pointers at once What should the seekoff method do when it fails Is it required to leave the buffer intact, or is it undefined behaviour I recommend you to use the STL forum here: http://msdn.microsoft.com/newsgroups/default.a ...Show All
Sean Fowler How to detect the dll or exe from the address(memory) of its function?
Hi, I need to know how i can detect a keylogger. I've found some basic technique in doing the same. The technique is 1.Get the image of the user32.dll 2.Disassemble the dll( traverse the user32.dll ie find the memory location of all the api in the user32.dll) 3.If the api is hooked means it will be having a jump instruction when the original api is called. 4.If this jump instruction points to a memory location outside the image of the user32.dll ...Show All
nabe Release Build (Running my program on another computer)
Good Evening- Using Visual C++ 2005 Express Edition, been very happy with it. I wanted to show someone the work I've been doing, so I set the configuration from debug to release and copy the executable to another computer and try running it... failure, the executable won't run. I'm not using and .NET functionality. The error message reads: "The application has failed to start because the application configuration is incorrect ...Show All
Crepuscular msvcr80.dll Problem
Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin Maybe WinDoctor simply has no clue about SxS assem ...Show All
M.Small need good string object reccomentdation
been using MFC's CString for years. it works great but need something more portable for big new project. seems std::string too clunky. what is a modern powerful string obj with much formatting caps does boost have something that doesn't require downloading the world to use thanks al I would say: Stcuk on CString. The newer versions in VS2003/2005 are templated versions and are capable to be used ...Show All
rclakin PDB/Debugging configurations...
I'm a little new to VC++... So please bare with me if this is a newbie type question that should be obvious and I've looked around and just seem to be missing the answer apparently... We have 3 projects in VC++ 2k5. 1 is a lib, 1 a dll, and the other an application. We'd like to be able to step-in-to (when necessary) the source of the lib and dll when/while debugging the application. So far the only way we've been able to get that to work 'relia ...Show All
acobo Multithreading
Is it possible for a master thread to force abortion of pending IO in a slave thread, as with signals on Posix. Win32 only, no .net bullshit please. Thanks, - NK You might not like the anwer: you need to make all I/O asynchronous in that thread. Then you can have that thread use an event or any other syncronisation object to be notified from the other thread. If it needs to kill all outstanding I/O, it can ...Show All
JensenLee scripting method AddToolSettings broken in visual Studio 6.0 ????
There is a bug report on this: Bug ID FDBK45740 I have been trying to write some scripts to automate a build process in VisualStudio 6.0. The build process builds a number of projects. Some of these projects are just library builds, some of them are builds which result in executable code (.xll, .dll, .exe) I need to be able to change the target directory for the various builds. The scripting method to do this would seem to be Proje ...Show All
MattTaylor calling Activex methods from a static function--Dialog-based application
i am using an Activex control in a dialog based applicaton(VC++). i created an member variable for that(myportcontroller). In an non-static function i am able to call the Activex control methods using the member variable and worked fine. But i need to call the activex control methods in an static function. Here i cannot use the member variable as it is a static function. So, i declared an object for Activex control class. Using that object i cal ...Show All
Tom Scogland Question/problem regarding to templates in C++
<chen_k@discussions.microsoft.com> wrote in message news:ec3f6398-4924-45d1-bef9-a371e8ab7911@discussions.microsoft.com > I wrote a template class that represents objects list. This is its > header: > template< class T, char* filename > > class obj_list > { [snip] > }; > When I want to create an object of the type of this class, by writing > this line: > obj_list<use ...Show All
KB Sherman Changed the COM signatures....using ildasm.....
Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of us ...Show All
JoelDKraft capture video from a webcam with visual c++ 2005 express edition
Hi, That is the first time I use visuall C++...I would like to capture an image from my webcam with visual c++. Has anybody a project or a simple way to do that.. I saw somehing with WIA or directshow but I cant understand how to use them. So I found something doing that with with "video for window" but i have linking problem after compiling: Thanks ------ Build started: Project: TestCpp, Configuration: Debug Win ...Show All
jrs34 Internal Compiler Errors & Minimal Rebuilds
Here is a description of a problem I recently had trying to compile a sample program from the Boost library. Here is a suggestion that contained the correct work-around : I believe this is significant for 2 reasons: The compiler should give a decent error message of what it wasn't able to parse, it shouldn't simply say "Internal Compiler Error (x_x)". The Boost library is apparently mature enough to warrant consideration for parts of it fo ...Show All
