Thread: [Help]VC++

Results 1 to 4 of 4
  1. #1
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow

    [Help]VC++

    Uhh, probably the stupid question ever but. I don't normaly use VC++ so when I actualy did use it yesterday I got an error when sending my programs to people. Normaly I would use Dev C++ and when I send people my programs it works fine but with VC++ if I give it to someone they get an error saying this application doesn't work try reinstalling. I did a bit of googling and it told me I have to make a "makefile" project. No idea what that means.

    So my question is... how do I make a program in VC++ that I can send to people?

  2. #2
    B1ackAnge1's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Posts
    455
    Reputation
    74
    Thanks
    344
    My Mood
    Cynical
    Just guessing here, but you probably sent them a debug build and they don't have the debug versions of the system DLLs on their system. Be sure that you set your project output to Release before trying to give people your code.
    Also if you find any other DLLs in your release folder with your exe, include those as well.
    I Doubt you want to go through the hassle of making an install project.

    And as far as the makefile project that's nonsense

  3. The Following User Says Thank You to B1ackAnge1 For This Useful Post:

    Void (10-23-2009)

  4. #3
    Silentknife's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    236
    Reputation
    13
    Thanks
    55
    If you want to create a makefile which should make the exe function on most all win-based OS', it's fortunately not too hard. During creation remember you have to place it in the same folder as your source libraries.

    Make a file called, say, hackx.make

    Then define the libraries and sources used by your hack. Remember the g++ command is important to create executable. Just replace hack and hackx with whatever filename you use, I just wrote these as an example.

    Everything you define after g++ is included as a source for your file

    And you don't necessarily need so many sources, just include everything your project has
    ------

    hackx.out : openfile.o mylib.o
    g++ -o hackx.out openfile.o mylib.o

    openfile.o: hack.cpp openfile.h mylib.h
    g++ -c hack.cpp

    hackSource.o: source1.cpp source2.h
    g++ -c hackSource.cpp

    if openfile or source libraries changed, only hack.cpp will be compiled
    Finish & save as hackx.make
    -----

    Go to terminal and write

    $ make -f hackx.make (also if you change source files involved in building exe, you have to run this command again) to make hackx.o

    Then run with
    $ ./hackx.out

    --

    If you need help send PM I'll explain more
    Last edited by Silentknife; 10-23-2009 at 03:33 AM.

  5. The Following 2 Users Say Thank You to Silentknife For This Useful Post:

    minyman123 (01-03-2013),Void (10-23-2009)

  6. #4
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Thanks so much guys.

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM

Tags for this Thread