Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HowTo: COM connection
Message
 
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
ActiveX
Titre:
HowTo: COM connection
Divers
Thread ID:
00424991
Message ID:
00424991
Vues:
48
I have a COM dll that i connect to in VB using the following code.
VB Code: 
	VTable binding.  Add a project/reference to "LKTools"
		Dim ox As New LKTools.LiquidNet
/*/*/ OR /*/*/
	Late Binding
    		Dim ox 
    		Set ox = CreateObject("LKTools.LiquidNet")

CreateShare(strPath$, strShareName$, Optional strROPassword$, Optional strRWPassword$, Optional strRemark$) Returns Boolean
	retval = ox.createshare("c:\temp","temp") 
	retval = ox.createshare("c:\temp","temp","ROPWord","RWPWord","This shares comment")
How would I access ox's objects in VC++?
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform