CreateSymbolicLink()
Some source code I'm working with calls the function CreateSymbolicLink() - described here. Unfortunately, I'm having to build with VC8 which doesn't seem to have that function (apparently, it should...
View ArticleUsing one thread at a time with CSemaphore problem
Hello I need some help using CSemaphore class in MFC C++ application. I have an edit1 box with multil ine and each line has a string. I'm trying to loop through edit1 box and for each string to start a...
View ArticleProblem with Command Line Argument in Visual Studio 2012
I hav a simple console application that takes command line in VS 2012. Code: #include "stdafx.h" #include <iostream> #include <string.h> int _tmain(int argc, _TCHAR* argv[]) {...
View ArticleInput strings in VC++ 2012
I have a source code Code: listener.support(methods::GET, [](http_request req) Â Â { Â Â Â Â std::cout << "Serving GET" << std::endl; Â Â Â Â Â Â Â Â //req.reply(status_codes::OK, U("input...
View ArticleMYSQL VC++ Connection Dealy
Hi, I'm using VS2012 with MYSQL SERVER 5.6 and ODBC 5.2. How can i reduce the connection delay? My code, Code: Â Â Â Â CDatabase database; Â Â Â Â CString sDsn;...
View ArticleUser Callback & CResource Exception
Hi, In my Project, I'm using my Parent Dialog(TestDlg) as a background dialog. Child Dialog 1 = Main.cpp & Child Dialog 2 = Dummy.cpp 1. I like to call both dialog continuously one by one. Using...
View ArticleCan't make this program run.
Hello, I downloaded this program foilmaker. I can't get it to run. this is the error I get: I download the dll and put it in my XP 32 file. then I try to reg. it and it would not let me do it. said...
View ArticleXML Parsing
In VC++ is there any inbuilt class for storying values inside an XML File, without using CLI?
View ArticleProblem with While Switch statement
I'm a little confused as to why i cant get this first statement to print out what I need Code: #include <cstdlib> #include <iostream> #include <cmath> using namespace std; int...
View ArticleIE6 source code
As far as I know, Microsoft has made public IE6 source code ... Am I right ? If yes, where can I find it, becase I was wide search for this, without successful ... whare can I find it ?
View ArticleGetting the name of the current savefile
Well, the title pretty much says it all :) When I have loaded a savefile with Serialize, is there some way of telling the name of the currently loaded savefile? Thank you in advance!
View Articlepush_back(new triangle)
Hi, In C++ by FLTK, to define a circle we use some code like this: Code: Circle c(Point(x,y), r); And we can using vector_ref put and save them in a vector, like: Code: Vector_ref<Circle> vc;...
View ArticleCMFCToolBar::ReplaceButton() has no effect
actually I want to solve a quite simple thing, but I spent already the whole day...now I am running out of ideas! The requested behaviour: depending on program state I want to display different buttons...
View ArticleWMI Get() fail
Hi, in the following code I want to iterate through "Win32_OperatingSystem" to find all variables and their values. Using GetNames() I can get the names of all the variables but the subsequent Get()...
View ArticleAccess a username/password protected url through C++
I'm an individual developer (not a professional developer. I'm a graphic designer who likes to code ;) ) and I mainly code plugins for Cinema 4D (I don't know if anyone knows this application). I used...
View ArticleSlow regex issue (VS2010)
The code below works, and finds the match (as expected), it's a simplified version of a (much) more elaborate regex to extract data packets out of textfile. With VS2010 however it's taking well over 10...
View ArticleTime and _findfirst are melting my brain.
Someone sent me a hard disk and I have written a program to process a few thousand files on that disk. Let me give an example: If I look at a file's time using Windows Explorer it might be 2/8/2013...
View ArticleHelp with writing a function that sorts
Hello, So I have to write a function called sortMe that sorts the elements of an array in numerical order from highest to lowest values (descending order) or vice versa (ascending order). I was able to...
View ArticleMSChart - VTChart Error
Hi, I'm using MSChart Control in my parent dialog. continuously clicked the parent to child dialog and vise verse. After 25th time getting "VTChart Error - Resource unavailable Error". How can i resove...
View ArticleRe-input variables after loop ended
I just started programming and want to make the game cows and bulls. The problem is that after the loop has ended and both vectors are not the same I want the user to 're-input' the starting variables...
View Article