DLL Problem
Tech-Archive recommends: Fix windows errors by optimizing your registry
Created a DLL with a Class and one Form.
There are multiple instances of this one Form loaded as needed.
LOADing multiple forms not available - only for Controls I think.
Array of Forms using Redim Preserve seems to work however the Form cannot be
declared with WithEvents (not allowed with arrays).
The form generates events and needs to pass back to the Class.
The Class will then raise an event in the DLL caller.
It is declared with WithEvents.
I cannot get the Form to see the Class so I can only go from Class to Form,
but not from Form back to Class.
How to do?
.
Relevant Pages
- Re: Is a Thread appropriate?
... >> Now, if you are not doing dynamic loading of the DLL, you shouldn't need GetProcAddress. ... >> Note that it is foolish to create a char array, particularly a char array of a fixed size. ... >> If you need to declare a separate variable, ... without necessity. ... (microsoft.public.vc.mfc) - Re: VB .Net and Intel Visual Fortran 9
... having is that the VB program cannot load the DLL. ... subroutine) to accept an array from VB - in my case a 2D array. ... Declare Sub mmult Lib "test.dll" (ByRef i As Double, ByRef j As Double, ... (comp.lang.fortran) - Re: Marshalled structure size
... but unfortunately I don't have access to the DLL ... > odd index (int) element would be mis-aligned on an odd address, ... > I would suggest you inspect the C code and check how the array gets ... >>> The 32 comes from the fact that the interop marshaler reserves a buffer ... (microsoft.public.dotnet.languages.csharp) - VB .Net and Intel Visual Fortran 9
... having is that the VB program cannot load the DLL. ... subroutine) to accept an array from VB - in my case a 2D array. ... Declare Sub mmult Lib "test.dll" (ByRef i As Double, ByRef j As Double, ... (comp.lang.fortran) - Re: VB .Net and Intel Visual Fortran 9
... having is that the VB program cannot load the DLL. ... subroutine) to accept an array from VB - in my case a 2D array. ... Declare Sub mmult Lib "test.dll" (ByRef i As Double, ByRef j As Double, ... (comp.lang.basic.visual.misc) |
|