Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 10-27-2009, 04:16 AM   #1
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Which Language to Use for Global Variable ?

Hello

Which language is used for Global Variable ?

Which software do we need to use this script below ?

Microsoft Developer Studio = Visual Studio ? (google research)

Can we use an other one ?

Do I ask tooooo many Many questions at a time



Quote:
# Microsoft Developer Studio Project File - Name="GlobalVariable22" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **

# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102

CFG=GlobalVariable22 - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "GlobalVariable22.mak ".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "GlobalVariable22.mak " CFG="GlobalVariable22 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "GlobalVariable22 - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "GlobalVariable22 - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE

# Begin Project
# PROP AllowPerConfigDependencie s 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe

!IF "$(CFG)" == "GlobalVariable22 - Win32 Release"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLOBALVARIABLE22_EXPORTS " /YX /FD /c
# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLOBALVARIABLE22_EXPORTS " /FR /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"CProgram Files\tradestation 8.0 (Build 1869)\Program\GlobalVaria ble.dll"

!ELSEIF "$(CFG)" == "GlobalVariable22 - Win32 Debug"

# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLOBALVARIABLE22_EXPORTS " /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLOBALVARIABLE22_EXPORTS " /FR /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"CProgram Files\tradestation 8.0 (Build 1869)\Program\GlobalVaria ble.dll" /pdbtype:sept

!ENDIF

# Begin Target

# Name "GlobalVariable22 - Win32 Release"
# Name "GlobalVariable22 - Win32 Debug"
# Begin Group "Source Files"

# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;i dl;hpj;bat"
# Begin Source File

SOURCE=.\GV22Code.cpp
# End Source File
# Begin Source File

SOURCE=.\GV22Def.def
# End Source File
# End Group
# Begin Group "Header Files"

# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File

SOURCE=.\GV22.h
# End Source File
# Begin Source File

SOURCE=.\SharedDataSegmen t.h
# End Source File
# Begin Source File

SOURCE=.\StdAfx.h
# End Source File
# End Group
# Begin Group "Resource Files"

# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct; bin;rgs;gif;jpg;jpeg;jpe"
# Begin Source File

SOURCE=.\Version.rc
# End Source File
# End Group
# Begin Source File

SOURCE=.\ReadMe.txt
# End Source File
# End Target
# End Project
aaa is offline  
Reply With Quote
Old 10-27-2009, 08:15 AM   #2

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Which Language to Use for Global Variable ?

46

GlobalVariable22 is a dynamic-link library (DLL) that can be used to extend the functionality of the EasyLanguage®.
It was written for tradestation, and is supported by MultiCharts.

For more information, you can see the description here:
http://www.traderslaboratory.com/for...-2-a-6023.html


An extension DLL can be written in any of a variety of programming languages,
including C/C++, Delphi, and PowerBASIC®.

The code you posted is a Microsoft Developer Studio Generated Build File, (aka Microsoft Visual Studio)
most likely for a C# source file.


To compile the C# source code, you can download the Visual Studio "Express" edition, which is free from Microsoft.


.
__________________



Only an idiot would reply to a stupid post

Last edited by Tams; 10-27-2009 at 08:41 AM.
Tams is offline  
Reply With Quote
Old 10-27-2009, 08:55 AM   #3

ochie's Avatar

Join Date: May 2008
Location: Lucea
Posts: 99
Ignore this user

Thanks: 32
Thanked 66 Times in 48 Posts

Re: Which Language to Use for Global Variable ?

Hi Tams, aaa,

Just a quick update to the info provided. According to this Makefile, the GV DLL was built using C++ and the Microsoft Foundation Class (MFC). C# is structured around the .NET framework. But yes, one of the Express additions can be used but for any new projects I would move off MFC as it is outdated imo.

Last edited by ochie; 10-27-2009 at 09:01 AM.
ochie is offline  
Reply With Quote
The Following User Says Thank You to ochie For This Useful Post:
Tams (10-27-2009)
Old 10-27-2009, 09:13 AM   #4

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Which Language to Use for Global Variable ?

Quote:
Originally Posted by ochie »
Hi Tams, aaa,

Just a quick update to the info provided. According to this Makefile, the GV DLL was built using C++ and the Microsoft Foundation Class (MFC). C# is structured around the .NET framework. But yes, one of the Express additions can be used but for any new projects I would move off MFC as it is outdated imo.

thanks for the note.

sharp eyes... I missed the MFC.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 10-27-2009, 09:18 AM   #5

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Which Language to Use for Global Variable ?

p.s. if you use Code tag instead of Quote tag, you wouldn't get the funny face.


Quote:
this is wrapped with Quote tag:

/out:"CProgram Files\tradestation 8.0

Code:
this is wrapped with Code tag:

 /out:"C:\Program Files\tradestation 8.0


p.s. I have to tell James about the extra blank spaces.
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 10-27-2009, 12:37 PM   #6
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Which Language to Use for Global Variable ?

A DLL’s can be written in any of a variety of programming languages,
including


C
C++,
Delphi,
PowerBASIC®.

Do I have to inclued these 2 one ?

C#
Microsoft Visual Studio

Are they others ?

freeware ?

text Editor (ultraEdit ?)?
aaa is offline  
Reply With Quote
Old 10-27-2009, 12:52 PM   #7

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: Which Language to Use for Global Variable ?

Quote:
Originally Posted by aaa »
A DLL’s can be written in any of a variety of programming languages,
including


C
C++,
Delphi,
PowerBASIC®.

Do I have to inclued these 2 one ?

C#
Microsoft Visual Studio

Are they others ?

freeware ?

text Editor (ultraEdit ?)?


from post #2
To compile the C# source code, you can download the Visual Studio "Express" edition, which is free from Microsoft.


you can also use QBasic or FreeBasic. Both are free.

FreeBASIC compiler (a free BASIC compiler) - official page - News [en]
http://www.petesqbsite.com/sections/.../express.shtml
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote
Old 10-27-2009, 01:05 PM   #8
aaa

aaa's Avatar

Join Date: Jun 2008
Location: Switzerland
Posts: 443
Ignore this user

Thanks: 240
Thanked 283 Times in 136 Posts

Re: Which Language to Use for Global Variable ?

no Tams I'm not talking about compiler

But about Software for write a new programm compatible with Global Variable

I 've understood that after we have to compile it with eventually a free compiler like

QBasic
Visual Studio "Express"
or FreeBasic
aaa is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Variable V2.2 Tams Trading Indicators 10 02-24-2010 01:23 PM
Variable Counter Array andypap Coding Forum 14 10-03-2009 07:23 PM
Global Markets- Buy on Weakness..? mystockindia Technical Analysis 0 12-09-2008 10:34 PM
Global Variables or ELCollection?? jojojo Coding Forum 2 11-03-2007 10:04 AM
Global Economy Review: India Soultrader Trading Articles 1 10-08-2006 10:36 AM

All times are GMT -4. The time now is 02:04 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.