SQL Gateway, errors while building proxy classes

SQL gateway.

There is a basic problem with sql gateway,

while building the proxy methods, with:

##class(%Net.Remote.Gateway).%ExpressImport(class, port, host, 0, classObj)
it causes error messages as something in the class is not correct,

while this class passed OK all Visual Studio of C#

and same class working OK under the %Activate Assembly link

I think there is also problem  with overload methods (same methods names).

Regards,

Emanuel

  • 0
  • 0
  • 115
  • 3
  • 1

Answers

it causes error messages as something in the class is not correct,

What error messages?

Also try calling

zwrite %objlasterror

it may contain additional information.

proxy build it happens first time, when you make the build, it show a big list of items from the class, second time and more it shows only few lines in build proccess, I tried to repeat by deleting class+re-build, it show always few lines (3-4 lines) the class , have to be correct, because it pass the VS2012 , and works ok under activate.

Comments

Hi, Emanuel! I don't know the answer, but I have a comment - you have 3 questions in one. If we have a discussion here on all 3 it will be a mess. Also, we have a feature of 'Accepted answer' which you will choose when the problem is done - it's difficult to accept an answer for 3 different questions.

Could you please consider to split it into 3 different questions?