Pls remove this thread.
-
Friday, June 29, 2012 4:39 PMPls remove this thread.
- Edited by JessicaLopez Friday, June 29, 2012 4:42 PM
- Edited by JessicaLopez Friday, December 28, 2012 11:35 AM
- Edited by JessicaLopez Friday, December 28, 2012 11:42 AM
All Replies
-
Tuesday, July 03, 2012 7:34 AM
Hi Jessica,
Why you declare this different:
Dim SNR As Double
Dim BER As Single?
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question. -
Tuesday, July 03, 2012 7:21 PM
Some of the types aren't correct (note that "BOOL" in C++ is not a boolean, but an integer) - use:
Public Lock As Integer ... Public BitRate As UInteger ... Public BER As Double
Convert between VB, C#, C++, & Java (http://www.tangiblesoftwaresolutions.com)
Instant C# - VB to C# Converter
Instant VB - C# to VB Converter- Edited by Dave Doknjas Tuesday, July 03, 2012 7:22 PM
-
Friday, July 06, 2012 3:07 AM
Hi,
May it be this?
You have defined a structure pointer in the function: PSEARCH_RESULT, it points to a stucture, not an array. Please try it.
Best regards,
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question. -
Monday, July 09, 2012 1:30 AM
Hi,
look at this:
BOOL (WINAPIV* BLScan2)(DWORD freq_start, DWORD freq_stop, DWORD pol, DWORD lof1, DWORD lof2, DWORD lofsw, PSEARCH_RESULT pSearchResult, PDWORD pTpNum, BLSCANCALLBACK lpFunc) = NULL;
Do you find "PSEARCH_RESULT"?
Based on the typedef, it is a pointer, a pointer pointed to a structure, but you passed a stucuture array in this function.
I clear?
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question. -
Tuesday, July 10, 2012 2:28 AM
Hi,
Please look at here: http://stackoverflow.com/questions/2527014/how-do-i-marshal-a-pointer-to-an-array-of-pointers-to-structures
Although it is a C# code sample, but I believe you can learn what you want.
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question. -
Tuesday, August 14, 2012 6:50 AM
hi,
Here are some related reference, hope could make some help:
http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/68bdffb5-7977-44f9-8351-e33fbb32c196/
http://bytes.com/topic/net/answers/658235-call-visual-c-dll-using-vb-net
Also, you could visit the below link to see the various paid support options that are available to better meet your needs if you requires a more in-depth level of support.
http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Regards

