Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows VStudio 6 resolving symbols in DLL vs a .lib

Posted on 2009-07-13
3
Medium Priority
?
767 Views
Last Modified: 2013-12-29
I received a new version of a .lib and a .dll file from someone who has proprietary code we are not permitted source access to. I am using VStudio 6 with Fortran and am trying to resolve a symbol I know is contained within the newly supplied .dll file.

I know this because I executed

dumpbin /exports xxxx.dll

on it and the function I am trying to call is in the list of functions exported by the .dll

I can link against the .lib file but when I executed the program I get an

"The procedure entry point kvpcrypt3 could not be located in the dymnamic link library xxxx.dll


Am I missing something about how symbols within a dll get resolved? Do I need to do some kind of "install" of the dll. I simply rename the old xxxx.dll to xxx.dll_old and put the new .dll in its place in the same directory. Thanks in advance for assistance

0
Comment
Question by:smmsmm57
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:rmconard
ID: 24842972
Could be your programming environment.

If the DLL was developed in a WinXP environment using code and symbols only recognized by Windows NT/XP class computers, or done with software that only works on those computers, then trying to use the DLL on a Windows 95 machine simply won't work.

I'd get with the original programmer and ask then what they used to create the DLL and if any other resources or libraries are required to make it work.

But if you can't get the source code, you're fighting a losing battle.

-Ryan
0
 

Author Comment

by:smmsmm57
ID: 24843188
I don't know how Win 95 Operating system got "tagged" here......both enviroments are XP....

In the past they have used the same resources to create libs/dlls that have worked fine, I am under the impression I have to do something like "regsvr32 xxx.dll" so as to have the exe find the correct dll (and thereby the new routine within it).....

0
 
LVL 3

Accepted Solution

by:
rmconard earned 1500 total points
ID: 24843300
Oh, lol. Yea, I was pretty amazed you even got VS6 to run on Windows 95... all well.


But yes, you're right. You need to register the DLL with Windows so VS knows how to handle it. There is also code available (i've used it before) that can pull data from a DLL without registering.

Look on PSC for the source.

www.pscode.com and search under VS6.


-Ryan


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

610 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