Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #12534
| From | "Jamal" <nospam@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Using .Net-DLL from VO |
| Date | 2019-06-18 11:44 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qeb0s6$o7s$1@gioia.aioe.org> (permalink) |
| References | <9d5d2485-29b7-437a-998a-02d9d9e67a07@googlegroups.com> |
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
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