CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    May 2009
    Posts
    3

    Resolved [Sloved] (Directx Related) unresolved external symbol _main

    Code:
    -------------------Configuration: d3dxconsoletest - Win32 Debug--------------------
    Compiling...
    scr.cpp
    Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/d3dxconsoletest.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe.
    
    d3dxconsoletest.exe - 2 error(s), 0 warning(s)
    I'm completely new to directx and tried this tutorial:
    http://www.directxtutorial.com/Tutor...ics/dx9B1.aspx
    (you can see the hole code at the end, i didn't posted it because it takes a lot of space)

    I made a console application and i have the march 2009 directx SDK.

    Please help me resolve this issue.
    Last edited by Darkov; May 26th, 2009 at 05:55 PM. Reason: because its sloved now

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured