Click to See Complete Forum and Search --> : How to program a DLL in VB 5.0?
Jaime
October 10th, 1999, 01:01 AM
Hi all...
I want to program a DLL in VB 5.0 with only 1 function which is to generate reports by using Crystal Reports and to be called from a VC++ program...
How can I do it?
Thanks
Jaime
Vlad Chapranov
October 10th, 1999, 09:57 AM
Start with New Project, chose ActiveX DLL project, add your function to the class (it's created in a project by default) as a method, make *.DLL (compile). That's it.
Vlad
Jaime
October 10th, 1999, 11:07 AM
Thanks...
And is that function immediately exported so that I can use it in my VC++ program? Do you know how to use Crystal Reports that way? I think that way I cannot use Crystal Reports control.
Jaime
Vlad Chapranov
October 10th, 1999, 11:36 AM
I do not program VC++, but from VB I know, that when you compile DLL, it's registered automatically and it's available for all programs on this machine, in VB you can find it in Reference Dialog. I beleive that VC has some tool to add references to DLL.
I've never used DLLs with Crystal Control, so do not have anything to say.
Vlad
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.