no compile time license for rdo? 
Author Message
 no compile time license for rdo?

Hi,

When compiling a VB6 project with a reference to msrdo20.dll the compiler
says "Permission Denied" on a line like "With rdo.rdoEngine", which it
usually
does if there is no compile time license for the ActiveX DLL. Environment:
VB6 EE
SP5 and MDAC 2.6 msrdo20.dll V6.00.88.62 . It doesn't even look up any
license
key in the Registry (ntregmon). It compiles in debug mode (Ctrl-F5) but when
run "... Can't create Object ..."

The myst is, if it is compiled on an "older" box with VB6 EE SP4 and MDAC
2.5,
all compiles and runs fine. It also looks up
[HKEY_CLASSES_ROOT\Licenses\B1692F60-
23B0-11D0-8E95-00A0C90F26F8], which is present and presumeably correct on
both
boxes.

I didn't investigate if this is caused by SP5, MDAC2.6 or any "Microsoft
Critical
Update".

I didn't find anything on MSDN Online nor on Technet, so could someone help
me
please?

Here's a code snippet (cut&paste from the Helpfile) to reproduce:
Dim en As RDO.rdoEnvironment

Private Sub Form_Load()
With rdoEngine
    .rdoDefaultLoginTimeout = 20
    .rdoDefaultCursorDriver = rdUseOdbc
    .rdoDefaultUser = "Fred"
    .rdoDefaultPassword = ""
End With
Set en = rdoEnvironments(0)
'
'   Dump current rdoEnvironments collection
'   and display current properties where
'   possible.
'
For Each en In rdoEnvironments
    Debug.Print "LoginTimeout:" & en.LoginTimeout
    Debug.Print "CursorDriver:" & en.CursorDriver
    Debug.Print "User:" & en.UserName
   ' (Write-only) Debug.Print "Password:" & en.Password
Next
End Sub

Regards,
Martin Lercher
Singhammer dtSoftware GmbH



Sat, 25 Oct 2003 22:10:36 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Design-Time license needed at run-time ?

2. Another Out of Memory problem, this time it's in compile time

3. Missing License for RDO?

4. RDO Licensing

5. RDO Licensing

6. unable to compile - licenses.licx

7. Compiling and licensing question

8. Rego or license numbers in VBasic .EXE compiles?

9. compiling and rdo denied permissions

10. RDO 2.0 Compile problem

11. Problems compiling with RDO

12. Permission denied with RDO when compiling

 

 
Powered by phpBB® Forum Software