Click here to Skip to main content
15,917,455 members
Home / Discussions / Database
   

Database

 
QuestionPage Total and Grand Total SSRS Pin
arnoldpinto8417-Sep-07 21:41
arnoldpinto8417-Sep-07 21:41 
AnswerRe: Page Total and Grand Total SSRS Pin
pmarfleet18-Sep-07 3:11
pmarfleet18-Sep-07 3:11 
GeneralRe: Page Total and Grand Total SSRS Pin
arnoldpinto8418-Sep-07 3:20
arnoldpinto8418-Sep-07 3:20 
QuestionAccess tables in a remote Database server Pin
Vipin.d17-Sep-07 20:21
Vipin.d17-Sep-07 20:21 
AnswerRe: Access tables in a remote Database server Pin
pmarfleet17-Sep-07 20:53
pmarfleet17-Sep-07 20:53 
GeneralRe: Access tables in a remote Database server Pin
Vipin.d17-Sep-07 21:54
Vipin.d17-Sep-07 21:54 
GeneralRe: Access tables in a remote Database server Pin
pmarfleet17-Sep-07 22:58
pmarfleet17-Sep-07 22:58 
QuestionONLINE PAID PROJECT FOR SURE Pin
miggy200517-Sep-07 8:57
miggy200517-Sep-07 8:57 
Here is the current problem. EasyLanguage is a language developed for programming under TradeStation, which is designed specifically for professional traders.

I have an indicator that is programmed in EasyLanguage that references an Entitlement DLL file. The variables are listed in the Easy Language code (pasted below) and what happens is that each customer is assigned a unique customerid in TradeStation (EasyLanguage). When they insert the indicator, the indicator calls the entitlement.dll. The DLL goes to the specified website and verifies that the customer is authorized to use the indicator. If yes then the indicator is displayed. If not then an error message is generated that states the user is unauthorized to use the indicator.







f you can recreate the DLL that would be great, otherwise I need to recreate the PHP portion.





EasyLanguage Code:

DefineDLLFunc:
"entitlements.dll",
INT,
"GetEntitlements",
LPSTR,
INT,
LPSTR,
LPSTR,
LPSTR,
LPSTR,
LPSTR,
BOOL;

Variables:
EntitlementName("Test"),
HostIP("207.126.53.83 "),
HostPort(80),
HostPath("www.tradershelpdesk.com/entitlement/BSGTS2.php "),
HostPassword (""),
IsEntitled(0),
pErrorMessage(""),
theErrorMessage("Warning ! You are not entitled to use this tool!" + "For test");


if (currentbar=1) then
begin
IsEntitled = GetEntitlements((LPSTR) HostIP,
(INT) HostPort,
(LPSTR) HostPath,
(LPSTR) HostPassword,
(LPSTR) numtostr(customerid,0),
(LPSTR)EntitlementName,
(LPSTR) pErrorMessage,
(BOOL)True);

end;

If(IsEntitled<=0) Then RaiseRunTimeError(theErrorMessage);

inputs:
Price( Close ),
Length( 14 ),
HiAlert( 0 ), { pass in 10 for +10% }
LoAlert( 0 ), { pass in -10 for -10% }
UpColor( Cyan ),
DnColor( Red ) ;

variables:
PctChg( 0 ) ;

PctChg = 100 * PercentChange( Price, Length ) ;

Plot1( PctChg, "%Chg" ) ;
Plot2( HiAlert, "HiAlert" ) ;
Plot3( LoAlert, "LoAlert" ) ;

{ Color criteria }
if PctChg > HiAlert then
SetPlotColor( 1, UpColor )
else if PctChg < LoAlert then
SetPlotColor( 1, DnColor ) ;

{ Alert criteria }
if PctChg crosses over HiAlert then
Alert( "Bullish alert" )
else if PctChg crosses under LoAlert then
Alert( "Bearish alert" ) ;


CONTACT 9884112963
AnswerRe: ONLINE PAID PROJECT FOR SURE Pin
Pete O'Hanlon17-Sep-07 9:35
mvePete O'Hanlon17-Sep-07 9:35 
GeneralRe: ONLINE PAID PROJECT FOR SURE Pin
Paul Conrad17-Sep-07 17:56
professionalPaul Conrad17-Sep-07 17:56 
QuestionHostel Reservations Pin
twsted f817-Sep-07 3:41
twsted f817-Sep-07 3:41 
AnswerRe: Hostel Reservations Pin
andyharman17-Sep-07 3:51
professionalandyharman17-Sep-07 3:51 
QuestionIssue with Select Statement... Pin
DeepToot17-Sep-07 3:21
DeepToot17-Sep-07 3:21 
AnswerRe: Issue with Select Statement... Pin
Michael Potter17-Sep-07 3:53
Michael Potter17-Sep-07 3:53 
GeneralRe: Issue with Select Statement... Pin
DeepToot17-Sep-07 4:04
DeepToot17-Sep-07 4:04 
GeneralRe: Issue with Select Statement... Pin
andyharman17-Sep-07 4:25
professionalandyharman17-Sep-07 4:25 
GeneralRe: Issue with Select Statement... Pin
DeepToot17-Sep-07 4:35
DeepToot17-Sep-07 4:35 
GeneralGot it.. Pin
DeepToot17-Sep-07 4:36
DeepToot17-Sep-07 4:36 
GeneralRe: Issue with Select Statement... Pin
Michael Potter17-Sep-07 4:38
Michael Potter17-Sep-07 4:38 
GeneralRe: Issue with Select Statement... Pin
DeepToot17-Sep-07 5:07
DeepToot17-Sep-07 5:07 
QuestionDeleting record from a parent table Pin
anujose17-Sep-07 2:13
anujose17-Sep-07 2:13 
AnswerRe: Deleting record from a parent table Pin
Colin Angus Mackay17-Sep-07 2:20
Colin Angus Mackay17-Sep-07 2:20 
AnswerRe: Deleting record from a parent table Pin
Pete O'Hanlon17-Sep-07 2:22
mvePete O'Hanlon17-Sep-07 2:22 
GeneralRe: Deleting record from a parent table Pin
anujose17-Sep-07 2:38
anujose17-Sep-07 2:38 
GeneralRe: Deleting record from a parent table Pin
Pete O'Hanlon17-Sep-07 2:44
mvePete O'Hanlon17-Sep-07 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.