Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Non ActiveX DLL and VBA/MS Access
  FAQ FAQ  Forum Search   Register Register  Login Login

Non ActiveX DLL and VBA/MS Access

 Post Reply Post Reply
Author
Message
researchassist View Drop Down
Beginner
Beginner


Joined: 23 Nov 11
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote researchassist Quote  Post ReplyReply Direct Link To This Post Topic: Non ActiveX DLL and VBA/MS Access
    Posted: 23 Nov 11 at 10:38AM

Hi,

we are about to develop a programm that has to run in an  environment without admin privileges, so we won't be able to register the ActiveX-DLL.

Is it possible to use the non ActiveX-DLL in our VBA-program?

Greeting

CHris

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 23 Nov 11 at 6:47PM
Hi Chris!

ActiveX is the better solution but a non-ActiveX-dll works in the described environment, too.
VBA doesn't have problems calling a "normal" dll put the dll in the same directory where your app is and it will work ... and i should know it ;-)
If you need things about how to call please post it here.

Cheers and welcome here,
Ingo

Back to Top
researchassist View Drop Down
Beginner
Beginner


Joined: 23 Nov 11
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote researchassist Quote  Post ReplyReply Direct Link To This Post Posted: 24 Nov 11 at 2:22PM

Hi Ingo,

thanks for the answer. Could it be possible to use the ActiveX-DLL without registering it? Or is it better to use the other?

Originally posted by Ingo Ingo wrote:

If you need things about how to call please post it here.

It would be great if you could help us out here. Thank you.

Best regards

CHris



Edited by gudat - 24 Nov 11 at 2:23PM
Back to Top
Wheeley View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 Oct 05
Location: United States
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wheeley Quote  Post ReplyReply Direct Link To This Post Posted: 26 Nov 11 at 2:21AM
You can't use the activex dll without registering it. You need to use the regular non-actives dll if you are going to. The calling program entry points are different between the 2.

Wheeley
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 26 Nov 11 at 12:10PM
I have worked on for some time.

It is possible to link and load to the standard QPL DLL version but I cannot get strings to pass to and from the library successfully.

I can get VBA to load the standard DLL and calling CreateLibrary seems to work.  Call QP.UnlockKey fails.  I have tried all combinations of ByRef, ByVal, String, Variant ...  using QP.UnlockKeyA ... but the strings returned by QPL are always empty.  It could be because the strings may actually be BSTR's.


Back to Top
researchassist View Drop Down
Beginner
Beginner


Joined: 23 Nov 11
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote researchassist Quote  Post ReplyReply Direct Link To This Post Posted: 30 Nov 11 at 12:59PM

Hi,

anybody any ideas?

Help is greatly appreciated.

Best regards

CHris

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store