DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Dynamically Load Components From Packages at Run-Time

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Posts
    2

    Question 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;

  2. #2
    evwong,

    This is a very old article so there may be versioning issues. Did you try writing directly to the author, Bob Swart?

    Lori

  3. #3
    Join Date
    Oct 2005
    Posts
    2
    No I haven't. in what way that I could write to him? can't find his email.....

Similar Threads

  1. query tuning
    By dhaya in forum Database
    Replies: 11
    Last Post: 08-25-2003, 05:24 PM
  2. dynamically creating imagebutton at run time
    By Clint Bates in forum ASP.NET
    Replies: 1
    Last Post: 01-09-2002, 05:16 PM
  3. run time error "3633"???
    By DH in forum VB Classic
    Replies: 1
    Last Post: 11-07-2001, 02:43 PM
  4. Replies: 12
    Last Post: 01-29-2001, 04:57 AM
  5. ADO connection at run time
    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center