* *

Coding

Welcome, Guest. Please login or register.
Did you miss your activation email?
October 16, 2017, 06:15:55 PM

Login with username, password and session length

Menu

Members
Stats
  • Total Posts: 12170
  • Total Topics: 1736
  • Online Today: 67
  • Online Ever: 195
  • (February 11, 2014, 01:46:08 PM)
Users Online
Users: 0
Guests: 35
Total: 54
Yahoo!
Google (2)
Baidu (16)

Author Topic: Searched everywhere ... can IB Pro work with Ordinal API calls?  (Read 2712 times)

0 Members and 1 Guest are viewing this topic.

Offline TLaRoche

  • Newbie
  • *
  • Posts: 9
  • Bananas: 0
  • Gender: Male
  • Born to code ... doomed to fail...
Searched everywhere ... can IB Pro work with Ordinal API calls?
« on: September 19, 2014, 12:19:52 PM »
Searched the Net, and this board... Couldn't find anything on whether IB Pro can or can't work with API calls by using a DLL Ordinal value.

Example: Is this valid?
Code: [Select]
Declare "comctl32.dll", DefSubclassProc _
    Alias #413 ( _
    hWnd:Int, _
    uMsg:UInt,
    WPARAM:Int, _
    LPARAM:Int), _
    Int
If not valid then is there a work-around, or am I just stuck? (lol)

Thanks in advance.
« Last Edit: September 19, 2014, 09:27:52 PM by TLaRoche »
Just finished backing up to the ol' tape backup drive ... again. Maybe this time restore will work...

Offline Larry McCaughn

  • Head Monkey
  • Administrator
  • Sr. Member
  • *****
  • Posts: 258
  • Bananas: 4
  • Gender: Male
Re: Searched everywhere ... can IB Pro work with Ordinal API calls?
« Reply #1 on: September 19, 2014, 11:39:56 PM »
I don't think so. In all the years I've been using IBPro and its successors I've never seen an instance of that.
Admin - Here and @ Ionic Wind Software Forums
Author of Custom Button Designer, Custom Chart Designer, Snippet Manager, and IWB+ (A Visual Designer for IWBasic 2.x/3.x)

Offline TLaRoche

  • Newbie
  • *
  • Posts: 9
  • Bananas: 0
  • Gender: Male
  • Born to code ... doomed to fail...
Re: Searched everywhere ... can IB Pro work with Ordinal API calls?
« Reply #2 on: September 20, 2014, 02:07:37 AM »
Larry,
Thank you for the response. I kind'a thought as much. :-\ I know IB Std can't (which I still use even to this day) ... but I was hoping this issue was done away with IB Pro. :(

Would there be a possible work around?

Again, thanks in advance.
Just finished backing up to the ol' tape backup drive ... again. Maybe this time restore will work...

Offline zlatkoCB

  • Sr. Member
  • ****
  • Posts: 473
  • Bananas: 2
  • Gender: Male
Re: Searched everywhere ... can IB Pro work with Ordinal API calls?
« Reply #3 on: September 27, 2014, 12:29:21 PM »
I am not sure what you mean by 'ORDINAL' but if you mean
usual or VB way of API declare then answer is yes
in a little bit different way
and i don't know what you need this shape of dll .
CDCL way is supported by EB and i think that in IWB to..
so i really don't see any problem with that  ???

Offline GWS

  • Sr. Member
  • ****
  • Posts: 350
  • Bananas: 14
Re: Searched everywhere ... can IB Pro work with Ordinal API calls?
« Reply #4 on: December 01, 2014, 05:13:07 AM »
Hi,

Probably best not to try ..  :)

Quote
Each function exported by a DLL is identified by a numeric ordinal and optionally a name. Likewise, functions can be imported from a DLL either by ordinal or by name. The ordinal represents the position of the function's address pointer in the DLL Export Address table. It is common for internal functions to be exported by ordinal only. For most Windows API functions only the names are preserved across different Windows releases; the ordinals are subject to change. Thus, one cannot reliably import Windows API functions by their ordinals.

Importing functions by ordinal provides only slightly better performance than importing them by name.

Best to just stick to the function names I should think ..

I found this here :

http://en.wikipedia.org/wiki/Dynamic-link_library

Best wishes, :)

Graham
« Last Edit: December 01, 2014, 05:28:11 AM by GWS »
Tomorrow may be too late ...

 

To link to us use this code/button on your site

http://www.codingmonkeys.com/images/cm_link.gif

ShoutBox!

Azziesheag

October 13, 2017, 01:47:49 PM
Валериан и город тысячи планет
   
[url=http://file-yandex.ru/videomult115.

Azziesheag

October 13, 2017, 07:48:31 AM
Время первых
   

 
 
 
 
 
 
 
 

lurkalot

September 20, 2017, 01:57:54 PM
Hey that's my job. Didn't choose this username for nothing you know.  :)
 

Larry McCaughn

September 19, 2017, 12:24:13 AM
lurking in the shadows, lurkalot.
 

lurkalot

September 16, 2017, 04:39:43 PM
Good evening all.  Where is everyone?
 

lurkalot

September 12, 2017, 12:57:36 PM
Good to hear, it's nice to see a empty error log. ;)
 

Blue Steel

September 12, 2017, 05:04:25 AM
running sites log files overnight heres the result (I know mainly spiners) "There are currently no error log entries." :)
 

lurkalot

September 12, 2017, 03:19:33 AM
Morning all.  :)
 

Blue Steel

September 12, 2017, 01:12:33 AM
Let it all out ..
these are the things I can't do without  ;)

MikeHart

September 11, 2017, 11:14:22 PM
SHOUT SHOUT  :)
 

GWS

September 11, 2017, 08:16:02 PM
Shouting is Go !  ;D
 

Blue Steel

September 11, 2017, 06:54:02 PM
gradually getting there
 

lurkalot

September 11, 2017, 05:22:46 PM
Yay, you found it.  ;)
 

Larry McCaughn

September 11, 2017, 01:07:13 PM
looks like you're making good progress
 

Blue Steel

September 07, 2017, 10:34:19 PM
yay recent topics are working again in the center of the home page :)
 

Larry McCaughn

July 12, 2017, 05:46:33 PM
Blue Steel is back running the show.  Maybe he'll be able to build some steam in the ole place!
 

Blue Steel

June 26, 2017, 04:58:41 AM
hope i didn't scare too many of you
 

Blue Steel

June 26, 2017, 04:58:12 AM
Boo, i'm still here alive and well , see my post in introductions

MikeHart

July 25, 2016, 01:43:24 AM
That sounds cool. Have to chekc out IWBasic in the next days.
 

Larry McCaughn

July 22, 2016, 11:47:00 PM
I'm hoping to issue a new maintenance release to the IWBasic 3.x IDE in the next few weeks and Larry Sikes has released an update to the Linux version of IWBasic and is currently working on the 64bit version of IWBasic.  Progress should speed up since he has retired and has apparently resolved his m

MikeHart

July 19, 2016, 02:53:02 PM
Anything interesting going on around BASIC?
 

Larry McCaughn

July 18, 2016, 09:14:12 AM
Hello Mike

MikeHart

July 16, 2016, 04:33:25 PM
Hi there all!