Software Development Network Logo
  • Visual J#
  • Architecture
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • Windows Vista
  • Visual Studio
  • Smart Device
  • Visual FoxPro
  • .NET Development
  • VS Express Editions
  • SQL Server
  • Visual Basic
  • VS Team System
  • Windows Forms

Software Development Network >> Visual C++

Visual C++

New Question

How to use .Net assembly in VS 6 C++ Project ?
cl : Command line error D8003 : missing source filename
[VS.NET 2003/C++] Treating enums as ints
ncb file???
Can't include afxsock.h if WINVER 0x400
Corrupt Builds After Cancel
Direct Show and Window Forms
newbie question: Migrating from MSVC5.0 to actual Visual C++ 2005 Express Edition
Migrating project from VC++ 6.0 to 8.0
Debug Assertion Failed....???!!!!

Top Answerers

Mohammad Akif
PatrickR
cheyein
Karen Grube
Shawn Murphy
lvn
gmartin
Dspapi
ar_pad
footballdirector
Medscape Medical News Headlines
Only Title

Answer Questions

  • pragaw linker problem

    Trying to compile a simple program in C++ I got a LNK error code. Error 1 error LNK2028: unresolved token (0A00000B) "int __stdcall setsockopt(unsigned int,int,int,char const *,int)" ( setsockopt@@$$J220YGHIHHPBDH@Z ) referenced in function "void __clrcall SocketPlusConnect(void)" ( SocketPlusConnect@@$$FYMXXZ ) SocketsCplus.obj  It is one a few. Am I missing a header file or a few of them Will appreciate any help. Tha ...Show All

  • Madhukar Bhalerao c++ program wont start

    Hi i developed my program in win XP with SP2 i use this functions: mciSendString mciGetErrorString i #include this : #include "stdafx.h" #include <windows.h> #include <iostream> #include <string> #include <mmsystem.h> #include <Commdlg.h> #include <fstream> project .LIBs : WinMm.lib ComDlg32.lib and when i ...Show All

  • RIHARD D ROBERTS strange differences in manifest files

    I've noticed two interesting differences between the embed and intermediate manifest files. Here is a listing of two such files from a demo VC++ project: ManifestTest.exe.embed.manifest < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyId ...Show All

  • gau2902 Cannot fetch a file from the internet

    Hi I want to fetch a file from the internet, the url is something like: http://static.flickr.com/44/128880534_8751ed9f1b_s.jpg However static.flickr.com does not accept an http open. The above URL opens up fine in the browser but not http://static.flickr.com . How do i get the image that i want using WinInet library or anyother library/class Rahul solved it like this(though the browser never opened ht ...Show All

  • MAA1 Issues using time_t when migrating to VS 2005

    I've recently been upgrading some of my projects to VS 2005 and come across the following issue. In prior versions of VS using the time_t type defaults to the 32 bit version or _time32_t but in 2005 now uses the 64 bit type, _time64_t. Normally this shouldn't be a problem as you can just define _ USE_32BIT_TIME _T to specify using 32 bit values where specific types have not been used. However, this reveals a 'typo' in the file time.inl st ...Show All

  • Cyberpunker malloc error in C

    >c:\s.t>cl /MD /GS- a.c >Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64 >Copyright (C) Microsoft Corporation. All rights reserved. > > x.c > Microsoft (R) Incremental Linker Version 8.00.40310.39 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:x.exe > a.obj > > T:\s.t>x > 3000000000 0 > > c:\second.try>type a.c > // cl /MD /GS- > #include&l ...Show All

  • iammai Error C2552

    Hi,  I'm facing one problem regarding error C2552 in VC++.net  but could not locate proper solution. Can anyone please help me out static CGXWriteEntry _map[] = { GX_EXCEL_WRITEMAP_ENTRY(typeBOF, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typeWindow1, gxHandler) GX_EXCEL_WRITEMAP_ENTRY(typePalette, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeFont, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeXF, gxTable) GX_EXCEL_WRITEMAP_ENTRY(typeStyle, gxTable ...Show All

  • Zoey Co Cleaning the shared memory

    Hello All, I am new to using shared memory in C++. I have setup the shared memory using the CreateFileMapping function. I do some processing. At the end I need to clean this shared memory segment. How can i accomplish that Are there any library function which does that task. Thanks in advance MSDN is your friend. http://msdn.microsoft.com/library/default.asp url=/library/en-us/fileio/fs/createfilemappi ...Show All

  • Beltone Why does my DLL keep linking?

    In my solution are several DLLs, and every time I build, they link.  They always have zero errors, and nothing changes between builds, I just build over and over and they link every time.  The link is fast, but it still seems like they shouldn't have to do it. Anyone know why this might be happening   Or, is there a way to get the development environment to tell me why it thinks it needs to relink   That is, can it tell me w ...Show All

  • KGW GCC 4.1 vs VC++ 8.0 benchmarks

    To anyone's knowledge, have any performance comparisons been made (and published) between these two compilers TIA, Brian   The Visual C++ Team generally does not publish benchmark numbers, so we don't have any to provide. You may want to check out spec.org and see if there are any numbers there you can look at. The hard part might be finding a submission that uses both GCC 4.1 and VC8 on the ...Show All

  • RomanAnanyev Running a program?

    I have built a program on calculating the area of a rectangle as the user inputs the length and width. It works fine, however, my question is. If I want to send it to someone, what files from the whole folder do I need to send (.zip ). Also, how will they be able to run it, without a compiler. I can easily run it from: C:\Documents and Settings\Peter\My Documents\Visual Studio 2005\Projects\optut\debug however, as I've seen other progra ...Show All

  • G. Karthikeyan LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF

    Hi. when I run Batch Build .... Deleting intermediate files and output files for project 'Sampler - Win32 Release'. Deleting intermediate files and output files for project 'Sampler - Win32 Debug'. --------------------Configuration: Sampler - Win32 Release-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... Sampler.cpp SamplerDlg.cpp DisplayDlg.cpp Generating Code... Linking... LINK : warning LNK4089: all refere ...Show All

  • Deborah Lukenbill Linking: libcimtd.lib requested

    Hello, after conversion of a VS6 project to a VS2005 project, the linking broke down with a fatal error as some "libcimtd.lib" was not found. libcimtd.lib is no part of VC/lib (but libci, libcmtd are). After including libcimtd in the list of libraries which are ignored at linking, everything worked. Cheers  Michael Thanks for the answers; I am in the unfortunate position to have to mix C and C++ I/O: We b ...Show All

  • PorkyPete Baby C++ developer needs to know what this commonly recieved exception means:

    I have been seeing this message for as long as I have been using computers...I seem to have generated one of my own now that I am a professional programmer. What causes this Are there, say, 4 common things that do this, and if so, how is it resolved I am looking for a general answer. Here is the exception: Unhandled exception at 0x0051abd1 in Infuzer.exe: 0xC0000005: Access violation reading location 0x0147ae98. Also, I will note that this part ...Show All

  • Tiago Nobrega dialogs appearing behind the main window

    hey guys, i have a simple problem with my MFC app. the messagebox's and color dialod's r appearing behind the main window. maybe is it because i have directx rendering a static text control in the main window so it always stays in focus or soemthing i dont know here is my code for displaying for displaying a color dialog: CColorDialog cd = CColorDialog(0, CC_ANYCOLOR); cd.DoModal(); when i press the alt button the color dialog appears. is ther ...Show All

727374757677787980818283848586878889

©2008 Software Development Network

powered by phorum