Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

PODs

3 posts in General Discussion Last posting was on 2011-06-03 15:27:41.0Z
Shao Chan Posted on 2011-06-03 08:07:59.0Z
Reply-To: "Shao Chan" <nospam@nospam.com>
From: "Shao Chan" <nospam@nospam.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: PODs
Lines: 18
Organization: Civica
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4de8965f@forums-1-dub>
Date: 3 Jun 2011 01:07:59 -0700
X-Trace: forums-1-dub 1307088479 10.22.241.152 (3 Jun 2011 01:07:59 -0700)
X-Original-Trace: 3 Jun 2011 01:07:59 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1573
Article PK: 18027

Hi all,

Do M-Biz PODs have to be written in C? Can they be written in C# or just
call out to a C# program?

I remember when asking the iAnywhere consultants a long time ago, one of the
problems was that in the age of Pocket PC 2003, the .NET Framework wasn't on
the PDA. This has changed, but how easy is it to run a C# program as a POD.

I think it is possible for a POD to call an exe file that has been written
in C#. The POD can write to the registry and the exe file can read from it
to get parameter information. But I don't know any alternative.

Thanks,

Shao


Jeff Albion [Sybase iAnywhere] Posted on 2011-06-03 14:56:05.0Z
From: "Jeff Albion [Sybase iAnywhere]" <firstname.lastname@sybase.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: PODs
References: <4de8965f@forums-1-dub>
In-Reply-To: <4de8965f@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4de8f605@forums-1-dub>
Date: 3 Jun 2011 07:56:05 -0700
X-Trace: forums-1-dub 1307112965 10.22.241.152 (3 Jun 2011 07:56:05 -0700)
X-Original-Trace: 3 Jun 2011 07:56:05 -0700, vip152.sybase.com
Lines: 43
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1574
Article PK: 18029

Hello Shao,

On 03/06/2011 4:07 AM, Shao Chan wrote:
> Hi all,
>
> Do M-Biz PODs have to be written in C?

Yes.

> Can they be written in C# or just call out to a C# program?

A POD might be able to execv() a C# .NET executable process, in theory...

> I remember when asking the iAnywhere consultants a long time ago, one of the
> problems was that in the age of Pocket PC 2003, the .NET Framework wasn't on
> the PDA. This has changed, but how easy is it to run a C# program as a POD.

We only offer native calls out to unmanaged DLLs from the M-Business
client. Calling a .NET class method automatically requires invocation of
the CLR, which would need to be "glued" back into the M-Business
application somehow - we go through a lot of effort to make this happen
in our full database server product:
http://dcx.sybase.com/index.html#1201/en/dbprogramming/pg-extenv-clr.html.
Having this type of support on the M-Business client would be
computationally expensive...

> I think it is possible for a POD to call an exe file that has been written
> in C#. The POD can write to the registry and the exe file can read from it
> to get parameter information. But I don't know any alternative.

That's my only thought as well - maybe pass your arguments via argv[] ?

Cheers,

--
Jeff Albion, Sybase iAnywhere, an SAP Company

iAnywhere Developer Community :
http://www.sybase.com/developer/library/sql-anywhere-techcorner
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
SQL Anywhere Patches and EBFs :
http://downloads.sybase.com/swd/summary.do?baseprod=144&client=ianywhere&timeframe=0
Report a Bug/Open a Case : http://case-express.sybase.com/cx/


Shao Chan Posted on 2011-06-03 15:27:41.0Z
Reply-To: "Shao Chan" <nospam@nospam.com>
From: "Shao Chan" <nospam@nospam.com>
Newsgroups: ianywhere.public.mbusinessanywhere.general
References: <4de8965f@forums-1-dub> <4de8f605@forums-1-dub>
Subject: Re: PODs
Lines: 62
Organization: Civica
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4de8fd6d@forums-1-dub>
Date: 3 Jun 2011 08:27:41 -0700
X-Trace: forums-1-dub 1307114861 10.22.241.152 (3 Jun 2011 08:27:41 -0700)
X-Original-Trace: 3 Jun 2011 08:27:41 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:1575
Article PK: 9501

Hi Jeff,

Thanks for the reply. Much appreciated.

Cheers,

Shao

"Jeff Albion [Sybase iAnywhere]" <firstname.lastname@sybase.com> wrote in
message news:4de8f605@forums-1-dub...
> Hello Shao,
>
> On 03/06/2011 4:07 AM, Shao Chan wrote:
>> Hi all,
>>
>> Do M-Biz PODs have to be written in C?
>
> Yes.
>
>> Can they be written in C# or just call out to a C# program?
>
> A POD might be able to execv() a C# .NET executable process, in theory...
>
>> I remember when asking the iAnywhere consultants a long time ago, one of
>> the
>> problems was that in the age of Pocket PC 2003, the .NET Framework wasn't
>> on
>> the PDA. This has changed, but how easy is it to run a C# program as a
>> POD.
>
> We only offer native calls out to unmanaged DLLs from the M-Business
> client. Calling a .NET class method automatically requires invocation of
> the CLR, which would need to be "glued" back into the M-Business
> application somehow - we go through a lot of effort to make this happen in
> our full database server product:
> http://dcx.sybase.com/index.html#1201/en/dbprogramming/pg-extenv-clr.html.
> Having this type of support on the M-Business client would be
> computationally expensive...
>
>> I think it is possible for a POD to call an exe file that has been
>> written
>> in C#. The POD can write to the registry and the exe file can read from
>> it
>> to get parameter information. But I don't know any alternative.
>
> That's my only thought as well - maybe pass your arguments via argv[] ?
>
> Cheers,
>
> --
> Jeff Albion, Sybase iAnywhere, an SAP Company
>
> iAnywhere Developer Community :
> http://www.sybase.com/developer/library/sql-anywhere-techcorner
> iAnywhere Documentation :
> http://www.ianywhere.com/developer/product_manuals
> SQL Anywhere Patches and EBFs :
> http://downloads.sybase.com/swd/summary.do?baseprod=144&client=ianywhere&timeframe=0
> Report a Bug/Open a Case : http://case-express.sybase.com/cx/