|
I have a utility model that I created to be used by other models. However, the compiler options and framework in the other models are different, causing my utility to break. So, I decided to compile the utility as a library that I can distribute. I did this by selecting Library in the Component Type dialog, and compiling my model. Then I created a .h header file for it, and reverse engineered that back into a test model. I may be using it wrong, but I figured reverse engineering it allows the tool to have insight into the public interfaces of my library, without having to distribute the actual model. My test model compiles and executes, but I get unusual behavior that I can't explain. Does somebody have an example they can upload that demonstrates doing this?
I'm not sure if the failure is due to something I'm doing wrong with Rhapsody, or a library used within my library. I get an "Access violation reading location 0x00000000" error. I don't see any null pointers, though I don't really know whats going on within the library. The actual failure occurs on a function call into a library that my library linked in.
|