Solved

installshield ?

Posted on 2002-06-06
5
492 Views
Last Modified: 2013-11-14
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
Comment
Question by:Shay050799
  • 3
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 50 total points
ID: 7061324
y = UseDLL( WINSYSDIR ^ "ComCtl32.dll" );
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7061325
commlib.dll of course :-/
0
 
LVL 3

Author Comment

by:Shay050799
ID: 7062193
well i figured it out...but you deserve the points :-)
thanks
0
 
LVL 22

Expert Comment

by:CJ_S
ID: 7062371
What was the eventual solution you used?

thnx for the A!

CJ
0
 
LVL 3

Author Comment

by:Shay050799
ID: 7062378
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an explanation of a simple data model to help parse a JSON feed
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question