Home  |  Linux  | Mysql  | PHP  | XML
Date:Tue Aug  3 01:28:19 2010
Subject:Re: Sharing Transaction Object between PB and a Delphi based OCX

In order to share the same transaction through a pointer to memory,
the processes trying to share it would have to be running in the same
application space. A DLL being called from PowerBuilder or an ActiveX
being run within a PB app would share the same application memory
space. Two seperate PB applications would not.

Oracle has some connection sharing capability at the OCI layer, you
might want to look into that.

On 2 Aug 2010 08:38:49 -0700, "Vinicius Stenzel" <vstenzel@yahoo.com>
wrote:

>Hi,
>
>I am looking about that. Which DLL are you using? Can I use it for share the
>same Sybase connection between 2 Powerbuilder applications?
>
>Thanks,
>Vinicius
>
>"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>wrote in message news:478e49c5$1@forums-1-dub...
>>
>> I've used it to share the transaction between PB and a C++ DLL. The
>> question is whether the Delphi OCX will be able to cast the pointer back
>> into a connection.
>>
>> "Andreas Holz" <aswood@t-online.de> wrote in message
>> news:478dd961@forums-1-dub...
>>> Hello,
>>>
>>> are here some experiences present in sharing a DB-connection between PB
>>> and an OCX written in Delphi?
>>>
>>> Is the handle returned by DBHandle() a reference used only within PB or
>>> could this handle be used within a Delphi component?
>>>
>>> I already searched this NewsGroup but found no hints.
>>>
>>> Andreas
>>
>>
-----------------------------------

My Web 2.0 Stuff

Blog: http://brucearmstrong.sys-con.com/
Facebook: http://www.facebook.com/people/Bruce-Armstrong/1600223798
LinkedIn: http://www.linkedin.com/in/bruceaarmstrong
Twitter: http://twitter.com/bruce_armstrong
Ning: http://powerbuilder.ning.com/profile/BruceArmstrong
Xing: http://www.xing.com/profile/Bruce_Armstrong
YouTube: http://www.youtube.com/user/brucearmstrong
Fotki: http://public.fotki.com/brucearmstrong/
Navigate in group sybase.public.powerbuilder.connectivity at sever forums.sybase.com
Previous Next





  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants