|
-
Apr 9th, 2000, 07:02 AM
#1
Thread Starter
Frenzied Member
I've got some fairly hardcore maths to do on some very large arrays and I was thinking it might be faster to do it using a C++ backend for the maths.
I can write the source code for the functions themselves but I have absolutley no Idea how to connect to them with VB.
basicly how do I go from something like this
Code:
int CalculateArray (long* TargetArray,int Param1, int Param2)
{
int retval = 0;
//Lots of C++ Code
return retval;
}
to something I can connect to like I connect to the API
thanks in advance
-
Apr 9th, 2000, 07:14 AM
#2
Lively Member
How about using c++ to create a .dll and connect to it through VB. I have no exp. with c++, but from what i do know, it makes no diff. to vb what lang. a .dll was written in.
-
Apr 9th, 2000, 07:39 AM
#3
I found a Customized VB Linker, that linked VB object files with C++ object files.. I forgot where I found it (I didn't ofcourse download it) but if I find it agian, i'll post the link here, you may be able to compile the C++ code and then link the obj file with VB's file...
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
|