Solved

C++ dll in VB

Posted on 2000-04-27
2
157 Views
Last Modified: 2010-08-05
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 :))
0
Comment
Question by:GreatMikey
2 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 100 total points
ID: 2756510
0
 
LVL 1

Expert Comment

by:lochiano
ID: 2756740
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).
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question