Click here to Skip to main content
15,909,466 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: String.Formate with { character Pin
Luc Pattyn17-Nov-07 8:17
sitebuilderLuc Pattyn17-Nov-07 8:17 
GeneralRe: String.Formate with { character Pin
Aftab Sindhi18-Nov-07 19:28
Aftab Sindhi18-Nov-07 19:28 
GeneralRe: String.Formate with { character Pin
Luc Pattyn19-Nov-07 1:17
sitebuilderLuc Pattyn19-Nov-07 1:17 
QuestionProblem with Private Font Collection Pin
bob_up17-Nov-07 4:38
bob_up17-Nov-07 4:38 
AnswerRe: Problem with Private Font Collection Pin
supercat917-Nov-07 10:10
supercat917-Nov-07 10:10 
QuestionInterface FORTRAN90 to VisualBasic - DLL Pin
Sergio2santos17-Nov-07 1:59
Sergio2santos17-Nov-07 1:59 
AnswerRe: Interface FORTRAN90 to VisualBasic - DLL Pin
Luc Pattyn17-Nov-07 2:24
sitebuilderLuc Pattyn17-Nov-07 2:24 
AnswerRe: Interface FORTRAN90 to VisualBasic - DLL Pin
DQNOK19-Nov-07 12:55
professionalDQNOK19-Nov-07 12:55 
I think Luc has it nailed.

Module Global1
Declare Sub Square Lib "c:\FORTDLL\Debug\FORTDLL.dll" (ByVal a As Single)
End Module


should almost undoubtedly be

Module Global1
Declare Sub Square Lib "c:\FORTDLL\Debug\FORTDLL.dll" (ByRef a As Single)
End Module


since Fortran defaults to passing its args by reference rather than by value (as C does).

I'd like to know if this works for you. I need to convert some fortran functions into DLLs, and yours is a good template for me to use if it works.

Let us know.

David
---------
Empirical studies indicate that 20% of the people drink 80% of the beer. With C++ developers, the rule is that 80% of the developers understand at most 20% of the language. It is not the same 20% for different people, so don't count on them to understand each other's code.
http://yosefk.com/c++fqa/picture.html#fqa-6.6
---------

GeneralRe: Interface FORTRAN90 to VisualBasic - DLL Pin
Sergio2santos19-Nov-07 14:21
Sergio2santos19-Nov-07 14:21 
GeneralRe: Interface FORTRAN90 to VisualBasic - DLL Pin
DQNOK20-Nov-07 3:55
professionalDQNOK20-Nov-07 3:55 
Question[2008] Make a Documents.FixedPage from an XML literal? Pin
Duncan Edwards Jones17-Nov-07 0:33
professionalDuncan Edwards Jones17-Nov-07 0:33 
QuestionHow to search a PDF document Pin
midnightshifting16-Nov-07 21:19
midnightshifting16-Nov-07 21:19 
AnswerRe: How to search a PDF document Pin
DigiOz Multimedia17-Nov-07 4:55
DigiOz Multimedia17-Nov-07 4:55 
QuestionRestart System when printing Report in VB.net Pin
mashouri16-Nov-07 19:51
mashouri16-Nov-07 19:51 
AnswerRe: Restart System when printing Report in VB.net Pin
DigiOz Multimedia17-Nov-07 4:51
DigiOz Multimedia17-Nov-07 4:51 
QuestionHandling Valuemember of Combox placed in a grid Pin
infotools16-Nov-07 19:04
infotools16-Nov-07 19:04 
AnswerRe: Handling Valuemember of Combox placed in a grid Pin
deathbat20-Nov-07 13:37
deathbat20-Nov-07 13:37 
GeneralRe: Handling Valuemember of Combox placed in a grid Pin
infotools23-Nov-07 22:26
infotools23-Nov-07 22:26 
QuestionReassigning a control's parent Pin
The ANZAC16-Nov-07 18:45
The ANZAC16-Nov-07 18:45 
AnswerRe: Reassigning a control's parent Pin
Christian Graus16-Nov-07 20:28
protectorChristian Graus16-Nov-07 20:28 
QuestionConnecting to SQL Pin
tellytub16-Nov-07 17:58
tellytub16-Nov-07 17:58 
AnswerRe: Connecting to SQL Pin
Abhijit Jana16-Nov-07 21:31
professionalAbhijit Jana16-Nov-07 21:31 
Questionsaving table Pin
cj433116-Nov-07 10:29
cj433116-Nov-07 10:29 
AnswerRe: saving table Pin
cj433119-Nov-07 9:59
cj433119-Nov-07 9:59 
QuestionRetriving source code from a exe file which was developed in visual basic 6 Pin
S.Haris16-Nov-07 9:45
S.Haris16-Nov-07 9:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.