Ask Your Question
0

Getting unresolved external symbol error during creation of dll file

asked 2022-12-08 02:10:46 -0500

cresg gravatar image

updated 2022-12-08 02:36:19 -0500

Hello,

I am getting 'unresolved external symbol error' while compiling and creating dll file from Fotran code.

To get line status, I am using the API:

CALL BRNINT(ICON(M),ICON(M+1),ICON(M+2),'STATUS', STATUS, IERR)

With ICON(M+2), I am getting the external symbol error. However, if I replace ICON(M+2) with '1', I get no error.

CALL BRNINT(ICON(M),ICON(M+1),'1','STATUS', STATUS, IERR)

Is it possible that the ICON(M+2) is being considered any other type other than type CHARACTER? Is there a way to fix the issue?

Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2022-12-08 02:41:10 -0500

perolofl gravatar image

Since line id is a character the value is stored in array CHRICN.

Try:

CALL BRNINT(ICON(M),ICON(M+1),CHRICN(M+2),'STATUS', STATUS, IERR)
edit flag offensive delete link more

Comments

That worked well. Thank you.

cresg gravatar imagecresg ( 2022-12-08 02:44:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2022-12-08 02:10:46 -0500

Seen: 351 times

Last updated: Dec 08 '22