Hello everyone, first to congratulate for forum. \r\n \r\nI like to use a dll made in C + + from Visual Basic, I have a file with the definitions of functions. \r\n \r\nAre these 3 functions that I use but I really do not get it to work. \r\n \r\nFunctions c + +. \r\n \r\n
So I have intention to implement in vb6 but I finish work.
Quote:
'unsigned char DLLENTRY openMega(char * commPort,char useMem,char * filename);
Public Declare Function openMega Lib "D:\Relojes Palomas\pruebaReloj\megaint.dll" _
(ByVal commPort As String, _
ByVal useMem As String, _
ByVal filename As String) As String
'unsigned char DLLENTRY readMega(unsigned int race,unsigned int sound);
Public Declare Function readMega Lib "D:\Relojes Palomas\pruebaReloj\megaint.dll" _
(ByVal race As Integer, _
ByVal sound As Integer) As String
'unsigned char DLLENTRY getMegaData(void * p);
Public Declare Function getMegaData Lib "D:\Relojes Palomas\pruebaReloj\megaint.dll" _
(ByRef p As Integer) As String
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe