I've got Visual Studio 6.0 and I'm working on a Visual Basic applicaiton.
There a couple parts that really require C.
I've done C programming on a mainframe but nothing on a PC.
So I'm trying to find an example of how to write a function that
has object visibility in VB.
The functionality I want to implement is quite straightforward.
VB will pass me 2 huge byte arrays and about 10 numerical values
that 'tell me how to proceed'. I'll then make substantial changes
to the the arrays and return. Only the array contents need change
not the size.
It would be nice if I could write the C stuff such that VB could do
dim foo as new foo_obj
foo.valA = bla
foo.valN = Xbla
foo.process(array1,array2)
And I could provided a function that VB could call to update a progress bar.
But I'll settle for much less than all that.
Anyone know where an explaination/example can be found?
I've done a little C++ too so if it's easier in C++ no problem.