I am new to Visual Basic. So the differences between C++ and VB are striking to me. But even this seems like too much. Here is what I am talking about:
I got a project out of source safe and I started working with it.
The Graphics associated to an image list had been compiled into the project but the actual graphic files were missing.
So they appeared in the project at first but then the buttons associated with the image...
User Profile
Collapse
-
Visual Basic ToolBar and ImageList
-
Pass String from Visual Basic GUI to a C++ DLL?
How do I declare a string and pass it from a Visual Basic GUI to a C++ DLL?
Now I am debugging successfully. I can debug either on the Visual Basic end or I can debug on the C++ side by using the DLL's project file and declaring the compiled VB code as the launching executable. I have narrowed the problem down to the way that I am declaring and passiing the string variables. -
Visual Basic Syntax
Here is my declarations:
...Code:Declare Function atxml_ReadCmds Lib "AtXmlApi_Dbg.dll" (ByVal resourceName As String, _ ByVal ReadBuffer As String, _ ByVal numberBytesToRead As String, _ ByRef numBytesRead As Integer) As Integer Global resourceName As String Global ReadBuffer As String * 255 Dim NBR As Integer 'Number of Bytes Read Dim numberBytesToRead As Integer
Last edited by Niheel; Jan 10 '06, 07:52 PM.
No activity results to display
Show More