Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth Mac > Re: Shared libr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 13 Topic 74 of 159
Post > Topic >>

Re: Shared libraries

by Mike Hore <mikehoreREM@[EMAIL PROTECTED] > Aug 16, 2004 at 07:46 AM

Hi Yves,

Yves Surrel wrote:

> Hello
> 
> I try to create a shared library (named MySharedLib ) with PowerMops
> 5.5, using
> 
> ***********
> 
> :entry  MyEntry  {  --  }
> 10 beep 
> ;entry
> 
> ************
> 
> and then to use it with:
> 
> ************
> 
> library MySharedLib
> libcall MyEntry {  -- }
> MyEntry
> 
> ************

Off the top of my head it looks all right so far...

> 
> I get:
> 
> Error # 220  Couldn't load shared library - see value system_err# for
> error
> 
> system_err# .
> -2804 

Which means "Library name not found in frag registry"

> 
> What is wrong? I have put MySharedLib in the same directory as
> PowerMops (btw, what are the commands equivalent to chdir and dir in
> PM?)

There aren't any.  When you open a file it uses the list of
paths to try that is in the file Mops.paths.

It should work in the PowerMops folder, or the Extensions
folder if you're under OS9, or the appropriate place under
OSX which I'd have to look up.

Anyway I'm very tied up this week so maybe somebody else
can help.

> 
> Labview does not find the entry MyEntry in MySharedLib either.

Labview?  What's that?


> 
> Thanks for any help. May I have a working example?

I don't seem to be able to locate my test code at the moment
-- sorry.

Cheers,  Mike.

----------------------------------------------------------------
   Mike Hore      mikehoreREM@[EMAIL PROTECTED]

 




 13 Posts in Topic:
Shared libraries
surrel@[EMAIL PROTECTED]   2004-08-13 15:48:28 
Re: Shared libraries
Mike Hore <mikehoreREM  2004-08-16 07:46:35 
Re: Shared libraries
n_sacra@[EMAIL PROTECTED]  2004-08-17 09:11:02 
Re: Shared libraries
n_sacra@[EMAIL PROTECTED]  2004-08-17 09:14:04 
Re: Shared libraries
surrel@[EMAIL PROTECTED]   2004-08-18 00:13:46 
Re: Shared libraries
n_sacra@[EMAIL PROTECTED]  2004-08-19 08:41:49 
Re: Shared libraries
surrel@[EMAIL PROTECTED]   2004-08-21 01:29:59 
Re: Shared libraries
ward@[EMAIL PROTECTED] (  2004-08-21 07:00:36 
Re: Shared libraries
surrel@[EMAIL PROTECTED]   2004-08-23 01:39:33 
Re: Shared libraries
ward@[EMAIL PROTECTED] (  2004-08-23 16:43:39 
Re: Shared libraries
surrel@[EMAIL PROTECTED]   2004-08-24 02:02:03 
Re: Shared libraries
ward@[EMAIL PROTECTED] (  2004-08-24 05:52:41 
Re: Shared libraries
Mike Hore <mikehoreREM  2004-08-25 11:47:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 22:40:31 CDT 2008.