Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
RO SDK error with 1.03 |
Sat, Jan 18 2014 10:36 PM | Permanent Link |
PhillipH | I have a project that uses the RO SDK for getting the data. I think it is still pretty much the same as a sample project posted to these forums that I used as a base. Compiles and runs fine under EWB 1.02B2, but under 103.B1 it comes up with an error that SDK is undefined.
SDK being ... procedure TMainForm.MainFormCreate(Sender: TObject); begin SDK := RemObjects.SDK; Uninstalled 1.03 and reinstalled 1.02 and was fine again. Does this provide enough clues to know what might have changed ? |
Mon, Jan 20 2014 4:10 AM | Permanent Link |
Matthew Jones | I just fell over this, and looking at the source it is obvious when you think about
it. This is what there was: ---------------------- external RemObjects: TRemObjects; SDK: TSDK; ---------------------- and in the RemObjectSDK.js there is: ---------------------- var RemObjects = {}; RemObjects.SDK = { .... ---------------------- This seems, to me, to say that the SDK variable is an external, but maybe it was not being treated so. I suspect that the scope fixes made this change. The answer is just to reference RemObjects.SDK directly. If you want a local variable (or global), then make one. With this change (and a single framework hack I need) my current code is working just fine in 1.03. /Matthew Jones/ |
Tue, Jan 21 2014 2:21 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Phillip,
<< I have a project that uses the RO SDK for getting the data. I think it is still pretty much the same as a sample project posted to these forums that I used as a base. Compiles and runs fine under EWB 1.02B2, but under 103.B1 it comes up with an error that SDK is undefined. >> I would need to see the external declarations for the RemObjects SDK in order to say what the issue is. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, December 1, 2024 at 03:59 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |