Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12534

Re: Using .Net-DLL from VO

Path csiph.com!aioe.org!.POSTED.5khQQ74EcbbAsV5j3NyilA.user.gioia.aioe.org!not-for-mail
From "Jamal" <nospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Using .Net-DLL from VO
Date Tue, 18 Jun 2019 11:44:09 -0400
Organization Aioe.org NNTP Server
Lines 35
Message-ID <qeb0s6$o7s$1@gioia.aioe.org> (permalink)
References <9d5d2485-29b7-437a-998a-02d9d9e67a07@googlegroups.com>
NNTP-Posting-Host 5khQQ74EcbbAsV5j3NyilA.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="utf-8"; reply-type=original
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
X-MimeOLE Produced By Microsoft MimeOLE V16.4.3528.331
X-MSMail-Priority Normal
X-Newsreader Microsoft Windows Live Mail 16.4.3528.331
X-Priority 3
Importance Normal
X-Notice Filtered by postfilter v. 0.9.2
Xref csiph.com comp.lang.clipper.visual-objects:12534

Show key headers only | View raw


It's better to generate an automation server class and use it's generated 
class and public methods instead of using OleAutoObject class.

Also, make sure to copy all files in the \Bin\x86\Release folder of the C# 
project. You are most likely missing the the TLB file.

Jamal

wrote in message 
news:9d5d2485-29b7-437a-998a-02d9d9e67a07@googlegroups.com...

I created a .Net-DLL with some Classes.
In my VO-Application, I use this DLL by:
oABC := OleAutoObject{ “Silvio.abc” }

Anything is done according to 
http://www.elbe-data.se/sv/vografx/visualobjectsandcsharp.pdf.

On my programmers machine this works fine, no problem.

On then target machine I register this DDL by:
Regasm \<path>\<nameoftheDLL>.DLL /codebase
Response is: the types are registered.

The .Net.DLL resides in the same directory as my VO-Application.

.Net-Framework-version on the target machine is the same as in my 
programmers machine.

But after all, oABC:fInit still returns false.

Any idea? Thanks for help.

Silvio 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using .Net-DLL from VO feusahrens@gmail.com - 2019-06-18 00:57 -0700
  Re: Using .Net-DLL from VO "Jamal" <nospam@example.com> - 2019-06-18 11:44 -0400
  Re: Using .Net-DLL from VO "Wolfgang Riedmann" <wriedmann@gmail.com> - 2019-06-18 18:23 +0200
  Re: Using .Net-DLL from VO jeanphilippe@igsoft.be - 2019-07-09 04:56 -0700

csiph-web