• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

C++ dll in VB

How do i make a vb variable get passed into C++ and then back out (in arrays) them types i want to pass are Strings and Long integers (im trying to built a netserverenum wrapper :))
1 Solution
Depending what it is that you want to access you can also use the resource files to access stuff that is normally defined in a ".h" file

The RC.EXE file located in the \TOOLS\RESOURCE directory can be
used for 32-bit resources used in applications under Windows 95 or later and
Windows NT 3.51 or later.

The resource sample project (ATM.VBP) in the \SAMPLES\RESOURCE directory of
your Visual Basic installation demonstrates most of the functionality
described in this file. The ATM.RC file is the resource definition file used
to create the .RES file for the ATM project. You won't be able to recompile
the ATM.RC without removing the references to bitmaps, sound files and
cursors not shipped in Visual Basic version 4.0

The Resource Compiler compiles the resource definition file and the resource
files (binary files such as icon, bitmap, and cursor files) into a binary
resource (.RES) file.

Resources can be divided into two groups:

- String resources (text strings such as "Hello World").
- Binary resources (icons, bitmaps, cursors, sounds, video, and so forth).

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now