Results 1 to 5 of 5

Thread: I reall want to do this :)

  1. #1

    Thread Starter
    Hyperactive Member Tequila_worm's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    344

    I reall want to do this :)

    I am sorry too all of you that i am being such a Dum **** lol but i really want to lear this now. This is what i am doing and its not working i am doing this in VC++ .NET Arhitect Edition.

    Actually i will tell you exactly what i do

    I go to New Project and select the Visual C++ Projects >
    Atl Projects Then New Window


    I click on Apllication Settings > select Executable and click Finish

    Now it lodes up there is two .cpp files one the name that i gave it Testing4 in this case, and another named stdafx.cpp

    Now it automatically puts this into my testing4.cc file

    Code:
    // Testing4.cpp : Implementation of WinMain
    
    #include "stdafx.h"
    #include "resource.h"
    
    // The module attribute causes WinMain to be automatically implemented for you
    [ module(EXE, uuid = "{F6CE8027-DFF5-4C69-8C85-85D404411F36}", 
    		 name = "Testing4", 
    		 helpstring = "Testing4 1.0 Type Library",
    		 resource_name = "IDR_TESTING4") ];

    Now i tried working with this one so this is what i have with this one


    Code:
    // Testing4.cpp : Implementation of WinMain
    
    #include "stdafx.h"
    #include "resource.h"
    #include "iostream.h"
    
    int main ()
    {
           cout << "Hello World!";
           return 0;
    }
    
    // The module attribute causes WinMain to be automatically implemented for you
    [ module(EXE, uuid = "{F6CE8027-DFF5-4C69-8C85-85D404411F36}", 
    		 name = "Testing4", 
    		 helpstring = "Testing4 1.0 Type Library",
    		 resource_name = "IDR_TESTING4") ];

    But it wont work when i press that Play button give me an error


    ANY HELP PLZ PLZ PLZ AND THANK YOU


    Ed.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    ATL is a set of C++ templates that makes creating all sorts of COM objects easier (= ActiveX controls, Automation objects, pure COM objects, ...). What you want to do is create a console application. You need to choose Win32 Console Project instead of ATL App Wizard.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Zaei
    Guest
    Sounds like .NET is making writing standard C++ applications from scratch just a little bit harder...

    Z.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594


    I think we scared him off...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Hyperactive Member Tequila_worm's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    344
    Lol no no i will never quit this until i learn how to do it i just went away for the weeked i am gonna try doing my best and hopefully with your help i will get a hold of this

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