June 21st, 2002, 12:47 am
bsv, I've seen you question in another thread on it's own and I am obviously being stupid but don't understand what is where! Could you enlarge and I'll answer it.Onuk,Sure - COM, the only type of dll VB6 can write, was created to allow different types of programming language to talk to each other in a common format which is platform independent. So because you can use "declare" in VB(A) code to access a a C++ dll (with some messing about with the types) try not to use COM within the calculations because it creates a overhead.I'd write everything in VBA as proof of concept (and calculations <img src="i/expressions/face-icon-small-happy.gif" border="0"> and migrate to VB/C++ slowley. Note that you will find that alot of the Excel 97 "Application." routines are very slow eg. percentile - we were very suprised too.VB6 and C++ v6 use the same compiler and so the differences in speed are not always very noticable if you don't use the facilities offered by the c++ language. VBA to VB usually gives a 40 times increase in speed and it is usually a cut and paste transfer BUT VBA to C++ is a rewrite opening you up to systemic errors.I'm language agnostic, OK a slight preference to C++, but I can usually persuade IT to take the VB on but it is much more difficult with C++. I want to do risk not support applications I have written. VB is quick to write esp for front ends.As a side issue I'd also suggest having look at the .net stuff C# is a halfway house between VB and C++ with the speed of C++. The SDK with compiler is free. There's a thread round here somewhere where it was discussed rather well by JamesBattle (see "what are the advantages of Visual C++ over VB?")Good luck
Last edited by
OTM on June 20th, 2002, 10:00 pm, edited 1 time in total.