Thanks djjd47130. Since you used the word "instead" of DoubleToStr am I correct to assume that FormatFloat produces a string output from a double formatted variable like mystop?
Thanks Gentlemen,
I'm using Delphi win32 (not .net)I'm hoping that Djangman's solution works as it is the simplest. So I'll try that first. If I understand correctly the URL would look like this, assuming the variables were double variables:
http://www.collective2 .com/cgi-perl/signal...
My need is simple. I need to send a URL to collective2 to place an order at a specific price defined by a variable in delphi. I know how to send the URL but how do I concatenate into the URL a variable containing the price? Here's what the urL looks like:
http://www.collective2...
Following the link http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm I have modified the dll from which I want to open a known URL the address of which is hard-coded into my dll. With ShellApi included under USES I received errors in response to this test code line...
Thanks for the timely responses. Sorry I wasn't more clear. I already know the URL I want to open under certain circumstances and can hard code that into my DLL . What I need is the way to ping that hard coded URL when those circumstances occur. By ping I mean open that URL in a browser when so...
I have written a working Delphi dll and want to add code in it to access a URL under certain conditions. Once the condition has occurred can I access the URL with a line or two of code? Do I need to add Uses? Could someone give me a sample of what that line or two would look like?
That's a generous bit of code Daddy. Thanks! I don't have ANY experience with forms as I create dlls only. The Forms referencing confuses me a bit. I'll have to work a bit to sort through this but its a start which I much appreciate. If the rich bounds of your generosity and time have not yet...
I need to create multiple instances of an object, then keep calling any or all of those instances until no longer needed, at which time any can selectively be destroyed.
I would like to know a programmatic way of creating and calling each instance, naming each incrementally, without knowing...
I create two different instances of a class, objectA and objectB. in the procedure method of the class how do I ask
1) whether the currently processing object is objectA
2)what the name of the currently processing object is?
I don't want to test to see what the class "is" because both objects...
Thanks Les Paul for the good suggestion. I often consult delphiabout.com. I've been told by a programming associate that a variable that is static at the class level is coded like this (Quotes are his):
type
TMyClass = class
A: longint; static;
end;
In this case, a becomes essentially a...
is it possible with Delphi to take a passed string parameter and combine it with string variables (or directly with other strings) then turn that string concatenation into a command, that is a working line of code instead of a long string that doesn't do anything?
Thanks to Griffyn and Harebrain for a timely response to my first post in this newfound forum. Its a privilege to immediately hear from a couple of the top 10 MVPs. That quality of knowledgeable support can saves days of perplexity and is immensely valuable to me in my transition to OOP.
Not...
The actual code among these units is 100s of lines of proprietary trading system code. I would have to recreate a skeletal dll. Is this adequate clarification:
Unit1;
USES
...
TYPE
Dad = class
Protected
...[other variables]
Public
LooseChange : integer...
As a professional trading system developer writing Delphi dll for NeoTicker, I've recently advanced from procedural to Object Oriented Programming and am having trouble referencing across units.
If in Delphi unit1 a procedure of a class named Dad assigns a value to its public variable DadsVar...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.