Page 1 of 1 1
Topic Options
#90139 - 2002-12-02 06:35 PM access dll function
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello.

Is it possible to access a function within a dll without registering the dll.
Something like a createobjekt(xyz.dll)

Is there a way?

Regards
Danny

Top
#90140 - 2002-12-02 06:37 PM Re: access dll function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Danny,

Don't think so..

Usually when you register a DLL there are registry entries added that are needed for future use.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#90141 - 2002-12-02 06:37 PM Re: access dll function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
haven't seen.
well rundll32.exe could do that but you can't do much with it.
_________________________
!

download KiXnet

Top
#90142 - 2002-12-02 06:38 PM Re: access dll function
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Additionally, the DLL that you try to access must support the COM interface (which in turn requires the registration). You cannot access just any DLL.
_________________________
There are two types of vessels, submarines and targets.

Top
#90143 - 2002-12-02 06:49 PM Re: access dll function
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hi

Thank you for your answer.
The Problem is, i whant to use a function within a dll.
But I donīt want to install this dll on all of our citrix servers...

Regards
Danny

Top
#90144 - 2002-12-02 06:54 PM Re: access dll function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
What DLL?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#90145 - 2002-12-02 06:55 PM Re: access dll function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what function?
_________________________
!

download KiXnet

Top
#90146 - 2002-12-02 07:12 PM Re: access dll function
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Does the DLL support COM?
_________________________
There are two types of vessels, submarines and targets.

Top
#90147 - 2002-12-02 07:20 PM Re: access dll function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
quickie could be, don't install it, just load and unload [Smile]

dunno if you have ever used unix but on those machines there are parts called modules which can be loaded at the beginning of script if needed.

you could do the same by executing in your script:
regsvr32 kixforms.dll /i /n /s

if it can export it...
mm, not all dll's can be loaded with that anyway.
have to test.
_________________________
!

download KiXnet

Top
#90148 - 2002-12-02 09:51 PM Re: access dll function
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Danny had posted earlier looking for a way to determine the vesion of the Citrix client. I referred him to the WTSManager.dll but it has to be registered as it is COM. Danny has 40 terminal servers.

Richard Howarth however did post a CLI utility that could be run without the need to register.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#90149 - 2002-12-03 02:30 AM Re: access dll function
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Hmm..

What about?

code:
$CIT = "C:\Program Files\Citrix\ICA Client\PN.EXE"
IF EXIST($CIT)
$citrixfilevver = GETFILEVERSION($CIT,"FILEVERSION")
?$citrixfilevver
ENDIF

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#90150 - 2002-12-03 02:31 AM Re: access dll function
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
only problem is that it's a server that needs to do the check.
_________________________
!

download KiXnet

Top
#90151 - 2002-12-03 07:20 AM Re: access dll function
wandan Offline
Getting the hang of it

Registered: 2000-10-05
Posts: 50
Hello all.

Thank you for your good answers.
I fount the ctxcinfo.exe to do my client version check.

Works fine. Thank you.

Regards
Danny

Top
Page 1 of 1 1


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.062 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org