|
It is currently Tue Feb 07, 2012 8:31 pm
|
View unanswered posts | View active topics
| Welcome |
|
Welcome to RHAPSODY4YOU
You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today. |
 |
|
 |
|
| Author |
Message |
|
bitblit
|
Post subject: No event processing in a DLL Posted: Fri Jun 19, 2009 10:23 pm |
Joined: Wed Dec 10, 2008 10:51 pm Posts: 138
|
|
I have a Rhapsody model that generates a DLL. It compiles and executes with the host application, but it does not process any events or timer events. Only null transitions. I even set the object to active, thinking that would force it to run in its own thread. The stateful object is a part in the class that is called by the host application..
|
|
|
|
 |
|
Mickey
|
Post subject: Posted: Mon Jun 22, 2009 12:56 pm |
Joined: Thu Aug 30, 2007 4:31 pm Posts: 152 Location: Germany
|
|
have you started the framework... after initialisation ?
OXF::initialize() -> "create instances of Framework"
OXF::start(true);
It's the framework which is dispatching all the events ..
|
|
|
|
 |
|
Farquad
|
Post subject: Posted: Mon Jun 22, 2009 8:23 pm |
Joined: Thu Sep 13, 2007 7:34 pm Posts: 397 Location: London
|
|
Just to point out that the true parameter in OXF::start(true) tells the framework to create a thread rather than use the calling thread. When creating a normal rhapsody executable this is not true and the main thread is therefore used by the OXF.
|
|
|
|
 |
|
bitblit
|
Post subject: Posted: Tue Jun 23, 2009 1:32 am |
Joined: Wed Dec 10, 2008 10:51 pm Posts: 138
|
|
Mickey, you are right. I didn't call the init. It works just fine now. I have another question, but I'll post that in a new thread. Thanks.
|
|
|
|
 |
|
Mickey
|
Post subject: Posted: Wed Jun 24, 2009 8:31 am |
Joined: Thu Aug 30, 2007 4:31 pm Posts: 152 Location: Germany
|
|
you're welcome ...
can you share a simple DLL Sample in the Samples Section ?
Thanks
|
|
|
|
 |
|
bitblit
|
Post subject: Posted: Wed Jun 24, 2009 1:29 pm |
Joined: Wed Dec 10, 2008 10:51 pm Posts: 138
|
|
I will when I can. I want to contribute.
|
|
|
|
 |
|
Mickey
|
Post subject: Posted: Wed Jun 24, 2009 8:18 pm |
Joined: Thu Aug 30, 2007 4:31 pm Posts: 152 Location: Germany
|
cool .. looking forward 
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|