In vb "DIM Ret&" is the same as "DIM Ret as long"
It is recommended to use the second form in vb
ret would in this case be a variable used to hold a "long" return value from the function you are calling. If you declared it as an integer it could overflow cause the function to hang or it may not even compile.
ret (or any other name) could aslo be defined as boolean, a string, an integer etc... It all depends on what the function return value is expected to be. Each function can return something different. Some api functions return a filename so obviously the return value variable would have to be dim as a string while others might return a true or false boolean condition indicating success or failure of the call.
Not into Delphi so can't comment on the port.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 31 of 31
Thread
Similar Threads
-
Calling MediaInfo from Visual Basic to et video info
By SearchQuality in forum ProgrammingReplies: 18Last Post: 2nd Nov 2011, 06:36 -
visual basic code
By kudoshinichi in forum ProgrammingReplies: 1Last Post: 21st Jan 2009, 08:30 -
PHP code used to generate code for Avysinth join mov and avi files
By lindylex in forum User guidesReplies: 0Last Post: 19th Sep 2008, 03:37 -
Programming FFMPEG (Visual Basic)
By Ace-Of-Spades in forum ProgrammingReplies: 4Last Post: 9th Oct 2007, 06:18