Thread View: borland.public.cppbuilder.nativeapi
1 messages
1 total messages
Started by Stan R.
Thu, 06 Jul 2006 04:55
Loading com dll?
Author: Stan R.
Date: Thu, 06 Jul 2006 04:55
Date: Thu, 06 Jul 2006 04:55
35 lines
2210 bytes
2210 bytes
Hello. I am developing a Com DLL in Visual Studio 2003 .NET, more
specifically, using the Perl Dev Kit add on which allows me to compile
Perl 5 code into EXE, Services, and DLLs (using COM.)
In the example provided with the PDK, the Com Object is invoked (in a
sample vbScript) as so:
Dim objMyControl
Set objMyControl = CreateObject("My.Control")
This of course works only after running the `regsvr32 MyControl.dll` at
the command line.
So my question is, how do you load a COM dll in BCB (using BCB 5 Ent) ?
Also, is it possible ot load the DLL straight in the program without
having to register it with regsvr32?
If not, then what is the equivilent method for the VBS code above?
I really hope this can work because if I can access Perl function in
this way it will save me a lot of coding for a text processing
application i'm writing. I have a whole slew of routines writen in Perl
that handle the massive jobs with ease, so you can see why I wanted some
way to use them in my C++/Win32 applications.
P.S.
I found BCB to be a great app, always loaved it, but I could never for
thel ife of me understand why the VCL didn't include any RegEx? I know
about the PCRE Lib for C++, but if you've ever used RegEx in Perl 5, you
will groan in anguish looking at equivilent coding done with PCRE :-)
--
Stan
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads