Click here to Skip to main content
15,894,540 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need to extract open application window title bar Pin
Dave Kreskowiak26-Nov-04 3:41
mveDave Kreskowiak26-Nov-04 3:41 
GeneralRe: Need to extract open application window title bar Pin
Member 91913028-Nov-04 16:38
Member 91913028-Nov-04 16:38 
GeneralRe: Need to extract open application window title bar Pin
Dave Kreskowiak28-Nov-04 17:20
mveDave Kreskowiak28-Nov-04 17:20 
GeneralRe: Need to extract open application window title bar Pin
Member 91913028-Nov-04 18:33
Member 91913028-Nov-04 18:33 
GeneralRe: Need to extract open application window title bar Pin
Dave Kreskowiak29-Nov-04 1:26
mveDave Kreskowiak29-Nov-04 1:26 
GeneralWant to read from an already opened Notepad file Pin
amitranjanmishra25-Nov-04 21:48
amitranjanmishra25-Nov-04 21:48 
GeneralRe: Want to read from an already opened Notepad file Pin
Dave Kreskowiak26-Nov-04 3:39
mveDave Kreskowiak26-Nov-04 3:39 
GeneralCalling a c++ dll Pin
Cedric Moonen25-Nov-04 21:47
Cedric Moonen25-Nov-04 21:47 
Hello !!
I'm very new to VB programming and I would like to call a function I've written inside a dll. The function must receive a pointer to a Byte Array. So I suppose I have to declare something like that in VB:
Public Declare Function MyFunc Lib "MyDll.dll" (ByRef Data As Byte)

Ok, that's work fine but later when I want to call the function and send parameter, this doesn't work:

    Dim arrData(0 To 1) As Byte<br />
arrData(0) = SomeData<br />
MyFunc(arrData)<br />


But this doesn't work: comple error ByRef argument type mismatch.

And I tried other things but nothing works... Sometimes the program compile and call the function but if I debug my dll, I can see that the data that is sent is not correct....

Any idea of how I can do that ?
Thanks
GeneralColor Palette Pin
Sai Ashok25-Nov-04 16:03
Sai Ashok25-Nov-04 16:03 
GeneralRe: Color Palette Pin
Dave Kreskowiak26-Nov-04 3:34
mveDave Kreskowiak26-Nov-04 3:34 
Generalcode documentation Pin
Paebbels25-Nov-04 9:20
Paebbels25-Nov-04 9:20 
GeneralRe: code documentation Pin
Colin Angus Mackay25-Nov-04 22:45
Colin Angus Mackay25-Nov-04 22:45 
GeneralRe: code documentation Pin
Paebbels26-Nov-04 4:33
Paebbels26-Nov-04 4:33 
GeneralRe: code documentation Pin
Dennis C. Dietrich26-Nov-04 5:15
Dennis C. Dietrich26-Nov-04 5:15 
GeneralRe: code documentation Pin
Paebbels26-Nov-04 8:34
Paebbels26-Nov-04 8:34 
GeneralCan't set a link to a exe Project Pin
Paebbels25-Nov-04 9:14
Paebbels25-Nov-04 9:14 
GeneralRe: Can't set a link to a exe Project Pin
Dennis C. Dietrich25-Nov-04 9:46
Dennis C. Dietrich25-Nov-04 9:46 
GeneralSending mail Pin
spyatnoon25-Nov-04 8:57
spyatnoon25-Nov-04 8:57 
GeneralCommand button: put text right next to icon Pin
shinay25-Nov-04 7:34
shinay25-Nov-04 7:34 
Generalcall the click event of a button Pin
jlawren725-Nov-04 6:55
jlawren725-Nov-04 6:55 
GeneralRe: call the click event of a button Pin
Tom John26-Nov-04 4:53
Tom John26-Nov-04 4:53 
Generalnotepad finding Pin
pranav.net25-Nov-04 6:48
pranav.net25-Nov-04 6:48 
GeneralRe: notepad finding Pin
Pablo.ar25-Nov-04 17:49
Pablo.ar25-Nov-04 17:49 
GeneralConcatenating multiple datatables Pin
JoeContreras25-Nov-04 4:27
JoeContreras25-Nov-04 4:27 
Questioncombo box item values - Possible? Pin
cwayman25-Nov-04 2:21
cwayman25-Nov-04 2:21 

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.