Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3021 articles
Browse latest View live
↧

Runtime error R6025 - pure virtual function call

Many of the MFC apps that I developed in VS 2010, when I port them to VS 2013 (Community), they will often compile without error but generate this runtime error: Quote: Debug Error! R6025 - pure...

View Article


Stringstream error: out of range in memory

I just started using the stringstream for the first time and I love the concept, but I am having a hard time finding where exactly I am having an out of range in memory with my stringstream function....

View Article


Placing a CFormView object within a child window.

Hello everyone, thanks for reading my post. Here we go, (the show must go): I'm using Visual C ++ 6. I developed an MDI application to plot functions and mathematical equations. This application is...

View Article

Can I have a COM interface in a service to be called from Windows Script Host?

My goal is to create a COM interface in my Windows local service, written with C++/MFC, whose methods could be called from a Windows Script Host JScript code running under a logged in interactive user...

View Article

cross correlation

i'm having trouble correlating my two signal to find the delay of my signal.could anyone tell where my mistake lies.i'm using mbed and a sparkfun mic to do this.i'm trying to find the angle of the...

View Article


Calling functions with strings in main is driving me insane

The objective here is to make a program that calculates variables and averages using different functions with strings inside parameters. The program title looks something like this ~Will's car sales...

View Article

How to return the integer value of a string?

I'm having a difficult time wrapping my head around this: Code: #include <cstdlib> #include <iostream> #include <string> using namespace std; string binaryInt; cout << "please...

View Article

My "if" statements will not compile correctly

This is just the start to a very big project, but I'm stuck. Everything works fine up until I type in the value for "guessW". No matter what I put in for my answer, the wrong "if" statement will appear...

View Article


Hide Child Window after EndPaint(&ps)

Hello Hiding a child window after EndPaint(&ps) works fine, except hat it does so before the repainting is done. Is there any way to do it when the repainting is finished without using a timer? Any...

View Article


where is my library specified

Hi I am using visual studio 2012. When i compiled a third party solutions, i am facing a linkage error saying "cannot open file libxxx-0.2.4.lib" ...... Now i checked the settings, project...

View Article

Creating IE toolbar

I know that ATL/COM is the best way to create an IE toolbar. But is it also possible to create an IE toolbar using Javascript, JScript, JQuery just like the way we can create with Chrome and Safari. I...

View Article

MFC application Crashing

I implemented a MFC application which is of FormView It is executing and giving output well if I run the .exe through batch file. But if I use it in an environment which works on Command line. If I use...

View Article

Media Player Classic ActiveX

I am apologizing if my question is very naive or something, but I haven't been coding since 2010 and I need to make small app that would help some of my work. So, I need to make app that would play...

View Article


Image may be NSFW.
Clik here to view.

gluSphere transparent background

Attachment 33627 Hi all, for my program I want to try something new, I would like to draw a transparent sphere with a smaller non transparent one inside, as illustrated. Any idea how to do this? All I...

View Article

OpenWith Application

Hello, I have a weird problem trying to associate an extension with my application. I am using visual studio 2008 and a custom document manager derived from CDocManager in order to support multiple...

View Article


Double/wavy underline

Hi, ALL, This implies that this is not possible with standard Windows API and I have to do it myself. Is this true? If yes - can someone give a hint on how to do it? This functionality is available in...

View Article

the sum of the squares of the most recent 50 or so samples

i will like some help on this.to do a sum of square of individually on each mic.Measure the sum of the squares of the most recent 50 or so samples, once that is over a certain threshold on either input...

View Article


Implementig a hot-reload system

Hi! Some months ago I did a Master's Degree in 3D Game development. There I learn't that you can do something called hot-reload or reload on runtime which allows you to do changes without having to...

View Article

files in a directory

Hello, Thanks for taking the time to help. I'm trying to just list the files in a directory. I've looked at some examples I don't know why this isn't working. Code: struct _finddata_t...

View Article

Image may be NSFW.
Clik here to view.

Trying to create MFC-based automation/COM Dll to be invoked from JScript

Hi everyone: I should admit, that I do not have much experience working with COM/automation. My goal is to create a C++ module whose methods could be exposed/called by a JScript script running in a .JS...

View Article
Browsing all 3021 articles
Browse latest View live