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

Software Development Network >> Visual C++

Visual C++

New Question

show a txt file from ftp in a textbox(edit)
activex dialog bars events
MessageBox difficulty
Would like to have a button open a new window or program
Microsoft Dynamic Link Libraries (dlls) - What ones must be given to the end user?
.bss segment not initialized when loading NDIS driver on Win98 built with VS 2005
can not find Windows CE 4.2 update 843373
How to incorporate Web browser in a MFC service tool?
sqlfront.h
Constructor Overrides

Top Answerers

rodan_be
Huckster
Habib Heydarian MSFT
Johnson Maynopas
Ben Brodie
jonnyO
Mike Hull
mOjSiJe
iLLinCruX
bpeikes
Topix: Bill Cosby
Only Title

Answer Questions

  • Chaz.RioterDecker Error PRJ0019 : A tool returned an error code from "Performing registration" ProjectName

    Hi, I'm facing one problem when compiling vc6 project into vc8 compiler. Error PRJ0019 : A tool returned an error code from "Performing registration" PantherConfig I have gone thru a number of links providing solution for this but couldn't get correct solution. I think it is having problem in registration dll but not sure. In Build log it is telling that "Cannot open the specified file testerinfoerrors.err for reading" while this file is exi ...Show All

  • GlennGraham Regarding ALignment of structures

    Hello All,                    Happy New Year to all you. I want to know alignment of strutures. I have tested on my VC++ compiler that changing the declarations of data memebers with in a structure changes the size of the structure itself. Even i know that this is byte ordering stuff related. But pls can anybody make me understand all the whole story abo ...Show All

  • Davester Redistribution of C runtime libraries without MSI installation

    Hi guys, I'm trying to get an installer of our product working.  I've finally gotten it compiling and running under VS2005.  For various technical and political reasons, I have to use NSIS as our installation technique. This is where the problem begins.  I can't quite see how to redistribute the relevant CRT libraries.  I've been round and round in circles following the MSDN information, and various blog postings (e.g. http:/ ...Show All

  • Harvindb Visual C

      Hi! I have 3 questions about Visual C. 1-) Will Microsoft support Visual C(native Win32 API)   applications in the future Is there any declarations from Microsoft Developer Team 2-) If i'm not wrong, the 90% percent of programs for windows is written in native code.(such as Winamp). Do u think, that all firms in 2-3 years will migrate to .NET 3-) I'm pretty good in Visual C.(not MFC) I can hook the syste ...Show All

  • MTarek LPCTSTR in VC++ 2005

    Greetings! I'm converting programs written on Visual C++.NET 2003 to Visual C++ 2005. While building them with Visual Studio 2005, I got hundreds of errors like: "cannot convert parameter 1 from 'LPCTSTR' to 'const char *'" or "cannot convert parameter 1 from 'const char *' to 'LPCTSTR'". I wrote a simple application to duplicate it (see below): #include "stdafx.h" #include "windows.h" int Work(L ...Show All

  • Bill DiPierre MFC, MDI Form, FormView Problem

    Dear All, I am a beginner on MFC. I have a program that is a MDI program. I create a Dialog resource (IDD_Customer_FormView). I don't know how to write the program that I click the main menu and than show the dialog. Thx for your help Michael The MFC Class Wizard can create a CDialog-derived class. On the menu handler, you can instantiate this dialog and call DoModal on it. Also, the MFC Application wizard g ...Show All

  • Li Wang Help with db_command

    Hello all, I am just starting to learn Visual C++ using a Microsft Visual Studio walkthrough, but I have syntax errors in the following code: HRESULT hr = S_OK; TCHAR szAuthor[80]; CMyProjectSet &dbset = GetDocument()->m_MyProjectSet; [db_command(name="cmd", source_name="dbset", hresult=hr) { SELECT au_lname ([bindto]szAuthor) FROM AUTHORS }]; while(cmd.MoveNext() = ...Show All

  • Florin Sab?u error C2888

    Can someone please explain why this doesn't compile with Beta2 namespace A { // forward decl. template <typename Type, typename TypeX> bool foo(const Type&, const TypeX&); } // namespace A namespace A { namespace B { template <typename Type> struct S {     template <typename Type, typename TypeX>     friend bool A::foo(const Type&, const TypeX&); // error C2888 protected: &n ...Show All

  • Orf Quarenghi vc2005: strcpy(char[100], CString); doen't work. Why?

    Hi, Recently I updated to Visual Studio 2005 (from 2003) In VC++2003 this code worked: char SuperString1[100]; //m_supervar is a member variable associated with some Dialog Edit contron (CString) strncpy(SuperString1, m_supervar, 5); This does not compile in VC++2005... the same problem with strcpy... So question is how to convert CString to char in VC++2005 Thanks in advance Serhiy ...Show All

  • herocomplex Can you give me an example of declare and allocting arrays (double type)

    Can you give me an example to declare managed array in Visual C++.Net Thank you very much!  As i follow a book to decalare and allocate an double managed array (accroding to a book) as follows: double Q _gc[] = new double _gc[3];//line (a) Q[] = {0.0225, 0.01, 0.0025};//Line (b) But i get the follwing errors at line (a): error C2146: syntax error : missing ';' before identifier '_gc' error C2501: '_gc' : missing storag ...Show All

  • genocide77 Intellisense updates very slowly, and blocks builds - what can I do?

    I'm working on a fairly large program, and the NCB file quickly rises to 90MB, especially after edit-and-continue. Intellisense keeps firing up and showing "Updating intellisense" in the status bar, for several minutes at a time - but much worse than that, it appears to be (read-)locking files that a build needs, so if I use edit-and-continue, then stop debugging, the build that fires off collides with Intellisense and fails, and ma ...Show All

  • ersin sivaz String ^ to void *

    I'm building a managed wrapper in C++/CLI for normal native code. Here is a function from this wrapper that I'm having problems with: ERRORS SetOption( int nOption, String ^strSetting) { return (ERRORS) _SetOption(m_Handle, nOption, strSetting); } The native function accepts a "void *" as it's last argument. This could be an integer, string or even a function callback depending on the nOption parameter. How would I wrap this The problem ...Show All

  • Harmen Mesker COM and .NET

    Hello, I have one question.... If a WIN32 COM function return S_OK, its mandatory..Is it the same way in .NET when you Interop with COM..... or in .NET the function doesnt need to return anything.... Thanks, Harsimrat Hello Nishant, Thanks for the answer. I have one more question...So this means if function is all ok...it will return S_OK by itself... I guess for me this is not the case.. ...Show All

  • Dijkstra30 .

    . . . 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 ...Show All

  • Chris B Leu MCP why are the NCB files so large in VC++ 2005?

    Hello, I am really puzzled about the NCB store in Visual Studio 2005. I understand that some improvements have been made to the IntelliSense, but the size of NCB files in really huge. I have noticed that on average a NCB file is 10 times largers than the file for the same project under VS 6 and 7.x. For instance, an NCB file of 50KB under VS 2003 now has 500-600 KB, a 200 KB NCB under VS 2003 now has about 2 MB. And NCB files that used ...Show All

484950515253545556575859606162636465

©2008 Software Development Network

powered by phorum