Re: Memory usage

2002-04-05 Thread Pierre Sahores

Shari a écrit :
> 
> I'm trying to understand how Metacard's memory usage works, and it
> seems to be defying my logic.  (Being a girl, that's probably not
> difficult ;-)

Shari,

Please, don't speak or think like that. There are no differences, betwin
boys and girls, in the logical abilities scope. Don't listen for the
ones that says or think otherwise ;-)

-- snip --

Best Regards, Pierre Sahores

WEB & VPN applications & databases servers
Inspection académique de Seine-Saint-Denis
Qualifier & produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Memory usage

2002-04-05 Thread Jeanne A. E. DeVoto

At 8:38 AM -0800 4/5/2002, J. Landman Gay wrote:
>MetaCard doesn't use memory the way most MacOS 9 apps do, it uses memory
>the way other operating systems do -- that is, except for a few things,
>it pulls RAM from the available pool in the system heap. This is how all
>other OSs work (including OS X).

(Actually, this is a normal way to do memory management in Mac OS. (Other
operating systems don't do it exactly the same way - there is no fixed
allocated area for the app in other OSs, generally speaking.) The technique
of using MultiFinder memory goes back to, well, the beginning of
MultiFinder, and it's fairly common to see it, especially in apps that by
their nature have wildly varying memory requirements depending on exactly
what the user does.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: chat program behind a router

2002-04-05 Thread Mark Talluto


On Friday, April 5, 2002, at 10:20  AM, Dar Scott wrote:

>
> On Friday, April 5, 2002, at 10:17 AM, Mark Talluto wrote:
>
>> Is my problem with settings on the routing software or with my chat 
>> program?  Any insight on this would be greatly appreciated.
>
>
> (It is sometimes easier to establish a dialog through a firewall with 
> TCP than with UDP.  This is especially the case with with mc port 
> assignment limitations; the firewall might only allow a packet with 
> exactly the source & destination swapped from one that recently went 
> out.)
>
> Hope this helps.
>
> Dar Scott
>

Thanks Dar.  I will probably have an option for the user to select peer 
to peer or use the server option if needed.  The peer to peer is neat 
simply because it does not require a server, but may be the only option 
for internet users.  The use of firewalls is becoming more and more 
prevalent.

-Mark Talluto

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Great day!

2002-04-05 Thread Pierre Sahores

"J. Landman Gay" a écrit :
> 
> Shari wrote:
> 
> > Just wanted to take the time to say that I've really fallen in love
> > with Metacard.  The many features that take it way beyond
> > Hypercard... and allow me to do things in a wondrous new way.
> 
> I think that's pretty much the case with everyone who gives it a fair
> shot. The same thing happened to me, and I can't imagine going back to
> HyperCard now. But of course, if you say something like this on the HC
> list, you'd get lynched. :)
> 
Some years ago, i was running Hypercard 2.41 and Supercard 2.52 apps and
cgi under MacOS 8.6 and i was waiting after HyperCard 3.0 and the next
Rapshody DR issue... After Apple killed HC, alike Oracle killed Oracle
Media Objects, i surfed the Web and found Metacard 2.25 from Scott Raney
!!! Because Metacard is, before stuffs like SK8, Rexx, Java or
RealBasic/Visual Basic, the very best (and fast-running) cross-platform
development tool, i became able to produce Linux and Win32 apps and
could wait without any stress up to have MacOSX available for work again
on the Apple platform. The Metacard's limits are definitively out of
imagination... Thank's again and again for doing it, Scott ;-)

Kind Regards to all, Pierre Sahores

WEB & VPN applications & databases servers
Inspection académique de Seine-Saint-Denis
Qualifier & produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Launching Acrobat twice

2002-04-05 Thread Ken Ray

Mark,

How are you launching Acrobat? You mentioned the registry, but can you post
the code?

Thanks,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
- Original Message -
From: "Mark Luetzelschwab" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 10:25 AM
Subject: Launching Acrobat twice


> Hi Everyone,
>
> I have a need to launch multiple files in Acrobat 5 in Windows - at
> the user's request.
>
> Launching the first one works great. (using the registry, etc. to get
> the proper path etc.)
>
> Launching the second one either does nothing (XP) or crashes Acrobat (98).
>
> How is this supposed to be done?  In other applications that I have
> done in MC, I just killed off Acrobat (or word, or whatever) and
> relaunched it. This is not an option in this project.
>
> Any ideas?
>
> Thanks.
>
> -ml
>
>
>
> --
> Mark J. Luetzelschwab [EMAIL PROTECTED]
> Texas Center for (v) (512) 232 9477 *new*
> Reading and Language Arts (f) (512) 232 2322
> http://www.texasreading.org
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Launching Acrobat twice

2002-04-05 Thread Hugh Senior


>I have a need to launch multiple files in Acrobat 5 in Windows - at
>the user's request.
>
>Launching the first one works great. (using the registry, etc. to get
>the proper path etc.)
>
>Launching the second one either does nothing (XP) or crashes Acrobat (98).
>
>How is this supposed to be done?  In other applications that I have
>done in MC, I just killed off Acrobat (or word, or whatever) and
>relaunched it. This is not an option in this project.
>
>Any ideas?

The EXT.dll handles this particular requirement for us, after fighting with 
'launch' and getting nowhere. Available from http://www.runrev.com in the 
MetaCard section, I think.

/H

Hugh Senior
The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: mailto:[EMAIL PROTECTED]
Web: www.flexibleLearning.com



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002



Re: chat program behind a router

2002-04-05 Thread Dar Scott


On Friday, April 5, 2002, at 10:17 AM, Mark Talluto wrote:

> Is my problem with settings on the routing software or with my 
> chat program?  Any insight on this would be greatly appreciated.

My guess is that the router has some sort of firewall capability.  
This can cause problems in a couple ways.  It might not allow TCP 
connections (or UDP packets) from the outside (though most make 
exceptions for FTP).  Second, it might be set up for NAT, static or 
masquerade.  Even if you are set up for masquerade, there may be a 
"server" option that forwards certain connection attempts to the 
router to a particular computer.

If you can't change settings on the router, try creating a server 
stack that runs someplace outside the firewall.  Have all chat 
clients TCP to that.

If you need only point to point, have b TCP to a.

(It is sometimes easier to establish a dialog through a firewall 
with TCP than with UDP.  This is especially the case with with mc 
port assignment limitations; the firewall might only allow a packet 
with exactly the source & destination swapped from one that 
recently went out.)

Hope this helps.

Dar Scott

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



chat program behind a router

2002-04-05 Thread Mark Talluto

MC 2.4.2 b4
OS 10.1.3 on both systems


I have been working on my chat program again to refresh my memory on how 
sockets work.  BTW, anyone can have this stack if they want it.  I 
comment pretty well so it should be understandable.

It works great when everyone is on the same lan.  It also works great if 
you are not behind a personal router over the net.

Example:

computer a
He has his ip number from the isp.  He his not behind a router but is 
directly connected to the cable modem.

computer b
He he is running ipnetrouter from sustworks.com.  on a computer as his 
gateway.  He is a client on that network.

When we chat, computer b can send messages successfully to computer a, 
but computer a can not send messages back to computer b.

Is my problem with settings on the routing software or with my chat 
program?  Any insight on this would be greatly appreciated.

-Mark Talluto

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Saving stacks

2002-04-05 Thread Shari

>The stack needs to be outside in its own file on disk, independent of
>the main stack. All substacks are saved into the same file on disk, and
>so saving any one of them effectively saves them all. Since it's all one
>big file, the standalone considers the whole file -- substacks and all
>-- to be part of itself.

You just saved me hours of diddling... stayed up till 4:30 am in the 
final stages of testing, hoping to bring the project to Upload 
status.  And the save issue foiled the plan.

You've been nominated Dreamboat of the Day :-)

Shari C

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Saving stacks

2002-04-05 Thread Klaus Major

Hi Shari,

> Working out the final bug in my program... saving.
>
> I know that the main stack cannot save to itself.  I'm under the 
> impression that the other stacks can.
>
> I have a main stack, and several embedded stacks, saved into a 
> standalone.  The embedded stack that needs to save to itself, isn't.
>
> Can an embedded stack in a standalone save to itself?  Or does the 
> stack need to be OUTSIDE of the main stack... ie, not embedded?
>
> Shari C

you cannot save stacks that are inside a standalone, not a mainstack and 
no substacks, sorry :-(

So you must not embed the stack that you want to be saved.

Just put that stack (separately) into the folder of the standalone and 
MC will find it anyway and you can save it :-)

Hope this helps.

If not, just drop another mail :-)


Regards


Klaus Major
[EMAIL PROTECTED]

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Great day!

2002-04-05 Thread Shari

>I think that's pretty much the case with everyone who gives it a fair
>shot. The same thing happened to me, and I can't imagine going back to
>HyperCard now. But of course, if you say something like this on the HC
>list, you'd get lynched. :)

Oh I don't know about that... where do you think I heard about 
Metacard in the first place?  The Hypercard list :-)

Shari C

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Saving stacks

2002-04-05 Thread J. Landman Gay

Shari wrote:

> Can an embedded stack in a standalone save to itself?  Or does the
> stack need to be OUTSIDE of the main stack... ie, not embedded?

The stack needs to be outside in its own file on disk, independent of
the main stack. All substacks are saved into the same file on disk, and
so saving any one of them effectively saves them all. Since it's all one
big file, the standalone considers the whole file -- substacks and all
-- to be part of itself.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Memory usage

2002-04-05 Thread J. Landman Gay

Shari wrote:

> I set the memory lower than I knew the stack normally used, and lo
> and behold, the visual effects were fixed.
> 
> Can someone explain this one logically?  I am utterly baffled.

MetaCard doesn't use memory the way most MacOS 9 apps do, it uses memory
the way other operating systems do -- that is, except for a few things,
it pulls RAM from the available pool in the system heap. This is how all
other OSs work (including OS X). There is a way you can change one of
MC's resources (the TMON resource, see the MC Read Me) so that MC acts
like other Mac apps and stays in its own memory partition, but in
general you don't want to mess with that because it is less efficient.

Because MC pulls RAM from the common pool, setting its memory allocation
to a high number reduces the available memory outside of the partition.
If you reduce it by a large enough amount by assigning a huge partition
to MC, the amount inside MC's partition will go mostly unused and there
won't be enough outside the partition to accomodate what your scripts
are trying to do. This is especially noticeable with QT, which needs a
lot of system RAM to work well.

Leaving the default allocation alone produces the best balance in general.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Great day!

2002-04-05 Thread J. Landman Gay

Shari wrote:

> Just wanted to take the time to say that I've really fallen in love
> with Metacard.  The many features that take it way beyond
> Hypercard... and allow me to do things in a wondrous new way.

I think that's pretty much the case with everyone who gives it a fair
shot. The same thing happened to me, and I can't imagine going back to
HyperCard now. But of course, if you say something like this on the HC
list, you'd get lynched. :)

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Launching Acrobat twice

2002-04-05 Thread Mark Luetzelschwab

Hi Everyone,

I have a need to launch multiple files in Acrobat 5 in Windows - at 
the user's request.

Launching the first one works great. (using the registry, etc. to get 
the proper path etc.)

Launching the second one either does nothing (XP) or crashes Acrobat (98).

How is this supposed to be done?  In other applications that I have 
done in MC, I just killed off Acrobat (or word, or whatever) and 
relaunched it. This is not an option in this project.

Any ideas?

Thanks.

-ml



-- 
Mark J. Luetzelschwab   [EMAIL PROTECTED]
Texas Center for(v) (512) 232 9477 *new*
Reading and Language Arts   (f) (512) 232 2322
http://www.texasreading.org
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Great day!

2002-04-05 Thread Shari

Generally when all is going well, I'm quiet, and it's not until a 
problem arises that I post.  Working in a new environment... learning 
a new language... creating a cross platform program for the first 
time... many problems have arisen ;-)

Just wanted to take the time to say that I've really fallen in love 
with Metacard.  The many features that take it way beyond 
Hypercard... and allow me to do things in a wondrous new way.

Particularly, I am overjoyed with the ability to embed stacks within 
others.  This opens up so many possibilities.

And I want to thank all of you, for taking the time to answer my 
questions, and for being patient, as I'm sure those questions have 
been asked before.

Today is a good day!

Shari C
-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Saving stacks

2002-04-05 Thread Shari

Working out the final bug in my program... saving.

I know that the main stack cannot save to itself.  I'm under the 
impression that the other stacks can.

I have a main stack, and several embedded stacks, saved into a 
standalone.  The embedded stack that needs to save to itself, isn't.

Can an embedded stack in a standalone save to itself?  Or does the 
stack need to be OUTSIDE of the main stack... ie, not embedded?

Shari C

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Memory usage

2002-04-05 Thread Shari

I'm trying to understand how Metacard's memory usage works, and it 
seems to be defying my logic.  (Being a girl, that's probably not 
difficult ;-)

My visual effects were buggy, sometimes they worked and sometimes 
not, and I tried everything to fix them.  Reinstalled Quicktime 
several times, reinstalled Metacard, tried setting the 
bufferHiddenImages to true, and false, with every combination of 
destroy window, don't destroy window, dontUseQT to true, and false, 
etc.  Tried everything.

I set the memory in the Get Info window (Mac) as high as my computer 
would allow.

To no avail.

So I tried something totally illogical...

I set the memory lower than I knew the stack normally used, and lo 
and behold, the visual effects were fixed.

Can someone explain this one logically?  I am utterly baffled.

-- 
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard