libUUID can't be found?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AlexAdams
Posts: 38
Joined: Sat Jan 17, 2009 8:49 pm
Contact:

libUUID can't be found?

Post by AlexAdams » Sat Aug 01, 2009 6:06 pm

I'm trying to use Mark Smith's libUUID in a project. On openStack in the splash stack I am trying to open the library file and then start using it, but I continually get a message saying it can't be found. Where should I put it? I have tried putting it in the same directory as the main project file and in the directory with the Revolution executable. I'm working on a Mac right now.

What's wrong with this code?

on openStack
go to stack "libUUID"
--hide stack "libUUID"
start using stack "libUUID"
end openStack

Thanks,
Alex Adams
(a)2 Technology Parnters
alex@a2technology.com
www.a2technology.com
www.promisstudio.com
831-726-8013

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Sat Aug 01, 2009 10:35 pm

Alex, this may be a filename/stackname issue.

The Stack name is "libUUID", but the filename is probably "libUUID1.0.rev".

So the simplest thing might be to

go to stack "libUUID1.0.rev"
(In fact, you don't need to "go to" it before you "start using" it, so you could just have
start using stack "libUUID1.0.rev"

Once it's been loaded into memory, you can refer to it as stack "libUUID".

(You could also change the file name to just "libUUID", but I think it's better to keep the .rev suffix).

Best,

Mark Smith

Post Reply