Path: csiph.com!aioe.org!.POSTED.5khQQ74EcbbAsV5j3NyilA.user.gioia.aioe.org!not-for-mail From: "Jamal" 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: 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 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 \\.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