A late reply, I was distracted by work. David, I agree, the issue is with the way that .Net treats Com Objects. What a mess Microsoft did there to finish off the COM paradigm. For years COM and COM+ was the holy grail of programming in the windows world and now we are expected to change completly into the .Net world of wonders.
In my current web based product I use the UniDynArray only as storage container for the data. I am independent from the database, in fact I can write the stringvalue of a DynArray into SQL server or any other database. That's why I can't deal with UODOTNET's UniDynArray. Just to create it I need a database connection which I don't have. jBase gave me a trial of their mv.net product and I have to try it out. Maybe I have to write my own class of a UniDynArray in .Net using just string operations. A worthy project, but sure to take time and dedication. Martin Scholl President HIPAAsuite 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Jordan Sent: Monday, January 24, 2005 8:34 PM To: [email protected] Subject: RE: [U2] UO.Net and UniDynArray Hi Martin I suspect the issue you are having is not with the dynamic array, but that you are using a com object within the .Net framework, which requires it to step out of the environment each time you make a call, ie each time you update the dynamic array. The issue is not with UniObjects, but COM in .Net. You would resolve the problem going to IBM's U2 .Net interface as going with jBase or Raining data's .Net product. If you wish to stay with the com version, and it seems to be a batch update, you could put the update routine as a VB6 compiles routine and then pass the array to it to update as 1 com call. Alternatively you could build the dynamic array manually by concatenating the strings with CHAR(254), etc and stay fully in the .Net frame work. With .Net UniObj, I have opened a session, got data and closed the session and then used the dynamic array handling without issue, so you should not require a session to be open to use the dynamicarray facilities. Regards David Jordan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Scholl Sent: Tuesday, 25 January 2005 6:12 AM To: [email protected] Subject: [U2] UO.Net and UniDynArray Is it possible to work on uodotnet.UniDynArrays without having a session object open? I have tried to manipulate a uodotnet.UniDynArray, but when the session is closed, it throws an error. I have the nagging suspicion that UO.Net needs an open session to execute 'Oconv', Iconv' etc on the server through a call. I hope this is not true. It would make UO.Net pretty useless for stateless paradigms like web programming. Has anybody tried jBase's mv.Net? Martin Scholl President HIPAAsuite 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
