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

Software Development Network >> Visual C++

Visual C++

New Question

Opening files from explorer.
trouble with fstream::open nMode parameters
.Net Framework
Format of the .opt file
CGdiObject error C4482
directx 9 lib error: unresolved external symbol
Pointers & Linked Lists
Help with adding Keyboard shortcuts
LockFile
C++ interface assembly not visible in other .NET projects

Top Answerers

marc lena
Sneh Mani Tripathi
aussie_1968
Robbiex
OL56814
Frank Hileman
MadsBrodersen
BjornL
NewC#
mehrit
Topix: RFID
Only Title

Answer Questions

  • sallyz Broken _findfirst() when using PSDK and VS2005 Beta2 under AMD64

    I am having a problem with _findfirst when cross compiling for AMD64 with PSDK and linking with VS2005 Beta2. The scenario: Below is given the test code I'm using. I am working on AMD64 trying to compile my code with latest PSDK. This works fine when both compiling and linking with the PSDK. When I compile and link with VS2005 Beta2 it works too. However when I use 'cl' to compile with PSDK and 'link' from beta2 it fails at runtime. Compilation ...Show All

  • Baolin Ren Native allocation in a managed C++ class library

    Hello,       I just want to allocate a native object using the IJW in a managed class library. I usually do this normally in a Windows Forms application. But when I make managed C++ class library and try to allocate with new keyword it doesn't recognize this keyword . I don't why . Thanks, Mustafa ELBanna There's nothing special about using Console::WriteLine with in a native cla ...Show All

  • Piocon Confusion with watch values during debugging

    The debuggee is a mixed (MFC + /clr:OldSyntax) exe. The application is linked with some assemblies (MFC extension DLL's, /clr:OldSyntax enabled) Compiler settings: Release build, Unicode, Disable optimzation After a breakpoint is reached, I will watch some values. Here is a look at my watch window: + this                      0x01010a8 ...Show All

  • STLL Negtive zero valid?

    Hello, I hope I am in correct forum. I am testing Visual Studio 8 RC1, and found a negative zero. Here is a C example: {    double val = 0.0;    val = -val;    printf("%g\n", val); } Output is: -0 The result is "0" with .net 2003 version. Is this a expected behavior If this is expected, could somebody point me to the documents describing new double behaviors. Thanks! ...Show All

  • Manu Singhal Can I create a driver in VC++

    Please suggest some study material Currently you only can create a driver in unmanaged VC++. See: Microsoft Device-Driver Development Kit (DDK) http://www.microsoft.com/whdc/devtools/ddk/default.mspx -- Greetings   Jochen ...Show All

  • Gramm ListView Control displays blank images

    Using VS 2005, I have a ListView control in an ATL dialog. I am creating a image list and trying to use it for both header images and item images in the ListView control. I am doing this in the InitDialog function. When the dialog is displayed I see spaces where the images are suppose to be but they are all blank. If I use the image list to draw a icon I do see the expected image. The code in brief to set an image in the header (from my Init ...Show All

  • bouldercrazy Manifest issues with VC2005

    Hi I'm trying to build a production application in debug using Visual Studio 2005. The application builds, but when I go to run it in debug, I get an error that it can't find the Release versions of the run-time libraries. I've looked at a lot of documentation and discussion groups regarding manifests and have not found out what to do. It looks like the manifest (as near as I can tell) has the debug versions of the libraries included, but not th ...Show All

  • Vinzcenzo .

    . Rob: in the .NET world the identity of a type includes the assembly in which it is defined. Therefore in your example above there are two enum types named MyNamespace::MyEnum: the first is from assembly dll2 and the second is from dlltest and as far as the CLR is concerned these are two completely different types. The correct solution is to define the enum in one assembly, say dll2, and then to reference it f ...Show All

  • reggio HRESULT in managed code

    Hello Everyone, I'm new to managed code, if I have something like this in WIN 32, how can I move it to managed.. HRESULT result = _channel->WritePacket(( unsigned char *)buffer, strlen(buffer)); return (!FAILED(result)); How can I do the same thing...... Thanks, Harsimrat Harsimrat wrote: ... HRESULT result = _channel->WritePacket(( unsigned char *)buffer, strlen(buffer)) ...Show All

  • kalyanic error LNK2019

    I am migrating a program from Microsoft Visual C++ 6.0/Compaq Visual Fortran 6.6 to Microsoft Visual C++.NET/Intel Visual Fortran 9.1. When I try to debug the program I get: Linking... Runsim.obj : error LNK2019: unresolved external symbol _IFSM referenced in function "protected: void __thiscall CRunSim::OnStartSim(void)" ( OnStartSim@CRunSim@@IAEXXZ) Runsim.obj : error LNK2019: unresolved external symbol _PRTREPORT referenced in function "pro ...Show All

  • DougT declaring a stream

      hi..... i'm trying to open a binary file using iostream, so i need to declare a stream. how can i structure the stream so that it read my file as i want it to i need the stream to read my binary file as integer. thanks! hueys wrote: thanks for ur advice! now what if i wish to know whats in my stream i want to display all the data in my stream, is it possible if yes, how should i do cout, print ...Show All

  • tonyl1956 VC++ migration problems

    I'm trying to bring a project from VC6 to VS2005 Pro. When I first imported the project there was, not unexpectedly, a long list of compiler errors and warnings, and I modified the source code to get rid of all of them, and am now left with 2 problems I'm not sure how to fix. 1) I get an error during the html help phase of compilation to the tune of "windows can't find hcw" - that's the executable for the help workshop. I see that ...Show All

  • jlowery MSBuild in x64 environment with vcproj

    Hello, With a quick search in the MSDN, I did not find the issue I am having. If this is already discussed, I apologize. I just got the latest VS2005, and tried to build 64 bit. It fails to build with MSbuild from command line. I have played just short time, and started with very basic. Still I am not successful. I am using VS2005 version is 8.0.50727.42 Here is the very basic scenario. I have created a new blank project "hello", my default ...Show All

  • Scott Berry WM_KEYDOWN

    Hello, I am looking for some help on making a program that will give me the number for each key. I known that I need to hook the keyboard first, and I have that code. Now, from there I am oblivious as to what I need to do next. Any refrences or sample codes would be great. Thanks. Note: Win32 API is what was writing this in. If I can possibly stick to that, it would be great. Thank you. (This is NOT for a homework assignment, instead I was curio ...Show All

  • d3v310p3r Managed COM

    Hi, i wanted to expose some application COM classes written in C++ to other COM capable languages so i tried to write some test classes and exported a *.tlb with regasm.exe. But it doesn't work cause neither interfaces with id's nor class id's are defined in the *.tlb So there is some kind of a exporting problem. Heres the code: // Class interface AppInterface [Guid( "4F588E58-C85C-4b8c-A831-CDE454B5C218" ), InterfaceType(ComInterfaceType ...Show All

383940414243444546474849505152535455

©2008 Software Development Network

powered by phorum