[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Dll's, subcommands and functions

From: Gary Lusso <lussog_at_msn.com>
Date: 2005-04-03 17:47:54 CEST

Ok here is my question.
I would like to build a plugin tou se the SVN functions within the Dll's
that correlate to the SVN subcommands.
It would have a huge use within the VA's VISTA program.

Most people don't know what Mumps/Cache is.
However, I use an 'IDE" called Studio for Cache.
I have the menu options that can incorporate SVN using a function call
$ZF(-1) (not important).
It can call the SVN commnads by shelling out to Windwos and running the SVN
commands. Only problem is, if it ever could happen, is if a SVN porcess
should hang, I wouldn't be able to kill that process.

However I have $ZF(-4) and $ZF(-5) which reuire a knowledge of the Dll's.
$ZF(-4)—Loads, unload, and manages loaded DLLs.
$ZF(-5)—Invokes a function in a loaded DLL.
$ZF(-6)—Invokes a function in a DLL by index.

I can load the dll: Set <dll_id>=$ZF(-4,1,"<dll_name>")
Then I can call it: Set <result>=$ZF(-5,<dll_id>,<func_id>[,<args>.....])
                   Or: Set
What it does with the $ZF(-6):
Call the function identified by <func_id> in the DLL identified by
<dll_index> passing the arguments if any. The first reference to <dll_index>
causes <dll_index> to be searched for in the process DLL index table in
order to load the associated DLL name. If <dll_index> is not found in the
process DLL index table, the system DLL index table is searched. If it is
not found in either table, an error is generated. The result of the call is
returned as the value of the $ZF(-6) function.
At the present time, <dll_index> must be an integer > 0. It should be a
unique identifier assigned by the user to serve as an index for the DLL file

I have the option of using the c code but that would require recompiling all
cache.exe's which run the database system and it would be a nightmare to

I hope someone can help me figure out the dll and function id references.
This will be an awesome plugin for Intersystems Cache and open source.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 3 17:52:44 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.