Visual C++: Comma Delimited Txt File
Hi I'm Using Visual Studio 2012,I had done a program on VB.net (WFA) but now i need to do the same thing but in the language C++ (Console Application).But I never done anything on C++, so if anyone can...
View ArticleDirectX initializing problem
Here is the code Ive used to initialize directX window#include <Windows.h> #include <windowsx.h> #include <d3d11.h> #include <D3DX11.h> #include <D3DX10.h> #pragma...
View ArticleWaitForMultipleObjects, wait timeout, and manual reset events
Windows 7, Visual Studio 2008, C++, This project uses overlapped TCP/IP operations with completion events. The events are created with the flag set for manual reset. After starting, things look fine...
View ArticleDoes anyone know how to disable the _PrepareForClean or Delete lastbuildstate...
Hello, everyone, I have a problem about the rebuild project of VC2010. There are three projects (project A, B, C) under one .sln file and I want to rebuild one of them.I hope the action is delete and...
View Articlevariable use problem , where the brace actually put?
i created 16 arc and then another 16 arc of deferent dia . now i want to draw lines 16 with both arc sets last point. the code is just belowprivate: System::Void DrawArcRectangle(System::Object^...
View ArticleIWbemLocator::ConnectServer crashes
There are several MSDN examples in which the following syntax is used.pLocator->ConnectServer(BSTR(L"root\\CIMv2"), ...And that works. According to the docs, I should also be able to use...
View ArticleTrading Strategies in C++ - Quants please help
Definitely an experience going through the sample code I posted. Not very difficult to get it running but in the end quite useless.If in a back testing example, never mind live trading, there wasn't a...
View ArticleVS 2012 errors compiling .dll containing files with the same name. fatal...
Hi,I have ported a huge solution (26 projects) developed in VS2003 (WIN32) to VS 2012 and x64 platform. After much work I am now stuck with the following error while compiling a /clr mixed mode...
View ArticleWhy can't I concatenate chars into string? + Stream flusing
I started with c# and I noticed a couple things:I looked on stack overflow, but I didn't understand the answer to why ccout refuses to print. The answer was that std::endl flushes the stream but I have...
View ArticleCLI Convert a managed byte array to System::String
Hi,I am reading a cli::array<unsigned char>^ buffer from a Stream, the original message was not in Unicode, so I used buffer = System::Text::Encoding::Convert(Encoding::GetEncoding(Src),...
View Articlews2_32.lib(indef.obj) : fatal error LNK1103: debugging information corrupt;...
hi, i am getting the error ws2_32.lib(indef.obj) : fatal error LNK1103: debugging information corrupt; recompile module while trying to build the nanomsg 4.0 library with cmake. i am using the...
View Articlehow to trim the EE when receive packet from raw socket?
martinEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...
View ArticleFLTK GUI Question: How to load array data from and to an Fl_Input widget?
How can array data be loaded from and to an Fl_Input widget?I have tried the code bellow, but in the last line a compiler error is created due data type incompatibility. So, either I need to be able to...
View ArticleVS2010 vista/Windows7 OCX faillure
MFC Program developed in 2003 with VS2003. Converted to VS2008 in 2008 and now to VS2010The program worked just fine using VS2008 on XP, Vista, and Windows 7 machines. The program uses VSFlex7 Pro...
View ArticleVS 2010 xdcmake.exe returns error MSB6006 exit code 1
Hi,I'm currently trying to build documentation with the /doc option to generate XML-documentation. But I receive the following error:2>XdcMake:2> Microsoft (R) XML Document Comments Merge Tool...
View ArticleWriting a number translator in C, need help with my array.
First off, sorry to all the people that are going to say "There is already a post just like this!".But I do not even really know enough about what it is I'm looking for to find it on the forum. So....
View ArticleWinHttp: help troubleshooting WinHttpSendRequest failure with...
I'm writing a client application. The application is trying to connect to a server over SSL using WinHttp API.A regular set-up (WinHttpOpen, WinHttpConnect, WinHttpOpenRequest) is always successful,...
View ArticleUsing .NET in native C++ DLL of PTC Pro/TOOLKIT
Hello!I have to write a synchrone application for PTC Pro/ENGINEER Wildfire 4.0 using Visual Studio 2005. Pro/TOOLKIT is an API in native C/C++. The DLL is loaded as plugin into Pro/ENGINEER.It is not...
View ArticleVC++ Console App - is it possible to add a callback from a connection point??
I have added in a callback from a COM connection point, from my VC++ console App. The QI on the ConnectionPointContainer , FindConnectionPOint and Advise all work OK. However in the EXE that has the...
View ArticleDefining Global Include Directory?
Hello Again Folks: I have my new computer and I'm in the process of migrating files from my 9 year old development system to it. The first item I've been eager to tackle is the compilation of a...
View Article