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

Software Development Network >> Visual C++

Visual C++

New Question

Problem compiling a program
VC++ 2005 Constructors
using a dll
refreshing a window in mfc
Input an integer number in Visual C++ 2005
Can't override ToString().
Manifest Issue
Adding a property to a class, help please!...
VC++ 2005 redistributable (vcredist_x86.exe etc.)
compiler error while converting vs c++6 project to vs c++ 2005 ... error C2065: 'DWORD_PTR' : undeclared identifier

Top Answerers

Rob P
Lucky5
gaunmanuel
Sam_Alex
Ron Linares
Sam Skrivan
Scott Burkland
swixstud
Delusion7
steveh9
MRH Technology Group
Only Title

Answer Questions

  • Martin Dietz Linking-Error with VSC++ 8.0

    hey ho, I just updated my project from VSC++ 7.1 to VSC++ 8.0 Express Edition. Unfortunately, i get a linker error every time i compile my project: 1>msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" ( $ ...Show All

  • Joel Holder What happens inside CryptDeriveKey?

    I am translating the CryptDeriveKey to Java but the algorithm implemented doesn't work correctly. The code in Java is: private static byte [] CryptDeriveKey( byte [] key, int size, int algorithmType) throws Exception {     byte [] buffer1  = new byte [64];     byte [] buffer2  = new byte [64];        Arrays.fill(buffer1, ( byte )0x36);     Arrays.fill(buffe ...Show All

  • Mario Cossi Debug build finds MFC80.dll, but Release build doesn't?

    I just transferred a C++ project to VS 2005, and when I run the debug exe both from the IDE and Explorer, it launches correctly. However, if I run the release exe either from the IDE or Explorer, it can't find MFC80.dll. I found that very strange (I haven't put MFC80.dll in the application directories, just made a recursive search just to be sure), and noticed they resided in the Windows\WinSxS directory. In there, I can indeed find both: ...Show All

  • Steve AZ When is operator void* invoked.

    I have a class A and it has an STL container as a member. I also have a class A_Iterator which provides functionality to iterate over the member variable within A, in different ways. When I want to use this iterator , I do something like main(){ A a; A_Iterator iter(a); do{ // do some stuff; } while (iter++); } For the while loop to exit, I am having to provide a conversion function within A_Iterator of the for ...Show All

  • Sarim Ghani Problem with MFC42.DLL

    Hello All, I have a product developed using MFC. The thing is one of its menu item works fine on a XP machine , but when i click the same menu item on an ME machine it shows an error from MFC42.dll. I replaced MFC42.dll of the XP machine in the local directory of the Application in ME setup but that too didnt worked. Can anybody suggest what is the root cause here. Any help will be appreciated Thanks and Regards Jaydeep ...Show All

  • Greenrelations-Webmaster Including an external library in Visual Studio 8

    Hi, I'm trying to use an external regexp library (PCRE), in my C program. The problem is that I can't get the pcre library to link with my application. This is what I've tried: 1. Setting the directory of the header file, pcre.h: Project->Properties->Configuration Properties->C/C++->General->Additional Include Directories = C:\Apache2\include In addition to 2. Setting the directory of the library file, pcre.lib: ...Show All

  • SLIDER 82 Thread Termination

    Is there any way to easily instruct windows to wait for a given thread to complete upon exit of the process in which it was created, other than explicitly calling a function such as WaitForSingleObject at the end of execution As an example, if I create a thread in order to run an asynchronous function, such as one which performs a large calculation and stores the result to a file, logically it should continue to execute until it is finished even ...Show All

  • GUM Man Migration from VC 6.0 to VC 7.1

    I am porting from VC 6.0 to VC.NET 2003 and I am getting the following issue:- error C2143: syntax error : missing '}' before 'constant'. Plus any document or help on migration from VC 6.0 to VC 7.1 Best Regards, Looks like a missing semicolon as Martin suggested. Thanks,   Ayman Shoukry   VC++ Team Its ok and I am very glad u reply :D ... u seem to be a nice man :P . Plus I am sorry for not p ...Show All

  • assadgh where can i find Matrix manipulation library

    Does anybody know where I can find Matrix manipulation library (such as Gauss-Jordan Elimination, LU decomposition, etc.) for programs by VC++.net (2003). Thank you very much!  A search for "Matrix Library C++" on MSN Search shows plenty of hits: you should take a look at these and see if there is one that suits your needs. thank you! Following your instruction i got the matrix library i needed by MSN search.  ...Show All

  • KCSmith missing msvcp80d.dll file

    I recently installed Visual Studio 2005 and it worked fine for a week or so, but now when I try to run any new projects it says that i'm missing the msvcp80d.dll file and I should try re-installing the application. I've reinstalled twice now and I'm still getting the same message. I've even located the file on my computer, can someone explain to me how I get it to recongnize the file and let me run projects Thank you! ...Show All

  • noelweichbrodt compilation error with unmanaged code in C++ project

    I am trying to compile a project with some old unmanaged Winsock functions. I added a component .h file (BonnerComponent.h) to my project and tried to paste a function from a known source. This function is a part of a demo package that I tested thoroughly and it works. This particular function worked too. After I added the function (MainWndProc) which is not show here I got 13 errors. I compiled the project with clr:OldSyntax keyword because ...Show All

  • nibble /FC compiler switch apparently not working

    Hi all, When trying to output the __FILE__ predefined macro, I always get the file name fully qualified regardless if I have /FS set or not as a compiler option. Is this switch not working, or is there some other compiler switch that is forcing fully qualified path names Without the /FC compile option, __FILE__ expands to the path to the source code file, relative from the project folder. If your file l ...Show All

  • vvpenmetsa How to use GDI+ in my old MFC programe?

    every master,I have a old draw programe in VC6.0,now i want to transform to VC2003,but I dont want to use managed C++,I still want to use MFC, so how to program using GDI+ Thank you very much.I think I can get a good start from your help. I am sure the game dev folks at http://forums.microsoft.com/msdn/default.aspx ForumGroupID=20  would have more experience with GDI. Thanks,   Ayman Shoukry   VC++ Team I was u ...Show All

  • bani3 STDMETHODIMP

    I am trying to compile some VC++ 6.0 code on VC++2005, and I get the following error: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int The line of code is simple:  STDMETHODIMP Func(WORD Index); Knowing that STDMETHODIMP boils down to " LONG __stdcall ", what's the problem here The same compiler error is generated for STDMETHOD. Any clue Thanks, Mo ...Show All

  • Stijn.Adriaensens Why does my EXE file fails to run on certain Ms XP and Ms 2000 platforms?

    I am using Visual Studio 6 to create my simple dialog-based program. In the setting, I have selected to "use MFC as a static library". After building, I get my Released version of my EXE program. This executiable file does run well on the PC on which I developed the program. However, for the PC without Visual Studio, I found the following problems : 1. The EXE does not run at all on many Win XP or Win 2000 platforms where  Visual Studio ha ...Show All

737475767778798081828384858687888990

©2008 Software Development Network

powered by phorum