Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn
Knowledge Base  > Browse Categories  > VisSim
Setting up VC++ 6 for generating DOS executables from Code gen

Email This Article

To email this article enter and address below and click on the "Email" Article button.



Other resources from Adept Scientific for: VisSim

  • VisSim Product Information
  • System Requirements
  • VisSim Downloads
  • VisSim - Buy online
  • Read VisSim technical articles from our KnowledgeBase


    Last Modified: 3rd Jan 2013
    Category: Mathematics and Simulation > VisSim
    Article Ref.: 1C7A
    »Return to previous search
    »Print friendly version of this article.
    1 person has found this article useful.

    Three stages are required to create an EXE from C-code gen

    Stage 1 - Declaring project
    Go to FILE
    Select NEW
    Select Project tab
    Enter project name in box on top RHC
    Pick on CONSOLE application
    Select target directory (preferably not a directory with a name longer than 8 characters or with spaces, otherwise you cannot acces it via DOS)
    Click on OK

    Stage 2 - Inputing neccassary files
    Go to PROJECT
    Select ADD TO PROJECT, FILES
    Using the browser
    Select source code (generated from Code gen)
    Select CG32.LIB or CGDLL32.LIB (for dll generation)
    Select VISSIM32.LIB
    These should be in the CG or VSDK LIB directories contained within VISSIM40 directory

    Stage 3 - Set up project configuration settings
    Go to PROJECT
    Select SETTINGS ALT+F7
    Click on C/C++
    Select PREPROCESSOR from drop down window
    In the Additonal Include directories box, specify path to the INCLUDE libraries
    E.g.

    C:\VISSIM40\VSDK\INCLUDE,C:\VISSIM40\CG\INCLUDE

    Go back to the main settings box and click on the LINK tab
    Under categories specify INPUT
    Under ignore libraries enter LIBC.LIB
    Click on the OK button

    You are now in a position to add code to source code, when this is complete press BUILD

    Select
    File
    Go to project
    Select add to project
    Select files
    Use browser to select

     
     
    Related Articles
    adept

    Top of the Page

    Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

    EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
    All Trademarks Recognised. Copyright © 2013, Adept Scientific plc.
    Site designed and maintained by Lyndon Ash

    Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055