[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Technical background information on .NET bridge

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
You're doing a very good job of figuring it all out! Correct, for a pure .NET object there is no ABL counterpart of the object. There is also no proxy. Yes, we create a GCHandle, which is stored in a collection (_handlemap) to make sure the object stays around. We store it in the map so that we never create more than one GC handle for any specific .NET object. When the object is no longer being used from the ABL, we free it. Yes, accessing methods/properties of that .NET object goes "directly" to the .NET side. Directly is in quotes, because there are a couple of layers it goes through. And of course we often need to do data conversion when going there and back. And again correct, we emit a an event receiver that .NET can call when the event is fired. That in turn calls back to the ABL to run the handler.

Continue reading...
 
Status
Not open for further replies.
Back
Top