Hi, I have created a sample shared lib called "myLib" with CW9 shared lib wizard.
And I have done the following things to be able to use it, 1. I have included myLib.h file in my main project. 2. I have added myLib.mcp project as a library to my main project. 3. I am specifying the path of myLib.prc in the other executables for my main project. 4. I am calling error = myLib_OpenLibrary(&refNum,clientContextP); which gets refNum = 14 and then calles error = myLibOpen(*refNumP, clientContextP); The control reaches the last statement before calling myLibOpen() funtion where the app crashes. I don't know whats going on and what I am doing wrong here! I will greatly appreciate any help in this issue. Please reply, Keyur. -----Original Message----- From: Keyur Patwa [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 3:41 PM To: Palm Developer Forum Subject: Including Shared Library... Hi Ben, I am really sorry to bother you again and again! Actually, my sample shared library worked once and I was able to call the only function that I had defined in that library. But now I am trying to create another library and I am following the same procedure that I used for the sample application but somehow this time its not working at all. I even messed up with my sample app that was working before. My new application crashes at the call to the <Lib name>_OpenLibrary() function itself. And it is really driving me crazy as I am not able to figure out what is going wrong here! Can you briefly tell me that steps I should follow to get this thing working? Please help! Thanks, Keyur. -----Original Message----- From: Ben Combee [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 11:45 AM To: Palm Developer Forum Subject: RE: Including Shared Library... Are you downloading the library PRC file to the device with your application PRC file? CW doesn't know about the linkage between the files unless you tell it to load the other PRC file using the Other Executables panel in your project. -- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
