|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 01 > 26 > Telegram_2019-01-26T12 |
2019-01-26T12:27:32
Can you provide some info about \is not working\? have you set any breakpoints and tried to trace it?
2019-01-26T12:34:08
i have tried to check, Execute function is not called
2019-01-26T12:41:07
constructor function is called whan application starts but Execute function is never called and page which I received on browase is error 404 page
2019-01-26T12:45:50
THandlers::Add(\\, \ GiveMeSomeXML\, new TContentXML());
Why is there a space in the second string?
2019-01-26T12:46:15
I dont have IW loaded right now as Im working on CrossTalk for a short period, but remind me what the first argument is where you have \\?
2019-01-26T12:48:31
first one is Path and space in the second string is typing error there is no space in code
2019-01-26T12:49:35
what url are you using to try to access it?
2019-01-26T12:51:04
For example, here is one 17 uses to register a handler:
THandlers.Add('/$17IWML/', '', T17HandlerIWML.Create);
2019-01-26T12:51:47
If you put a breakpoint on the create event where you register it, it is being executed?
2019-01-26T12:51:49
localhost:8888/test I changed it from \GiveMeSomeXML\ to \test\ actualy GiveMeSomeXML is big to type every time
2019-01-26T12:51:56
type: mention_name AMIT user_id: 487803792 change on ServerController:
type: pre with THandlers::Add(\\, \GiveMeSomeXML\, new TContentXML()) do begin
CanStartSession := True;
RequiresSessionStart := False;
end; language:
2019-01-26T12:52:48
can i use with and do bigin in c++
2019-01-26T12:52:53
make the first param \ type: bot_command /test \ and second one \\ and see if both the create event and the execute are called with /test/ as url on end of base.
2019-01-26T12:55:53
I dont think so, but you can do it without the with by using the local/instance var to reference the properties one by one