|
-
Jan 27th, 2003, 10:23 AM
#1
Thread Starter
Lively Member
use DLL (developed in VB.NET)
I have developed a dll using Visual Basic .NET. Unfortunately some circumstances force me to develop a C++ programm. I think it must be possible to call my dll within that C++ code but don't know how.
-
Jan 27th, 2003, 12:03 PM
#2
Only using managed extensions or by creating a COM wrapper around the DLL. I'd prefer the managed extensions.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 28th, 2003, 05:00 AM
#3
Thread Starter
Lively Member
Unfortunately I'm not very familiar with C++ and therefore don't know exactly what to do now...
The DLL I developed in VB.NET is named ibs.dll and must receive different parameters (e. g. it is called by ibs.dll param1 param2 param3 ). The DLL I want to develop in C++ should do nothing but call my vb-DLL. If my DLL developped in C++ would be named ibscpp.dll I would like to call ibscpp.dll param1 param2 param3 which internal leads to ibs.dll param1 param2 param3.
How can I do that???
-
Jan 28th, 2003, 06:05 AM
#4
Hyperactive Member
Dlls in C++ are called by functions.
e.g.
Code:
int MyCDll(int e)
{
return e ^ 33;
}
This topic was discussed many times. Search the forum for C++ Dll's.
-
Jan 28th, 2003, 06:07 AM
#5
Hyperactive Member
Making a COM wrapper may be possible using #import statement in VC. I would not advise using .NET Dll's with C++ - too much hassle.
-
Jan 28th, 2003, 06:10 AM
#6
Thread Starter
Lively Member
I don't want to use a .NET DLL in C++ either. The problem is, my .NET DLL already exists. Now it must be called by a COOL:Plex program. But COOL:Plex does not call it. The only way that may be possible is a C++ DLL and that's why I thought that developing a C++ DLL might be a good idea..
Thx
-
Jan 28th, 2003, 07:31 AM
#7
Since when is a dll called with parameters
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|