![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Help! How to use an external library? Topic Summary: Created On: 8-Mar-2007 10:36 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi Guys,
It's n00bie time again... Rhp 7M2 under Windows XP I have a DLL (built with VC6) which exports some simple functions (using C conventions), and the matching header file. What's the recommended way to make those functions available to the app I'm developing with Rhp? (1) Fix up some IncludePath and LibPath properties by hand? (2) Reverse-engineer the header? (3) Something else? For (2) I have not found the User's Guide very helpful at all :confused: , but maybe I'm not reading the right section(s): where should I look? Thanks! ------------------------- -- jim |
|
![]() |
|
![]() |
|
Hi,
I do have a quiet similiar problem, see my post above. Did you worked a solution for that. I would propose to reverse engineer the header file of that library. So that you are able to use the types and functions. But the problem is automatic generation of #includes. Best regards Jens |
|
![]() |
|
![]() |
|
Hi Guys,
The reverse engineering function is so that code can be brought in to Rhapsody for update within the model. Instead, try creating classes/files, in your Rhapsody model, with the same names as your external code and set the CG::Class::UseAsExternal property to true. Rhapsody will then treat the files as external and will always pick up the latest changes to them. Be sure to add the folder name in the include path so Rhapsody knows where your external library is. Regards, Ian |
|
![]() |
|
![]() |
|
[QUOTE=iturner@ferranti-technologies.co.uk]
Be sure to add the folder name in the include path so Rhapsody knows where your external library is. [/QUOTE] Hi Ian, Many thanks for your reply, but which include path would that be? There are so many to choose from... ![]() I'm confused about the relationship between the I.P.'s in the Components and those in the Configurations, and the User Manual seems rather opaque on the subject (to me, at least). Any and all clues gratefully received... -- jim ------------------------- -- jim |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Help! How to use an external library?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.