Thread Rating:
  • 522 Vote(s) - 2.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ActiveX error in Curl8.0
09-01-2011, 09:31 AM,
#3
RE: ActiveX error in Curl8.0
Thank you in advance.

I list the source code.

We use Rendezvous version 7.5.4

Code:
{curl 8.0 applet}
{curl-file-attributes character-encoding = "utf8"}

{import * from CURL.GRAPHICS.ACTIVEX}
{value
    def area = {TextArea width=500px, height=500px}
    let tibrv:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibRv"}
    {tibrv.open}
    
    let tibrv-msg:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibRvMsg"}
    {tibrv-msg.create}
    
    let tibrv-transport:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibrvTransport"}
    || pass empty strings for simple tests
    || Empty strings means connecting local PC
    {tibrv-transport.create "", "", ""}
    
    let tibrv-queue:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibrvQueue"}
    {tibrv-queue.Create}

    let tibrv-queue-group:ActiveXObject = {tibrv.getAutoDispatchQueueGroup}
    || Memory access violations error occurs here in Curl8.0
    || アプレットがCurl8.0の場合、エラーはここで発生する。
    {tibrv-queue-group.add tibrv-queue}
    
    let tibrv-listener:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibrvListener",
                                           onMsg={proc {listener:ActiveXObject, message:ActiveXObject}:void
                                                     {dispatch-events false}
                                                     {try
                                                        
                                                         let field:ActiveXObject = {message.getFieldByIndex 0}
                                                         def body = {message.toString}&""
                                                         set area.value = body                                      
                                                         {if {field.getName} == "DATA" then
                                                            
                                                             def body = {message.toString}&""
                                                             set area.value = body
                                                            
                                                         }
                                                        
                                                      catch e:Exception do
                                                         {dump e.message}
                                                     }
                                                 }    
                                       }
    {tibrv-listener.create tibrv-queue, tibrv-transport, ">", 0}
    area
}


Messages In This Thread
ActiveX error in Curl8.0 - by alchimiste - 08-30-2011, 07:08 PM
RE: ActiveX error in Curl8.0 - by tdeng - 08-31-2011, 05:25 PM
RE: ActiveX error in Curl8.0 - by alchimiste - 09-01-2011, 09:31 AM
RE: ActiveX error in Curl8.0 - by tdeng - 09-01-2011, 11:17 AM
RE: ActiveX error in Curl8.0 - by alchimiste - 09-01-2011, 07:38 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  ActiveX の情報をしりたい umemura 1 2,771 01-28-2014, 11:28 AM
Last Post: umemura
  What's this error? alchimiste 2 3,542 06-17-2012, 03:31 PM
Last Post: alchimiste
Forum Jump:


Users browsing this thread:
3 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('261')