It is currently Tue Feb 07, 2012 8:31 pm

All times are UTC



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.





 Page 1 of 1 [ 7 posts ] 
Author Message
 Post subject: No event processing in a DLL
PostPosted: 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..


Offline
 Profile  
 
 Post subject:
PostPosted: 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 ..


Offline
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 8:23 pm 
User avatar

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.


Offline
 Profile  
 
 Post subject:
PostPosted: 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.


Offline
 Profile  
 
 Post subject:
PostPosted: 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


Offline
 Profile  
 
 Post subject:
PostPosted: 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.


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Jun 24, 2009 8:18 pm 

Joined: Thu Aug 30, 2007 4:31 pm
Posts: 152
Location: Germany
cool .. looking forward :D


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:

cron

suspicion-preferred