on 11-26-2004 4:08 PM
Hello all,
Im implementing an RFC Server in VB. The base works fine(made it like in the help "How to build a simple RFC Server in .net").
But now i tried to add code to create an instance of a class based on a dll. At this point when i debug the thing when it comes to the statement:
Dim DS As BS4ServerV3.BS4
Dim i As Integer
Aufnr = "nrnr"
Console.WriteLine("nach def 1")
DS = New BS4ServerV3.BS4 <=
i = 0
Debug.WriteLine("nach new")
where the Object is being created nothing happens anymore.
The output never appears on the console.
I've tested the code from the dll in a standard windows an d in another console application(without the sapconnector class) and it works fine.
I've asked a colleague which is quite better in .net development but he neither could find a fault in the code.
Any input very, very welcome
Thomas
When you create a server, the code generator created (at least) two classes: The abstract Server Proxy and the non-abstract Server Implementation. The file and class is usually called <ProxyName>Impl . It seems that you try to create an instance of the abstract proxy class.
BTW: Are you using SAP .NET Connector 2.0? If yes, it migh be better having the server code directly in VB in your main project and not in a DLL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.