Thread Rating:
  • 522 Vote(s) - 2.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ActiveX error in Curl8.0
08-30-2011, 07:08 PM, (This post was last modified: 08-31-2011, 12:00 AM by alchimiste.)
ActiveX error in Curl8.0

I'm testing Curl8.0 with the application of Curl7.0.

It's ok to convert Curl7.0 to 8.0 except handling ActiveX.

The application that I developed sends and receives data through the middleware, Tibco's Rendezvous.

I implemented the interface of Rendezvous with ActiveX provided by Tibco.

It works well in Curl7.0 but the error "Memory access violation" happens in Curl8.0

Is something different in handling ActiveX between Curl7.0 and 8.0?

And must I do something for handling ActiveX in 8.0?

08-31-2011, 05:25 PM,
RE: ActiveX error in Curl8.0
Could you list your source code calling ActiveX here ? The codes should include the calling to constructor of ActiveXObject and the code line that produces "Memory access violation" .
Also if possible, please list your backstacktrace as well.
09-01-2011, 09:31 AM,
RE: ActiveX error in Curl8.0
Thank you in advance.

I list the source code.

We use Rendezvous version 7.5.4

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

    def area = {TextArea width=500px, height=500px}
    let tibrv:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibRv"}
    let tibrv-msg:ActiveXObject = {ActiveXObject ProgId = "TibrvCOM.TibRvMsg"}
    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"}

    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}
                                                         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}
09-01-2011, 11:17 AM,
RE: ActiveX error in Curl8.0
Sorry, I cannot find any clue to the problem you are facing. I'm not sure, but maybe a reproducible sample that I can debug could be of any help ...
09-01-2011, 07:38 PM,
RE: ActiveX error in Curl8.0
I think this problem would be regarded as serious by our customers.

Rendezvous is used for data communications in the MES of our customer.

I'll send the source code and Rendezvous client program to Curl Help desk.

Thank you.

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:
1 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)
INSERT INTO mybb_threadviews (tid) VALUES('261')