- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I build a Fortran Dll file, and load it from a main fortran executable file,
In main Fortran executable file, I used "Use Ifwin", which makes
Loading dll possible, than I also successfully get the address of the subroutine I want to call from this dll file.
&n bsp;
I found these above loading .dll file and getting adress were both successful, but once I call the subroutine from main executable file, an window error occured, see the attachment for your reference.
Because in this error dialogue, there are no enough infomation to provide me to locate the problem. Could someone give me some suggestions on this problem?
Thank U very much!
&nb sp;
~~~~~~~~
lyricx
In main Fortran executable file, I used "Use Ifwin", which makes
Loading dll possible, than I also successfully get the address of the subroutine I want to call from this dll file.
&n bsp;
I found these above loading .dll file and getting adress were both successful, but once I call the subroutine from main executable file, an window error occured, see the attachment for your reference.
Because in this error dialogue, there are no enough infomation to provide me to locate the problem. Could someone give me some suggestions on this problem?
Thank U very much!
&nb sp;
~~~~~~~~
lyricx
コピーされたリンク
1 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
That's the generic message you get when there is an unhandled error. Did you not get a traceback from Fortran? (Perhaps in a window hidden behind another.)
I suggest building and running under the debugger and see what it tells you. Given what you say, I'd guess that you incorrectly called the DLL routine and got an access violation.
