Solved

C++ dll in VB

Posted on 2000-04-27
2
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

751 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