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

Software Development Network >> Visual C++

Visual C++

New Question

reference counting problem
How can I get the CheckedListBox for a Com project?
Problem with DLL MFC initialization in mixed managed/unmanaged C++
VC++ 2005 Debug Assertions in STL Iterators
CBitmap - Simple example
static library and MFC
Unresolved external for IID_IXMLDOMDocument2
Need help with SendDlgItemMessage(...CB_FINDSTRINGEXACT..)
notification message from CSliderCtrl when starting to drag
OpenGL library integration problem

Top Answerers

Allan Kemp
gablist
Andreas Pollak
Sagar Joshi
alan234
Greasytires
watch is
AdamDev
Tim_Tim
RG6
SoftWIRE
Only Title

Answer Questions

  • Johan van Toll Program terminates without finishing code

    hi... what is happening when a program terminates (no error messages) without executing the rest of the code my code is attached below. The while loop does not iterate and after one iteration, my program exits. I don't know what is wrong and how I can debug... Thanks for any help. #include <stdio.h> #include <speex/speex.h> #define FIXED_POINT #define MaxFrameSize 500 #define MaxFrameBytes 500 int main (int argc, char ** argv) { &nbs ...Show All

  • wayneg Linker Error with the file atlsd.lib

    Hi all, I am facing a problem when building my code in VC++. Actually i built my code on a machine which contained VS2003. When i copied the same files into my machine which has VS 6 in it gives me a linker error saying, LINK : fatal error LNK1104: cannot open file "atlsd.lib". What is the reason for this to occur ,I think there will be a simple solution for this. Please look into it and gimme a suggestion. Thanks &am ...Show All

  • alecomo C++/CLI confusion about % vs. ^

    Just a little confusion I am hoping someone can help clear up... I have a method passing in a handle to a Point structure to which I make changes to X and Y values. On return to the caller I find that the Point values are no different. The declareation is Point ^pPt Now if I instead use Point% pPt for passing a reference then any change to pPt.X or pPt.Y works. I thought I could treat Point ^pPt similar to a pointer where changes to pPt->X, p ...Show All

  • Steven Habex MFC CArray conversion sintax for MFC CAtlArray

    Hello! I'm new with ATL and i need some help in this problem: which is the equivalent MFC CAtlArray for m_Array variable declaration using MFC - CArray: CArray<CFVector3D,CFVector3D&> m_Array; kind regards, Ioan I think your CFVector3D class needs a public implicit copy constructor:   class CFVector3D { public:     CFVector3D(const CFVector3D & alt); ...Show All

  • Neill.H constructors help

    Alright, i'm working on a new application, in wich i need my own TreeNode Variants, with his own information. I made a new struct called InfoStruct in wich i hold my own Information. Next, i create this new class, VCNode wich is a inferred class from TreeNode. public value class InfoStruct { //TODO: Put all the nessesary info here. String^ Name; }; public ref class VCNode : public TreeNode { public : VCNode( String^ na ...Show All

  • Mulktide circular reference in parent/child classes

    I have been trying to understand some code that another guy wrote, and though his code compiles and runs, it seems like it should never have compiled. He has 2 classes. One class is basically the parent, and it includes a pointer to the child it creates. As the child is being created, the parent passes the constructor a "this" pointer, so the child can later access variables in the parent. When I try to duplicate this logic, ...Show All

  • Fabio Cecin 64Bit-Unable to Register COM dll using regsvr32.exe on WinXP64 bit and AMD64bit machine

    Hi, Im executing the following command: c:\regsvr32 mydll.dll. Following error occurs: "mydll.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered." NOTE: 1. mydll.dll is a 64bit ATL COM dll built using Visual C++ 2005. 2. this error occurs both with debug and release version of mydll.dll    Any pointers to successfully register my ATL COM dll would of much help. Thanks in advan ...Show All

  • kart Temporary Text Window

    I'm using VC++6 with MFC and would like to create a temporary window displaying a text message.  I would use these windows to display the status during a process.  I don't want the user to have to enter any input, so a MessageBox won't do.  What are some approaches that I could use to solve this problem Hi, This forum is dedicated to questions about the Visual C++ 2005 release. For general ...Show All

  • sunnydhiman Is a .def File Required To Export Functions From DLL?...

    ...I know it is not required so long as the methods are tagged  __declspec(dllexport).  However, if the client code is a .Net C# app, I can only seem to recognize the methods' entry points if the DLL was built using a .def file.  Can anyone confirm or refute the need for building a DLL with a .def file if the intended client will be unable to link to the import library   Thanks in advance.      --Doug Hett ...Show All

  • Aravindakshan New STL debug iterator strategy assert fails on standard code

    The following peace of code makes the new stl port crashes (asserts) in debug mode. It happens both in Visual C++ 2005 & Express. vector<int> vs; vs.push_back(1); vector<int>::iterator i=vs.begin(); vs.pop_back(); if (i!=vs.end()) // assert here in != operator ; Obviously the code is stupid (useless) but this is standard, and there is many way to make a concrete (usefull) example crashes. The reason ...Show All

  • Zdog "no symbols loaded"

    Hey guys, I'm using Visual Studio 2003, and just starting a little review of C++ for a File Structures course. It's been a while since I've used C++, and I've never used Visual Studio. When I push the start button to execute a simple program (even in Release mode) the program immediately closes and I get a horde of "no symbols loaded" errors in the Debug window.  It seems to be trying to load several .dll files, some of which seem fairly ir ...Show All

  • Phillip Marino LINK : fatal error LNK1181: cannot open input file 'Crypt32.lib'

    Hi Saltynuts! Latest visual studio beta. When I try to compile my project it cannot find this file. I've searched my vc directories and it only comes up with 3 results in VC\PlatformSDK\Lib\AMD64 SmartDevices\SDK\PocketPC2003\Lib\armv4 SmartDevices\SDK\Smartphone2003\Lib\armv4 did someone forget to include this lib file in the beta With VS2005 Beta2 it is in "%ProgramFiles%\Microsoft Visual Studio 8\V ...Show All

  • 00dave Unresolved externals and wchar_t's

    I'm getting the following errors when compiling my program in VS2005b2.  This program uses a 3rd party static lib and associated header files, so I can't change them.  I think it was originally compiled in eVC++4.0. Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public : int __cdecl CL2CapIf::SetSecurityLevel(wchar_t *,unsigned char , int )" (__imp_ SetSecurityLevel@CL2CapIf@@QAAHPA_WEH@Z) referenced i ...Show All

  • Jayender.vs scripting method AddToolSettings broken in visual Studio 6.0 ????

    There is a bug report on this:   Bug ID FDBK45740 I have been trying to write some scripts to automate a build process in VisualStudio 6.0. The build process builds a number of projects. Some of these projects are just library builds, some of them are builds which result in executable code (.xll, .dll, .exe) I need to be able to change the target directory for the various builds. The scripting method to do this would seem to be Proje ...Show All

  • nidsu How to access the com Port by two application simultaneously?

    Hi I want to access the com port by more than one application simultaneously. How can i do that Thanks in advance for the reply. Saravanan You can't, Windows stops you from doing that as I'm sure you've found out. The programs wouldn't be able to reliably read from the port. There is a very slim chance that it might work if you open the port only with GENERIC_WRITE access. Try using IPC to have the "master" progr ...Show All

343536373839404142434445464748495051

©2008 Software Development Network

powered by phorum