Click here to Skip to main content
15,920,468 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: importing fortran dll's Pin
Dave Kreskowiak17-Aug-04 10:26
mveDave Kreskowiak17-Aug-04 10:26 
GeneralRe: importing fortran dll's Pin
progload17-Aug-04 15:19
progload17-Aug-04 15:19 
GeneralRe: importing fortran dll's Pin
progload17-Aug-04 15:24
progload17-Aug-04 15:24 
GeneralwaveOutGetDevCaps Pin
mivey417-Aug-04 5:14
mivey417-Aug-04 5:14 
GeneralRe: waveOutGetDevCaps Pin
Dave Kreskowiak17-Aug-04 5:37
mveDave Kreskowiak17-Aug-04 5:37 
GeneralRe: waveOutGetDevCaps Pin
mivey417-Aug-04 7:38
mivey417-Aug-04 7:38 
GeneralRe: waveOutGetDevCaps Pin
Dave Kreskowiak17-Aug-04 10:22
mveDave Kreskowiak17-Aug-04 10:22 
GeneralRe: waveOutGetDevCaps Pin
mivey418-Aug-04 5:52
mivey418-Aug-04 5:52 
Okay Dave,

This is a very useful piece of information that I was previously unaware of and I now understand what you meant with your previous inquiry concerning the structure. This was apparently a new requirement for the .NET framework since I don't recall such a requirement under VB6 for structures or what was then termed as "types".

I also noticed the additional line of code that was:

MarshalAs(UnmanagedType.ByValTStr, SizeConst:=MAXPNAMELEN)

Seemingly this is the only way to allocate the string buffer within the structure for the returned value in VB.NET that would be the equivalent for VB6 as:

szPname As String * 32

What about the structure members after the "MashalAs" parameter specified for the string member? Will they require anything additional to ensure that the returned values are properly packed in memory before a return also or does the StructLayout parameter apply for the entire structure as I would assume.

Thanks Dave Confused | :confused:

"For God so loved the world...." John 3:16
I only have one boss, J.C.
GeneralRe: waveOutGetDevCaps Pin
Dave Kreskowiak18-Aug-04 6:27
mveDave Kreskowiak18-Aug-04 6:27 
GeneralRe: waveOutGetDevCaps Pin
Dave Kreskowiak18-Aug-04 12:21
mveDave Kreskowiak18-Aug-04 12:21 
GeneralRe: waveOutGetDevCaps Pin
Anonymous17-Aug-04 6:34
Anonymous17-Aug-04 6:34 
GeneralRe: waveOutGetDevCaps Pin
Anonymous17-Aug-04 6:53
Anonymous17-Aug-04 6:53 
GeneralRe: waveOutGetDevCaps Pin
mivey417-Aug-04 9:11
mivey417-Aug-04 9:11 
GeneralRe: waveOutGetDevCaps Pin
Anonymous17-Aug-04 9:34
Anonymous17-Aug-04 9:34 
GeneralRe: waveOutGetDevCaps Pin
Anonymous17-Aug-04 9:59
Anonymous17-Aug-04 9:59 
GeneralRe: waveOutGetDevCaps Pin
Anonymous17-Aug-04 10:24
Anonymous17-Aug-04 10:24 
GeneralRe: waveOutGetDevCaps Pin
mivey418-Aug-04 6:25
mivey418-Aug-04 6:25 
GeneralNeed to switch between Applications Pin
awhucks17-Aug-04 4:49
awhucks17-Aug-04 4:49 
GeneralRe: Need to switch between Applications Pin
Pablo.ar17-Aug-04 6:48
Pablo.ar17-Aug-04 6:48 
GeneralRe: Need to switch between Applications Pin
awhucks17-Aug-04 7:36
awhucks17-Aug-04 7:36 
GeneralRe: Need to switch between Applications Pin
awhucks17-Aug-04 7:51
awhucks17-Aug-04 7:51 
GeneralRe: Need to switch between Applications Pin
Pablo.ar17-Aug-04 16:16
Pablo.ar17-Aug-04 16:16 
Generaltransactions causing exceptions Pin
kowplunk17-Aug-04 4:45
kowplunk17-Aug-04 4:45 
GeneralRe: transactions causing exceptions Pin
Dave Kreskowiak17-Aug-04 5:29
mveDave Kreskowiak17-Aug-04 5:29 
GeneralRe: transactions causing exceptions Pin
kowplunk17-Aug-04 10:23
kowplunk17-Aug-04 10:23 

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.