Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10351 > unrolled thread
| Started by | stevedar1978@gmail.com |
|---|---|
| First post | 2017-03-26 23:33 -0700 |
| Last post | 2017-04-04 13:10 +0200 |
| Articles | 9 — 4 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Access C# App via Automation Server stevedar1978@gmail.com - 2017-03-26 23:33 -0700
Re: Access C# App via Automation Server "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-03-27 10:43 +0200
Re: Access C# App via Automation Server stevedar1978@gmail.com - 2017-03-27 03:01 -0700
Re: Access C# App via Automation Server Karl Wochele <kw@ecos-system.invalid> - 2017-04-04 08:13 +0200
Re: Access C# App via Automation Server "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-04-04 08:48 +0200
Re: Access C# App via Automation Server "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-04-04 08:52 +0200
Re: Access C# App via Automation Server "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-04-04 08:59 +0200
Re: Access C# App via Automation Server D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-04-04 12:21 +0200
Re: Access C# App via Automation Server Karl Wochele <kw@ecos-system.invalid> - 2017-04-04 13:10 +0200
| From | stevedar1978@gmail.com |
|---|---|
| Date | 2017-03-26 23:33 -0700 |
| Subject | Access C# App via Automation Server |
| Message-ID | <3bbbb878-e8a2-456e-aed4-0c30fc11fc77@googlegroups.com> |
Hi all, (CAVO28) I'm a newbie in Automation Server. I'm developing application to Write Card for KeyLock, and I got the SDK actually fully write in C# Dev_C_Sharp.dll Dev_C_Sharp.tlb From Automation Server, I have select Type Lib and successful create the class Dev_Sharp, but I got error when access the class saying the OLE AutoObject is not initialized, then I try to check on Init() found: METHOD Init(ObjID, fROTCHECK) CLASS Dev_Sharp SUPER:Init(ObjID, 0, .T., fROTCHECK) SELF:_dwFuncs := 20 SELF:_dwVars := 0 RETURN SELF There is no default ObjID as I found for ReportPro: METHOD Init(ObjID, fROTCHECK) CLASS IRpRuntime IF (ObjID=NIL) ObjId := "ReportPro.Runtime.39" ENDIF SUPER:Init(ObjID, 0, .T., fRotCheck) SELF:_dwFuncs := 52 SELF:_dwVars := 0 RETURN SELF The default ObjID for ReportPro is "ReportPro.Runtime.39" I have tried to regserver for Dev_C_Sharp.dll but failed. But I have success to regtype for Dev_C_Sharp.tlb. My problem: 1. I don't know the ObjID for Dev_Sharp 2. I get failed to regserver for Dev_C_Sharp.dll Any suggestion ? Regards, Steve
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-03-27 10:43 +0200 |
| Message-ID | <ejs1lsF5ejeU1@mid.individual.net> |
| In reply to | #10351 |
Hi Steve, AFAIK .NET DLLs don't register with regsvr32.exe, but with regasm.exe. Personally I prefer to use SideBySide with COM-Dlls and VO, but this is another story and adds some complexity in development (but is much, much easier in distribution). Wolfgang stevedar1978@gmail.com wrote: > Hi all, > > (CAVO28) > I'm a newbie in Automation Server. > I'm developing application to Write Card for KeyLock, and I got the > SDK actually fully write in C# Dev_C_Sharp.dll > Dev_C_Sharp.tlb > From Automation Server, I have select Type Lib and successful create > the class Dev_Sharp, but I got error when access the class saying > the OLE AutoObject is not initialized, then I try to check on Init() > found: > > METHOD Init(ObjID, fROTCHECK) CLASS Dev_Sharp > SUPER:Init(ObjID, 0, .T., fROTCHECK) > SELF:_dwFuncs := 20 > SELF:_dwVars := 0 > RETURN SELF > > There is no default ObjID as I found for ReportPro: > > METHOD Init(ObjID, fROTCHECK) CLASS IRpRuntime > IF (ObjID=NIL) > ObjId := "ReportPro.Runtime.39" > ENDIF > SUPER:Init(ObjID, 0, .T., fRotCheck) > SELF:_dwFuncs := 52 > SELF:_dwVars := 0 > RETURN SELF > > The default ObjID for ReportPro is "ReportPro.Runtime.39" > > I have tried to regserver for Dev_C_Sharp.dll but failed. > But I have success to regtype for Dev_C_Sharp.tlb. > > My problem: > 1. I don't know the ObjID for Dev_Sharp > 2. I get failed to regserver for Dev_C_Sharp.dll > > Any suggestion ? > > Regards, > Steve --
[toc] | [prev] | [next] | [standalone]
| From | stevedar1978@gmail.com |
|---|---|
| Date | 2017-03-27 03:01 -0700 |
| Message-ID | <9c013d10-fb4e-4e65-931a-7573311649fd@googlegroups.com> |
| In reply to | #10352 |
On Monday, 27 March 2017 15:43:42 UTC+7, Wolfgang Riedmann wrote: > Hi Steve, > > AFAIK .NET DLLs don't register with regsvr32.exe, but with regasm.exe. > > Personally I prefer to use SideBySide with COM-Dlls and VO, but this is > another story and adds some complexity in development (but is much, > much easier in distribution). > > Wolfgang > > stevedar1978@gmail.com wrote: > > > Hi all, > > > > (CAVO28) > > I'm a newbie in Automation Server. > > I'm developing application to Write Card for KeyLock, and I got the > > SDK actually fully write in C# Dev_C_Sharp.dll > > Dev_C_Sharp.tlb > > From Automation Server, I have select Type Lib and successful create > > the class Dev_Sharp, but I got error when access the class saying > > the OLE AutoObject is not initialized, then I try to check on Init() > > found: > > > > METHOD Init(ObjID, fROTCHECK) CLASS Dev_Sharp > > SUPER:Init(ObjID, 0, .T., fROTCHECK) > > SELF:_dwFuncs := 20 > > SELF:_dwVars := 0 > > RETURN SELF > > > > There is no default ObjID as I found for ReportPro: > > > > METHOD Init(ObjID, fROTCHECK) CLASS IRpRuntime > > IF (ObjID=NIL) > > ObjId := "ReportPro.Runtime.39" > > ENDIF > > SUPER:Init(ObjID, 0, .T., fRotCheck) > > SELF:_dwFuncs := 52 > > SELF:_dwVars := 0 > > RETURN SELF > > > > The default ObjID for ReportPro is "ReportPro.Runtime.39" > > > > I have tried to regserver for Dev_C_Sharp.dll but failed. > > But I have success to regtype for Dev_C_Sharp.tlb. > > > > My problem: > > 1. I don't know the ObjID for Dev_Sharp > > 2. I get failed to regserver for Dev_C_Sharp.dll > > > > Any suggestion ? > > > > Regards, > > Steve > > > > -- Thanks...
[toc] | [prev] | [next] | [standalone]
| From | Karl Wochele <kw@ecos-system.invalid> |
|---|---|
| Date | 2017-04-04 08:13 +0200 |
| Message-ID | <obvdi1$836$2@solani.org> |
| In reply to | #10352 |
Hi Wolfgang, do you have a little example / guide how to create and use SideBySide-Dlls with VO and xSharp ? Just starting DotNet and this would be very helpfull... TIA Karl Am 27.03.2017 um 10:43 schrieb Wolfgang Riedmann: > Hi Steve, > > AFAIK .NET DLLs don't register with regsvr32.exe, but with regasm.exe. > > Personally I prefer to use SideBySide with COM-Dlls and VO, but this is > another story and adds some complexity in development (but is much, > much easier in distribution). > > Wolfgang >
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-04-04 08:48 +0200 |
| Message-ID | <ekgttcF9m9kU1@mid.individual.net> |
| In reply to | #10367 |
Hi Karl, > do you have a little example / guide how to create and use > SideBySide-Dlls with VO and xSharp ? > > Just starting DotNet and this would be very helpfull... unfortunately I'm basing mostly on the document of a session by Meinhard onthe Xbase.Future conference, and of course I cannot share this document. I can give you a sample in VO and X# to test with, but need a bit of time to prepare (I have this sample already, but need to document it better). Wolfgang --
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-04-04 08:52 +0200 |
| Message-ID | <ekgu5sF9nmoU1@mid.individual.net> |
| In reply to | #10367 |
Hi Karl, you can look here: https://www.riedmann.it/blog/?p=241 And if you need a sample, please contact me by mail. Unfortunately I cannot attach files here. Wolfgang Karl Wochele wrote: > Hi Wolfgang, > > do you have a little example / guide how to create and use > SideBySide-Dlls with VO and xSharp ? > > Just starting DotNet and this would be very helpfull... > > TIA > Karl > > Am 27.03.2017 um 10:43 schrieb Wolfgang Riedmann: > > Hi Steve, > > > > AFAIK .NET DLLs don't register with regsvr32.exe, but with > > regasm.exe. > > > > Personally I prefer to use SideBySide with COM-Dlls and VO, but > > this is another story and adds some complexity in development (but > > is much, much easier in distribution). > > > > Wolfgang > > --
[toc] | [prev] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-04-04 08:59 +0200 |
| Message-ID | <ekguj2F9q27U1@mid.individual.net> |
| In reply to | #10367 |
Hi Karl, another hint: I'm using SxS for several years now, first with Win32 COM dlls (the excellent OleXlsFile for example to read/write xls files), and now with X# created DLLs (they are a bit different, but the principles are the same). To explore the VO side of things you can try these two downloads: https://www.riedmann.it/download/SideBySide_VO.zip https://www.riedmann.it/download/ole_xls_file.zip Wolfgang Karl Wochele wrote: > Hi Wolfgang, > > do you have a little example / guide how to create and use > SideBySide-Dlls with VO and xSharp ? > > Just starting DotNet and this would be very helpfull... > > TIA > Karl > > Am 27.03.2017 um 10:43 schrieb Wolfgang Riedmann: > > Hi Steve, > > > > AFAIK .NET DLLs don't register with regsvr32.exe, but with > > regasm.exe. > > > > Personally I prefer to use SideBySide with COM-Dlls and VO, but > > this is another story and adds some complexity in development (but > > is much, much easier in distribution). > > > > Wolfgang > > --
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2017-04-04 12:21 +0200 |
| Message-ID | <5os6eclpm3qm1e8jpbfhjahgqd2nec7sf6@4ax.com> |
| In reply to | #10367 |
Replying on message of Tue, 4 Apr 2017 08:13:20 +0200 from Karl Wochele: Hello Karl, > >do you have a little example / guide how to create and use >SideBySide-Dlls with VO and xSharp ? > I have documented that for Vulcan; shouldn't be much different for X#. I can send it to you if you mail me a valid mail address; mine is in the messages (after removing some obvious characters). I partly used the info from the link Wolfgang provides in this thread; that link is in my documentation too. The relevant part is in English. Dick
[toc] | [prev] | [next] | [standalone]
| From | Karl Wochele <kw@ecos-system.invalid> |
|---|---|
| Date | 2017-04-04 13:10 +0200 |
| Message-ID | <obvv03$k04$1@solani.org> |
| In reply to | #10371 |
Hello Dick, here is my mail address: kw@ecos-system.de Thank you very much! Karl Am 04.04.2017 um 12:21 schrieb D.J.W. van Kooten: > Replying on message of Tue, 4 Apr 2017 08:13:20 +0200 from Karl > Wochele: > > > Hello Karl, > >> >> do you have a little example / guide how to create and use >> SideBySide-Dlls with VO and xSharp ? >> > I have documented that for Vulcan; shouldn't be much different for X#. > I can send it to you if you mail me a valid mail address; mine is in > the messages (after removing some obvious characters). > > I partly used the info from the link Wolfgang provides in this thread; > that link is in my documentation too. > > The relevant part is in English. > > Dick >
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web