Groups
Groups
Sign in
Groups
Groups
インターシステムズ・ユーザー・グループ
Conversations
About
Send feedback
Help
VisMのマイグレーションパス
344 views
Skip to first unread message
wolfman
unread,
Jun 5, 2012, 1:40:03 AM
6/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
VisMというのは、PCクライアントとCachéを接続するためのOCX(ActiveX)です。
さすがにVB6から
VB.NET
に移行された方がほとんどだと思いますが、
VB.NET
が下位互換性のためにActiveXインタフェースをサポートしているため、VisMがそのまま使われているケースも結構多いと思われます。
しかし、VisMが動作する.NET環境は32ビットのみなので、クライアントにも64ビット環境が普及してきている現状、いよいよVisMの寿命が尽きかけています。
こういう状況に対処するために.Net Managed ProviderのVisMエミュレータを用意しています。
http://faq.intersystems.co.jp/csp/faq/result.CSP?DocNo=159
このエミュレータを使用することでクライアントのコードはほんの少しの変更でVisMアプリケーションの移行が可能です。
wolfman
unread,
Jul 8, 2013, 3:06:59 AM
7/8/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
FAQサイトで公開しているものはPLISTを毎回サーバーにアクセスしているので大量のPLISTを処理する場合には性能面で問題があります。
PLISTの処理をクライアント(.NET)側で行うように修正したバージョンを作成したので公開します。
VisMV2.zip
wolfman
unread,
Jul 8, 2013, 10:37:10 PM
7/8/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
コンポーネント側でPLISTをクライアントで処理するように変更しましたが、それを利用するサンプルアプリケーションは従来通りサーバーサイドのメソッドを呼び出していました。
サンプルからコンポーネントのローカル処理を呼び出すように変更したバージョンを添付します。
VisMV2.zip
wolfman
unread,
Sep 25, 2013, 4:15:12 AM
9/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
FAQサイトにも新しいバージョンがアップ(PLISTをクライアント側で処理する)されました。
2012年6月5日火曜日 14時40分03秒 UTC+9 wolfman:
wolfman
unread,
Nov 7, 2014, 2:54:09 AM
11/7/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
本来のVisMとは微妙な非互換性があります。
クライアント側から
CacheDirect.P0 = ""
を送ると
サーバー側では$C(0)を受け取ります。
CacheDirect.P0 = nothing
を送ると
サーバー側で""を受け取ります。
これはSQLでの未定義と空文字を区別するための措置です。
2012年6月5日火曜日 14時40分03秒 UTC+9 wolfman:
wolfman
unread,
Oct 5, 2015, 4:51:35 AM
10/5/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to インターシステムズ・ユーザー・グループ
2015.1より64ビット版のVisMがサポートされるようになりました。
しかしながら.NET環境で動作する場合、Managed コードとして動作しませんので、あいかわらず使用の推奨はできません。
とくに新規にアプリケーションを開発する際には是非.NET Managed Provider、Extreme、REST等を検討することをお勧めします。
2012年6月5日火曜日 14時40分03秒 UTC+9 wolfman:
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
wolfman
unread,
Jun 13, 2017, 6:34:44 AM
6/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to intersystems-j...@googlegroups.com
Readme.txtを以下の様に修正します。
1. .NET概要
以下のチュートリアルで、事前学習
http://localhost:57772/csp/docbook/DocBook.UI.Page.cls?KEY=TCMP
2. VisMV2.ZIPを解凍
3. スタジオで、cachedirect.xmlをUSERネームスペースにインポート
4. Cache Proxyクラスの作成
User.CacheDirectクラスの.Net
用プロキシクラスの生成
生成方法の詳細は以下参照
http://docs.intersystems.com/cache_latestj/csp/docbook/DocBook.UI.Page.cls?KEY=GBMP_proxy#GBMP_proxy_generating
5. 4.で生成したファイルでVisMV2.ZIPに含まれるcachedirect.csを置き換える。
6. C_SHARPConsoleApplication.slnをVS2012以上でオープンし、再ビルド後、実行
wolfman
unread,
Jun 13, 2017, 6:37:38 AM
6/13/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to インターシステムズ・ユーザー・グループ
何故かファイルを添付できません。
しかたなく添付ファイルに修正を反映させるのではなく以下のような対処となっています。
2017年6月13日火曜日 19時34分44秒 UTC+9 wolfman:
Readme.txtを以下の用に修正します。
wolfman
unread,
Jun 21, 2017, 3:43:48 AM
6/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to インターシステムズ・ユーザー・グループ
Gitリポジトリに修正版のファイル一式を置きました。
https://github.com/wolfman0719/PG/blob/master/VisMDotNet.zip
wolfman
unread,
May 28, 2020, 5:15:50 AM
5/28/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to インターシステムズ・ユーザー・グループ
IRIS の.Net Native API対応のVisMエミュレータを作りました。
ViSM.OCXの置き換え、および.Net Binding版のVisMエミュレータの置き換えに活用ください。
https://github.com/wolfman0719/CacheDirectEmulator
Reply all
Reply to author
Forward
0 new messages