Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 11 to 14 of 14 total |
RemObjects SDK trouble |
Tue, Sep 22 2015 12:52 AM | Permanent Link |
PhillipH | Mathew, I can't seem to get my head around the conversion of my EWB1 RO app which was based on your original RO conversations in the forum. Any chance you were thinking of updating your chat example or similar as it would be really good to see the code of a working example so I can work out what needs changing.
Phillip |
Tue, Sep 22 2015 4:17 AM | Permanent Link |
Matthew Jones | PhillipH wrote:
> Mathew, I can't seem to get my head around the conversion of my EWB1 > RO app which was based on your original RO conversations in the > forum. Any chance you were thinking of updating your chat example or > similar as it would be really good to see the code of a working > example so I can work out what needs changing. With Tim's help, it wasn't hard at all. Assume you have the new ROSDKUtils.wbs file, the one with the Emit's. The server interfaces changed from external TMyBanxiaNewUser = class public constructor Create(chnl: THTTPClientChannel; msg: TJSONMessage; strServiceName: string); to external TMyBanxiaNewUser emit 'MyBanxiaNewUser' = class public constructor Create(chnl: THTTPClientChannel; msg: TJSONMessage; strServiceName: string); So just using an emit again. Then the code to create it is just: FChannel := THTTPClientChannel.Create(szServer); FMessage := TJSONMessage.Create; m_xNewUserService := TMyBanxiaNewUser.Create(FChannel, FMessage, 'MyBanxiaNewUser'); I appear to no longer define RemObjects in any way. The depth of the actual reference to the RO code is now hidden in the emits. If you have specific things, post the code. -- Matthew Jones |
Tue, Sep 22 2015 6:32 AM | Permanent Link |
PhillipH | Absolutely brilliant thanks Matthew. Was missing how this line needed changing.
external TMyBanxiaNewUser emit 'MyBanxiaNewUser' = class public Thanks very much for your help - its working now. You really made my day. |
Tue, Sep 22 2015 6:59 AM | Permanent Link |
Matthew Jones | PhillipH wrote:
> Absolutely brilliant thanks Matthew. Was missing how this line needed > changing. > > external TMyBanxiaNewUser emit 'MyBanxiaNewUser' = class > public > > Thanks very much for your help - its working now. You really made my > day. I'm glad it is working, but it was Tim that knew how to fix it all. I shall at some point modify my interface mangler to do this automatically. -- Matthew Jones |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Thursday, April 18, 2024 at 10:42 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |