How to collect return values of unmanged code?
                            
                         
                        
                     
                 
                
                    I have a function of pborca80.dll with the following syntax: 
int PBORCA_LibraryEntryExport ( HPBORCA hORCASession, LPSTR lpszLibraryName, LPSTR lpszEntryName, PBORCA_TYPE otEntryType, LPSTR lpszExportBuffer, LONG lExportBufferSize ); 
I have sent a string array as a parameter to the above dll function which has to treat the array as a buffer and fill the data? 
the fucntion is executing successfully but the string array is empty. Do I have to do any unmarshalling when a unmanaged function returns something?