-
I have create a ActiveX Dll with a Class module.
It preforms ok, when I am running it in a VB-Project-Group,
as soon as I reference the compiled dll it is terribly slow.
Does anybody know why, and how to fix it?
Details:
The class is intended to save data to a file. The data is provided by srting and string array parameters.
[Edited by rfo on 11-03-2000 at 09:03 AM]
-
It all depends on what your doing with it, and what your passing back and forth (amongst many other things).
Give us some more details.
td.
-
rfo, the mail addy you gave me bounced.
so...
ok, i get you.
Again, it could be any number of things.
If you want to send some source, i'll take a look.
td.
-
I know the reason now, but still no solution!
It is because I am passing a string array to a class
function. I need to pass at about 500 bytes to that function.
How do I do that effectively?
-
if you wanted to get narly, you could memcopy.
td.
-
I am going to make a couple of experiments. I'll post the results...
-
Believe it or not!
The reason was that I used the App-Version-Properties
(Major, Minor and Revison) for each entry of the string-
array parameter. These properties are obviously slow when used in a ActiveX-Project, as soon as it is compiled.
The same code runs in a fraction of a second, as opposed to
7 seconds when using the App-Version-Properties about 600 times!
[Edited by rfo on 11-06-2000 at 06:52 AM]