installshield ?

hi,
i m trying to call the following function inside installshield developer 7.0
y = UseDLL("c:\winnt\system32\commlib.dll");

the function always return -1 (error) the DLL is a windows DLL, all the dependencies are inside system32.


any ideas ?
Shay
LVL 3
Shay050799Asked:
Who is Participating?
 
CJ_SConnect With a Mentor Commented:
y = UseDLL( WINSYSDIR ^ "ComCtl32.dll" );
0
 
CJ_SCommented:
commlib.dll of course :-/
0
 
Shay050799Author Commented:
well i figured it out...but you deserve the points :-)
thanks
0
 
CJ_SCommented:
What was the eventual solution you used?

thnx for the A!

CJ
0
 
Shay050799Author Commented:
don't laugh but aparently i needed to add backslashes to the path
c:\\winnt\\system32...)

the compiler doesn't even warn you about them :-)

i posted another question on the same subject see if you can help me out there

Shay
0
All Courses

From novice to tech pro — start learning today.