Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5025 > unrolled thread

The ordinal 160 could not be located in the dynamic link library USER32.DLL

Started byGlenn Keeler <glennkeeler@shaw.ca>
First post2013-04-07 19:26 -0700
Last post2013-04-09 14:36 +0200
Articles 12 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  The ordinal 160 could not be located in the dynamic link library USER32.DLL Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-07 19:26 -0700
    Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-07 20:35 -0700
    Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-07 20:57 -0700
    Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-08 06:44 +0200
      Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-07 21:53 -0700
        Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-08 08:09 +0200
    Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL D.J.W. van Kooten <public@ic2remove.this.com> - 2013-04-08 12:11 +0200
      Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL Glenn Keeler <glennkeeler@shaw.ca> - 2013-04-08 07:52 -0700
        Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL "Gerhard Bunzel" <g.bunzel@domonet.de> - 2013-04-09 09:32 +0200
        Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL D.J.W. van Kooten <public@ic2remove.this.com> - 2013-04-09 16:42 +0200
    Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL Robert Pope <cooeee@gmail.com> - 2013-04-09 03:17 -0700
      Re: The ordinal 160 could not be located in the dynamic link library USER32.DLL "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-09 14:36 +0200

#5025 — The ordinal 160 could not be located in the dynamic link library USER32.DLL

FromGlenn Keeler <glennkeeler@shaw.ca>
Date2013-04-07 19:26 -0700
SubjectThe ordinal 160 could not be located in the dynamic link library USER32.DLL
Message-ID<5309d687-31b5-4863-a5fc-780301c6e9ac@googlegroups.com>
I am moving (finally) my development from CAVO 2.5 to 2.8 SP3. This is on a machine running Windows 7 Ultimate. Having gotten rid of all the errors the somewhat stricter compiler showed me, I am trying to execute the app from the IDE. However, I get the following error:

The ordinal 160 could not be located in the dynamic link library USER32.DLL

Does anyone have any suggestions for me on where to hunt down this problem?

Thanks.

[toc] | [next] | [standalone]


#5026

FromGlenn Keeler <glennkeeler@shaw.ca>
Date2013-04-07 20:35 -0700
Message-ID<0dbd58ce-590d-4c5d-98b2-cf99e54413bb@googlegroups.com>
In reply to#5025
On Sunday, April 7, 2013 8:26:43 PM UTC-6, Glenn Keeler wrote:
> 
> The ordinal 160 could not be located in the dynamic link library USER32.DLL
> 

I should mention that my app uses a manifest based on Paul Piko's example to enable XP styles. I don't know if that is related, but as the manifest in part points to the user32.dll, I thought I should note this.

[toc] | [prev] | [next] | [standalone]


#5027

FromGlenn Keeler <glennkeeler@shaw.ca>
Date2013-04-07 20:57 -0700
Message-ID<70b1cc9b-32ac-4dd6-931e-cf9a3773592d@googlegroups.com>
In reply to#5025
On Sunday, April 7, 2013 8:26:43 PM UTC-6, Glenn Keeler wrote:

OK, so I am talking to myself by updating my own posts. However, I have tried deleting all the manifest related entries and I have the same issue.

So that is not it.

[toc] | [prev] | [next] | [standalone]


#5028

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-04-08 06:44 +0200
Message-ID<asf08rFg97nU1@mid.individual.net>
In reply to#5025
Hi Glenn,

> I am moving (finally) my development from CAVO 2.5 to 2.8 SP3. This
> is on a machine running Windows 7 Ultimate. Having gotten rid of all
> the errors the somewhat stricter compiler showed me, I am trying to
> execute the app from the IDE. However, I get the following error:
> 
> The ordinal 160 could not be located in the dynamic link library
> USER32.DLL

try a global search for user32.dll - maybe you are using a _dll
statement pointing to user32.dll.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#5029

FromGlenn Keeler <glennkeeler@shaw.ca>
Date2013-04-07 21:53 -0700
Message-ID<1ac3a863-b342-409d-88bb-cb6e5f425b59@googlegroups.com>
In reply to#5028
On Sunday, April 7, 2013 10:44:11 PM UTC-6, Wolfgang Riedmann wrote:
> Hi Glenn,
> 
> try a global search for user32.dll - maybe you are using a _dll
> 
> statement pointing to user32.dll.
> 
> 
> 
> Wolfgang

Thanks Wolfgang. I have a few copies of user32.dll. All but one are the same version, and I have renamed the one. The error continues.

I am not intentionally calling this dll, but the Win32 API Library does call it, and is included in my app.

I should also note that due to a catastrophic Windows failure, I am rebuilding this machine. VO was NOT reinstalled -- perhaps there are registry entries or something that I am missing due to that?

[toc] | [prev] | [next] | [standalone]


#5030

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-04-08 08:09 +0200
Message-ID<asf581Fh8kcU1@mid.individual.net>
In reply to#5029
Hi Glenn,

> > try a global search for user32.dll - maybe you are using a _dll
> > 
> > statement pointing to user32.dll.
> > 
> Thanks Wolfgang. I have a few copies of user32.dll. All but one are
> the same version, and I have renamed the one. The error continues.

no, you shouldn't search on your disk, but in VO's repo for a _DLL
statement pointing to user32, in one of your apps or libraries.

The Win32 API library is ok.

> I should also note that due to a catastrophic Windows failure, I am
> rebuilding this machine. VO was NOT reinstalled -- perhaps there are
> registry entries or something that I am missing due to that?

VO 2.8 does not need any registry entries - it's all in configuration
files.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#5031

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-04-08 12:11 +0200
Message-ID<nq55m8l4clr64iqu18gk913pfi5ebgg8sm@4ax.com>
In reply to#5025
On Sun, 7 Apr 2013 19:26:43 -0700 (PDT), Glenn Keeler
<glennkeeler@shaw.ca> wrote:

Hello Glen,

>The ordinal 160 could not be located in the dynamic link library USER32.DLL

Some part of your progam is using an old DLL.

Use Dependency Walker (http://www.dependencywalker.com/) to check out
which. You will find a (most likely 3 party) DLL still based on the
older VO version, which should be replaced with a 2.8 version to get
rid of the error.

Dick

[toc] | [prev] | [next] | [standalone]


#5032

FromGlenn Keeler <glennkeeler@shaw.ca>
Date2013-04-08 07:52 -0700
Message-ID<fb8801bd-c455-4163-bb64-40bed0823128@googlegroups.com>
In reply to#5031
On Monday, April 8, 2013 4:11:07 AM UTC-6, D. J. W. van Kooten wrote:
> On Sun, 7 Apr 2013 19:26:43 -0700 (PDT), Glenn Keeler
> 
> Some part of your progam is using an old DLL.
> 
> Use Dependency Walker (http://www.dependencywalker.com/) to check out
> which. You will find a (most likely 3 party) DLL still based on the
> older VO version, which should be replaced with a 2.8 version to get
> rid of the error.

Thanks Dick. This has moved me a little further on. 

I think I have found the problem in VOLIB25. Specifically, I think it is the following:

_DLL FUNC DrawIconEx(hDC AS PTR, nLeft	AS INT,nTop AS INT, hIcon AS PTR, nxWidth AS INT, nyWidth AS INT, ;
	nStepAniCursor AS DWORD, hbrFlickerFreeDraw 	AS PTR, dwFlags AS DWORD ) AS LOGIC PASCAL:USER32.DrawIconEx#160

Is there a version of VOLib25 for 2.8 somewhere? Or do I need to rebuild the things I use in this myself?

[toc] | [prev] | [next] | [standalone]


#5033

From"Gerhard Bunzel" <g.bunzel@domonet.de>
Date2013-04-09 09:32 +0200
Message-ID<kk0g5q$sq7$1@news.m-online.net>
In reply to#5032
Glenn,

when I open USER32.DLL with Dependency Walker, I get ordinal #184 for 
DrawIconEx.

Change your code to:
....AS LOGIC PASCAL:USER32.DrawIconEx#184


...not tested....


HTH

Gerhard




"Glenn Keeler" <glennkeeler@shaw.ca> schrieb im Newsbeitrag 
news:fb8801bd-c455-4163-bb64-40bed0823128@googlegroups.com...
> On Monday, April 8, 2013 4:11:07 AM UTC-6, D. J. W. van Kooten wrote:
>> On Sun, 7 Apr 2013 19:26:43 -0700 (PDT), Glenn Keeler
>>
>> Some part of your progam is using an old DLL.
>>
>> Use Dependency Walker (http://www.dependencywalker.com/) to check out
>> which. You will find a (most likely 3 party) DLL still based on the
>> older VO version, which should be replaced with a 2.8 version to get
>> rid of the error.
>
> Thanks Dick. This has moved me a little further on.
>
> I think I have found the problem in VOLIB25. Specifically, I think it is 
> the following:
>
> _DLL FUNC DrawIconEx(hDC AS PTR, nLeft AS INT,nTop AS INT, hIcon AS PTR, 
> nxWidth AS INT, nyWidth AS INT, ;
> nStepAniCursor AS DWORD, hbrFlickerFreeDraw AS PTR, dwFlags AS DWORD ) AS 
> LOGIC PASCAL:USER32.DrawIconEx#160
>
> Is there a version of VOLib25 for 2.8 somewhere? Or do I need to rebuild 
> the things I use in this myself?
> 

[toc] | [prev] | [next] | [standalone]


#5036

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-04-09 16:42 +0200
Message-ID<e3a8m8pn7pbv1blgl228md0161njm2718j@4ax.com>
In reply to#5032
On Mon, 8 Apr 2013 07:52:52 -0700 (PDT), Glenn Keeler
<glennkeeler@shaw.ca> wrote:

Hello Glen,

>Is there a version of VOLib25 for 2.8 somewhere? Or do I need to rebuild the things I use in this myself?

I am not sure what's in it, but I would personally leave VoLib25 out
and see if you can replace it with (probably) default methods in 2.8
or any more recent alternative.

Dick

[toc] | [prev] | [next] | [standalone]


#5034

FromRobert Pope <cooeee@gmail.com>
Date2013-04-09 03:17 -0700
Message-ID<9e55348d-9ef5-49ad-aa89-3d6934897245@googlegroups.com>
In reply to#5025
In case it helps, this is how it is defined in my repo. I'm not sure if the ordinal is being hidden or has actually been omitted. 

_DLL FUNCTION DrawIconEx(hdc     AS PTR, xLeft AS INT, yTop AS INT, hIcon AS PTR,;
	cxWidth AS INT, cyWidth AS INT, istepIfAniCur AS DWORD,;
	hbrFlickerFreeDraw AS PTR, nFlags AS DWORD) AS LOGIC PASCAL:USER32.DrawIconEx


From: WinUser of Win32 API Library

[toc] | [prev] | [next] | [standalone]


#5035

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-04-09 14:36 +0200
Message-ID<asigaaFa2hcU1@mid.individual.net>
In reply to#5034
Hi,

> In case it helps, this is how it is defined in my repo. I'm not sure
> if the ordinal is being hidden or has actually been omitted.

it is better to not use the ordinal.

Using the ordinal the call is slightly faster, but version dependent.

Wolfgang


-- 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web