Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

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 Article


Image may be NSFW.
Clik here to view.

DirectX 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 Article


WaitForMultipleObjects, 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 Article

Does 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 Article

variable 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 Article


IWbemLocator::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 Article

Trading 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 Article

VS 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 Article


Why 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 Article


CLI 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 Article

ws2_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 Article

how to trim the EE when receive packet from raw socket?

martinEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...

View Article

FLTK 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 Article


VS2010 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 Article

VS 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 Article


Writing 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 Article

WinHttp: 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 Article


Using .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 Article

VC++ 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 Article

Defining 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
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>