Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  Missing beam.dll exports in R9C-2 for Windows

jamesh at Volition-inc.co
Posted: Tue Sep 21, 2004 1:20 pm Reply with quote
Guest
All of the driver-related functions are not exported from beam.dll,
including driver_output. This prevents dynamically loaded drivers from even
*loading* under Windows.

This is a showstopper for users of Wings, esdl, or any other application
making use of custom drivers. I'd like to see a new beam.dll for R9C-2
posted as soon as possible.

James


Post generated using Mail2Forum (http://m2f.sourceforge.net)
vlad_dumitrescu at hotmai
Posted: Tue Sep 21, 2004 2:22 pm Reply with quote
Guest
Hmm, they work for me (from the binary distribution)... Maybe it's something
with the source build?

/Vlad


----- Original Message -----
From: "James Hague" <jamesh_at_Volition-inc.com>
To: <erlang-bugs_at_erlang.org>
Sent: Tuesday, September 21, 2004 3:22 PM
Subject: Missing beam.dll exports in R9C-2 for Windows


> All of the driver-related functions are not exported from beam.dll,
> including driver_output. This prevents dynamically loaded drivers from
> even
> *loading* under Windows.
>
> This is a showstopper for users of Wings, esdl, or any other application
> making use of custom drivers. I'd like to see a new beam.dll for R9C-2
> posted as soon as possible.
>
> James
>


Post generated using Mail2Forum (http://m2f.sourceforge.net)
jamesh at Volition-inc.co
Posted: Tue Sep 21, 2004 2:25 pm Reply with quote
Guest
> Hmm, they work for me (from the binary distribution)... Maybe
> it's something with the source build?

Hmmm...I couldn't get my drivers working because of the exports not being
found, so I used Borland's tdump utility to view the exports, and they
weren't there. Could you send me your beam.dll?

James


Post generated using Mail2Forum (http://m2f.sourceforge.net)
Panos.Kontakos at netkits
Posted: Tue Sep 21, 2004 3:24 pm Reply with quote
Guest
you need to modify the DRIVER_INIT subroutine and rebuild the drivers. The method of exporting the driver entry points has been modified. A good sample might be some of the internal port drivers.

Panos

________________________________

From: owner-erlang-bugs_at_erlang.org on behalf of James Hague
Sent: Tue 9/21/2004 7:27 AM
To: 'Vlad Dumitrescu'; erlang-bugs_at_erlang.org
Subject: RE: Missing beam.dll exports in R9C-2 for Windows



> Hmm, they work for me (from the binary distribution)... Maybe
> it's something with the source build?

Hmmm...I couldn't get my drivers working because of the exports not being
found, so I used Borland's tdump utility to view the exports, and they
weren't there. Could you send me your beam.dll?

James




Post generated using Mail2Forum (http://m2f.sourceforge.net)
jamesh at Volition-inc.co
Posted: Tue Sep 21, 2004 3:31 pm Reply with quote
Guest
> you need to modify the DRIVER_INIT subroutine and rebuild the
> drivers. The method of exporting the driver entry points has
> been modified. A good sample might be some of the internal
> port drivers.

Okay, thank you. Somehow I don't ever recall reading this in the release
notes; I must have missed it.

James


Post generated using Mail2Forum (http://m2f.sourceforge.net)
Panos.Kontakos at netkits
Posted: Tue Sep 21, 2004 3:33 pm Reply with quote
Guest
I do not recall if it is in the release notes, but I found the hard way in order to rebuild my port drivers.

panos

________________________________

From: James Hague [mailto:jamesh_at_Volition-inc.com]
Sent: Tue 9/21/2004 8:33 AM
To: Panos Kontakos; Vlad Dumitrescu; erlang-bugs_at_erlang.org
Subject: RE: Missing beam.dll exports in R9C-2 for Windows



> you need to modify the DRIVER_INIT subroutine and rebuild the
> drivers. The method of exporting the driver entry points has
> been modified. A good sample might be some of the internal
> port drivers.

Okay, thank you. Somehow I don't ever recall reading this in the release
notes; I must have missed it.

James




Post generated using Mail2Forum (http://m2f.sourceforge.net)
jamesh at Volition-inc.co
Posted: Tue Sep 21, 2004 6:23 pm Reply with quote
Guest
> Okay, thank you. Somehow I don't ever recall reading this in
> the release
> notes; I must have missed it.

I have this sorted out now. The problem was that the method of dynamically
linking in a driver under Windows changed quite a bit. Rather than the
driver code referencing symbols in beam.dll and having the DLL loader
resolve them, there's now a table of function pointers passed to the driver
upon initialization. This is cleaner than the old method, and makes it
easier to see what functions a driver can access.

erl_driver.h attempts to hide the changes, so you can simply recompile after
a few tweaks. But this only works if the driver is written in C. In my
case, I used Delphi, so I had to write my own erl_driver equivalent. It's
easy enough to change, but it would have been nice to see a more up front
mention of the driver linkage changes. Perhaps in R10?

James


Post generated using Mail2Forum (http://m2f.sourceforge.net)
samlauncher
Posted: Thu Feb 24, 2011 1:08 pm Reply with quote
Joined: 24 Feb 2011 Posts: 1 Location: Pakistan
Hey guys m looking for best exporters plz help….
View user's profile Send private message
cheung
Posted: Thu Feb 16, 2012 3:18 am Reply with quote
Guest
A fire started by an inmate tore through an overcrowded prison in Honduras, burning and suffocating screaming men in their locked cells as rescuers desperately searched for keys. Officials confirmed 358 dead Wednesday, making it the world's Air Max On Sale deadliest prison fire in a century.The local governor, who Air Max was once a Cheap Air Max prison employee, told reporters that an inmate called her moments before the blaze broke out and screamed: "I will set this place on fire and we are all Cheap Air Max 95 going to die!"Comayagua Gov. Paola Castro said she called the Red Cheap Nike Air Max 95 Cross and fire brigade immediately after receiving the call late Tuesday night. But firefighters said they were kept outside Air Max Outlet for half an Nike Air Max 95 hour by guards who fired their guns in the air, thinking Air Max 95 they had a riot or a breakout on their hands.Officials have long had little control over conditions inside many Air Max 95 Cheap Honduran prisons, where inmates have largely Nike Air Max unfettered access to cell phones and other contraband.
cheung
Posted: Tue Feb 21, 2012 3:25 am Reply with quote
Guest
Gingrich made his remarks at a rally in the congressional district Nike Air Max 2012 he represented for 20 years, speaking to a few hundred supporters. Nike Air Max LTD 2 He planned several campaign stops across Air Max Georgia on Saturday Nike Air Max 1 with Herman Cain, a fellow Georgian and former contender for the GOP nomination who has since endorsed Gingrich.CNN Cheap Air Max was forced to cancel the debate, scheduled to take place in Atlanta on March 1, after Mitt Romney declined to participate. Nike Air Max 95 Rick Santorum quickly followed suit.The cancellation was a blow to Gingrich, who is banking on a strong showing on Super Tuesday, March 6, in Air Max 95 Cheap Georgia, Ohio and eight other states holding contests that day."The average Georgian is going to say, the average Nike Air Max 90 Ohioan is going to say, `Let me get this straight. They won't come here to debate Nike Air Max but they want my vote?"' Gingrich said, adding, "Anybody who's Nike Air Max Classic BW afraid of debating Newt Gingrich isn't going to be in very good shape to debate Barack Obama."Gingrich, whose sole win Asics Tiger came in South Carolina's Asics Mexico 66 primary Jan. 21, conceded winning Georgia was "crucial" Asics Kaufen to sustaining his presidential bid. His candidacy has struggled since Romney soundly beat him in Florida Jan. 31 and Santorum won contests in Colorado, Minnesota and Missouri on Feb. 7. “You have an opportunity to speak loudly,” Santorum said at an appearance in Mason, Ohio. Asics Onitsuka Tiger“Give a clear contrast between the two leaders who want to lead this country. Give Asics Turnschuhe America a clear choice.” Though Romney was born and raised in Michigan, his wealthy upbringing and work as a private-equity executive has made it hard for him to connect with working-class voters.The event was sponsored by the Günstige Onitsuka Tiger Sneakers Michigan Faith and Freedom Coalition, three Macomb County tea party groups and the county Republican Party. Asics Mexico 66 günstig The rally was punctuated by gospel singing and speeches Asics Tiger Mexico 66 by ministers.
wailian
Posted: Tue Mar 20, 2012 2:07 am Reply with quote
Guest
i/p transducer requires a standard input and is for use with linear pneumatic actuators and has high air capacity. It can be easy change of the output signal from. electro pneumatic transducer is used, for example, in the biomedical field for the pneumatic control of a cardiac module, or artificial heart.

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum