-
Dynamically Load Components From Packages at Run-Time
I read the 10 min solution on "Dynamically Load Components From Packages at Run-Time". however, I can't get my program work in delphi. I got the access violation error. Anyone can help me?
var
ADOConnection1 :TADOConnection;
aClass := FindClass('TdmDataModule');
if aclass <> nil
begin
ADOConnection1 := TADOConnection(TComponentClass(aclass).Create(Self));
ADOConnection1.Close; //it never pass thru this line!!!!
end;
-
evwong,
This is a very old article so there may be versioning issues. Did you try writing directly to the author, Bob Swart?
Lori
-
No I haven't. in what way that I could write to him? can't find his email.....
Similar Threads
-
By dhaya in forum Database
Replies: 11
Last Post: 08-25-2003, 05:24 PM
-
By Clint Bates in forum ASP.NET
Replies: 1
Last Post: 01-09-2002, 05:16 PM
-
By DH in forum VB Classic
Replies: 1
Last Post: 11-07-2001, 02:43 PM
-
By Miha Markic in forum .NET
Replies: 12
Last Post: 01-29-2001, 04:57 AM
-
By rkbnair in forum VB Classic
Replies: 0
Last Post: 07-18-2000, 03:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|