- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I posted an early thread this morning, using the C#&Fortran.
But no one give me even a single answer, so I switch to VC++&Fortran(DLL).
But I encounter the same problem:Unhandled exception at 0x10001082 in MFCMainTest.exe: 0xC0000005: Access violation reading location 0x00000007.
Then I switch to so I switch to VC++&Fortran(Static library),then I got another problem:Error1error LNK2019: unresolved external symbol _TEST@12 referenced in function _dynamicLIBSTRING_Cbridge.obj
I put the whole code in the attachment, I hope some guys can get me out of here.
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That certainly did the trick! I actually tried dummy character string earlier and that didn't work. I suppose, "reference" attribute to the function made the difference. I did find this attribute in the help and applied before. Obviously, that attempt was not proper and hence didn't work.
As all attempt failed, I thought of accepting the character string as pointer in FORTRAN routine.
Thank you very much, Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »