Brian Johnson's Startup Developer Blog

Visual C++ Team in the Cabana

Visual C++ Team in the Cabana

  • Comments 8

Members of the Visual C++ team are in Cabana 5/6 answering questions about Visual C++. Stop by if you're here at TechEd in San Diego and say hi.

  • Hi,
    I am still Student and would like to know, if VC++ and Vc++.NET are thesame? I mean if I can compile, build etc, just normal things in C++, without web-comlications. I am asking it, becoase I noteced by using (VC++ 6) such std libs as <fstream> and <iostream> a lot of warning coming from the iplimentation of this libs, where is programming really "not cleer". Thanks a lot for your atencion!
    best regards
  • Hi all,

    I am a beginner to VC++. When I execute my first program to display a message window, I get the following linker error.


    int _stdcall WinMain(HINSTANCE i, HINSTANCE j, LPSTR k, int l)


    error LNK2001: unresolved external symbol _main
    fatal error LNK1120: 1 unresolved externals

    Looks like some settings need to be done in VC++ before starting off with programs. If so, please let me know the settings. I am unable to find it in any books.

    Thanks in advance,
  • Hi,
    I am a student in china and a beginer to c++,I got a problem when excuted linking of this programme:
    #include <stdlib.h>
    #include <iostream.h>
    #include <stdio.h>
    #include <winsock2.h>
    void main(int args,char** argv)
    WSADATA data;
    SOCKET lSock,aSock;
    SOCKADDR_IN sockaddr;
    char c[]={"How are you!"};
    int length=12;
    int port=2000;

    cerr<<"Load socket failed!"<<endl;

    cerr<<"Create socket failed!"<<endl;


    if(bind(lSock,(SOCKADDR *)&sockaddr,sizeof(SOCKADDR_IN))==SOCKET_ERROR)
    cerr<<"Bind socket failed!"<<endl;

    //The left of the programme was omitted,
    //all of that forms a Server Model applied
    //to the net.
    When I compile the programme, There is no
    wrong,but linked,The error message printed
    in the output window like this:
    error LNK2001: unresolved external symbol
    (such as _closesocket@6,...,_socket@12,_WSAStartup)

    I try my best to solve the problem but failed,
    I am grateful to your help.and my email is
    Thank you!
  • I'm study C++ one year age. But I Can't understand API
  • #include <iostream>
    #include <cconio>
    int main()
    char ad;
    cout<<"ad gir";
    return 0;
  • I am working on a project. I have to convert some files ( perhaps HTML,MHTML,Doc,Txt etc.) into a single CHM,and also, the User can reload the CHM that had been generated for some modification. I don't even konw how to make and modify a CHM file using MFC. I am using Visual C++ 6.0. I hope some one could give a example. It could just cover only HTML2CHM and reload HTML from CHM for simple.

    Thank you very much!
  • Upstairs
  • I am trying tutorial on "Internet Explorer Toolbar (Deskband)'By Erik Thompson .

    I m getting error:
    Creating library Debug/FountainTool.lib and object Debug/MotleyFool.exp
    StockBar.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEditQuote::SetBand(class CStockBar *)" (?SetBand@CEditQuote@@QAEXPAVCStockBar@@@Z)
    Debug/MotleyFool.dll : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.

Page 1 of 1 (8 items)