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.

pb+fortran×Ö·û´®µÄÎÊÌâ

2 posts in General Discussion (Chinese) Last posting was on 2007-05-22 03:27:47.0Z
golyou Posted on 2007-04-23 12:15:19.0Z
From: "golyou" <golyou@yahoo.com>
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: pb+fortran×Ö·û´®µÄÎÊÌâ
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 221.12.180.62
X-Original-NNTP-Posting-Host: 221.12.180.62
Message-ID: <462ca357@forums-1-dub>
Date: 23 Apr 2007 05:15:19 -0700
X-Trace: forums-1-dub 1177330519 221.12.180.62 (23 Apr 2007 05:15:19 -0700)
X-Original-Trace: 23 Apr 2007 05:15:19 -0700, 221.12.180.62
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:226
Article PK: 104254

¸÷λ´óϺ!
pbµ÷ÓÃfortranµÄdll,ÇëÎÊËûÃÇÖ®¼äÈçºÎ½øÐÐ×Ö·û´®´«µÝµÄ?ÎÒÔÚpbÖж¨ÒåΪstring,ÔÚfortranÀïÓÃcharacter,×ÜÊDZ¨´í£¬ÔÚ global external functions ÀïÎÒ¶¨ÒåÁËSUBROUTINE fuel_airpath(ref
string ll_file )library "fuel_airpath.dll"£¬ÔÚfortranÀïÎÒÓÃ
SUBROUTINE fuel_airpath(sector)

!MS$ATTRIBUTES DLLEXPORT,ALIAS:'fuel_airpath'::fuel_airpath
implicit none

!±äÁ¿ÀàÐÍÉùÃ÷
!character(10) sector,
¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
END SUBROUTINE

¸æËßÎÒ¸ÃÔõô×ö£¿Ð»Ð»£¡


Uman[sybase] Posted on 2007-05-22 03:27:47.0Z
From: "Uman[sybase]" <sund@sybase.com>
Newsgroups: sybase.public.chinese.powerbuilder.general
References: <462ca357@forums-1-dub>
Subject: Re: pb+fortran×Ö·û´®µÄÎÊÌâ
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: sundq-desktop.sybase.com
X-Original-NNTP-Posting-Host: sundq-desktop.sybase.com
Message-ID: <46526333@forums-1-dub>
Date: 21 May 2007 20:27:47 -0700
X-Trace: forums-1-dub 1179804467 10.42.14.172 (21 May 2007 20:27:47 -0700)
X-Original-Trace: 21 May 2007 20:27:47 -0700, sundq-desktop.sybase.com
X-Authenticated-User: pb110beta
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:233
Article PK: 104260

Try to pre-deifne the string which let it have some memory in adcance.

Such as

string str
str= space(20)

or omit the ref key word from the defination of the subroutine.

"golyou" <golyou@yahoo.com> wrote in message news:462ca357@forums-1-dub...
> ¸÷λ´óϺ!
> pbµ÷ÓÃfortranµÄdll,ÇëÎÊËûÃÇÖ®¼äÈçºÎ½øÐÐ×Ö·û´®´«µÝµÄ?ÎÒÔÚpbÖж¨ÒåΪstring,ÔÚfortranÀïÓÃcharacter,×ÜÊDZ¨´í£¬ÔÚ global external functions ÀïÎÒ¶¨ÒåÁËSUBROUTINE fuel_airpath(ref
> string ll_file )library "fuel_airpath.dll"£¬ÔÚfortranÀïÎÒÓÃ
> SUBROUTINE fuel_airpath(sector)
>
> !MS$ATTRIBUTES DLLEXPORT,ALIAS:'fuel_airpath'::fuel_airpath
> implicit none
>
> !±äÁ¿ÀàÐÍÉùÃ÷
> !character(10) sector,
> ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
> END SUBROUTINE
>
> ¸æËßÎÒ¸ÃÔõô×ö£¿Ð»Ð»£¡
>