• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

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
0
Shay050799
Asked:
Shay050799
  • 3
  • 2
1 Solution
 
CJ_SCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now