Solved

Can not read all functions in Windows API

Posted on 2015-01-13
2
82 Views
Last Modified: 2015-01-15
i have a dll with function to call but some of the functions are not available.
i used depends utility to ensure the functions are in the dll and they are.
but in vs2010 function are not available
functions.png
VSFunctions.png
could anyone advise why
0
Comment
Question by:Jason
[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 Comments
 
LVL 11

Accepted Solution

by:
louisfr earned 500 total points
ID: 40548375
The first picture looks like functions of an unmanaged DLL.
The second is from a VB.NET program, which deals with managed code.
That's two distinct worlds. To use an unmanaged DLL in VB, you need to declare the functions you want to import using a Declare statement or the DllImport attribute.
0
 

Author Closing Comment

by:Jason
ID: 40550977
Thks Heaps
Sometime you just need to be steered in the right direction :)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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 article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

630 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