473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

WTSAPI32 Dll entry point missing for WTSSendMessage

Hi,

I am calling a dll which is wrapper around WTSAPIs from vb.netapplication. I am trying to use WTSSendMessage api which sends amessage to the user based on session id. But I am getting errorthat DLL entry point not found in WTSAPI32.lib. MSDN says theapi is available and I have check the requirements too. Mysystem is WIN2k server with sp4 and citrix metaframe xp1. AnyIdeas ??

--------------------------------
From: Monty

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>W9RkVDZ3bUySpt6LPF4S/w==</Id>
Nov 20 '05 #1
1 3999

The function is available in ANSI and Unicode versions
(WTSSendMessageA and WTSSendMessageW). Make sure you use the Auto
modifier in your Declare statement.

Declare Auto Function WTSSendMessage ...

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: aneesh | last post by:
Hi all, I would like to know whether we can specify another function instead of main as entry point. Thanks Aneesh
2
by: Michael C | last post by:
I'm writing a program that calls the Windows Terminal Services API WTSEnumerateSessions. It works well for servers that I have "Query Information" rights to, but for servers that I don't have...
5
by: Mike in Santa Rosa | last post by:
I'm trying to get a simple c# app built that can launch/manipulate an excel workbook, sheet. I've chased down several examples and can't any of them to work. So I must be doing somethnig obviouslt...
5
by: TC | last post by:
I'm using VB.NET 2005. I need to create a DLL containing a function F(). A VB.NET application will reference the DLL by using a Declare statement. Declare Function F Lib "Foo.dll" (ByVal Woo As...
1
by: =?Utf-8?B?NyBCbGFkZXM=?= | last post by:
I'm installing my Samsung Camcorder on my dell computer. Tried installing software and drivers from both the cd and downloaded sw and drivers from the website. Already contacted Dell in regards to...
3
by: =?Utf-8?B?Sm9hY2hpbQ==?= | last post by:
I'm trying to call my C++/CLI dll from a C# library. I gives me the error unable to find an entry point named GetA Here's my C++/CLI file: #pragma once //#ifdef WRAPPERAPI_EXPORTS...
2
by: Rymfax | last post by:
I have an application that will be used on both XP and Vista. One of the things this application needs to do is determine the exact operating system it is on. To get the correct "flavor" of Vista...
1
by: Paul H | last post by:
Hey all. I have a problem with a DLL written in VC++ 6.00. There are 5 existing entry points, and I'm trying to create a new one. I've copied the syntax of the existing code - I have a method...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.