Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

llvllatrix

Windows XP and DLLs

This topic is 5302 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Just wondering if anyone has ever come accross this problem: The program loads dlls as plugins. The plugins are kept separately from the main program. Everything compiles and runs and the program runs fine in Windows XP Home edition. When you go to any other os (including professional edition) the program cant load the dll files. Unfortunately i cant post any code...sry. Just wondering if you guys may have any ideas as to what the problem is. TIA

Share this post


Link to post
Share on other sites
Advertisement
When you say that it runs fine in Windows XP Home, does that mean it works on all computers running Windows XP Home or just 1 computer running Windows XP Home?

If your answer is just 1 computer, then my next question would be if this is the computer you compiled/developed your program on.

Share this post


Link to post
Share on other sites
I doubt it is an OS problem. What is more likely is that you are missing some dependencies. Download and run Dependency Walker[1] on the plugin DLLs(on the target system, of course). This will tell you which additional DLLs you need to redistribute - most likely the C or C++ runtime.

[1]www.dependencywalker.com

--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]

Share this post


Link to post
Share on other sites
quote:
Original post by Steelrose
Because of the way different OS''s do things, you need to compile on each OS so the OS can read it correctly.

A kind suggestion: Don''t give any more advice on these forums. Ever.

Share this post


Link to post
Share on other sites
quote:
Original post by Arild Fines
quote:
Original post by Steelrose
Because of the way different OS''s do things, you need to compile on each OS so the OS can read it correctly.

A kind suggestion: Don''t give any more advice on these forums. Ever.



Do you get off on making fun of people? Does it make you feel like a bigger man? You learned at one point too. Why dont you not post until you learn some manners. There is no reason for comments like that on this fourm. If you have to fulfill some need of yours by saying things like above, go to some general fourm where nothing is taken seriously.


"What we do in life, echos in eternity" -- Gladiator

Share this post


Link to post
Share on other sites
quote:
Original post by SkinnyM
quote:
Original post by Arild Fines
quote:
Original post by Steelrose
Because of the way different OS''s do things, you need to compile on each OS so the OS can read it correctly.

A kind suggestion: Don''t give any more advice on these forums. Ever.



Do you get off on making fun of people? Does it make you feel like a bigger man? You learned at one point too. Why dont you not post until you learn some manners. There is no reason for comments like that on this fourm. If you have to fulfill some need of yours by saying things like above, go to some general fourm where nothing is taken seriously.


"What we do in life, echos in eternity" -- Gladiator


It is generally a bad idea to shoot off ones month at a far more experienced member. Arild Fines''s comment, while obviously harsh, was completely justified. The advice given by the poster in question was complete and utter bullocks (translation: It was wrong in many ways, and generally horrible advice to give. If the user has other posts like this it may even suggest they are intentionally trolling)

Share this post


Link to post
Share on other sites
I will stop after this post because i really like to ask questions on this fourm. You are right, he is a far more experienced member than me, the point i was trying to make is i believe this fourm is bigger then petty insults at people who for all you know, are completely serious and just trying to help.

People give wrong answers all the time, they are trying to help. This case was no different until a insult was thrown that has no place here. But i will be quiet and hopefully i wont get banned from these fourms because i really enjoy them.



[edited by - SkinnyM on January 6, 2004 10:59:50 PM]

Share this post


Link to post
Share on other sites
quote:
Original post by SkinnyM
people who for all you know, are completely serious and just trying to help.

That''s what scares me the most. People shouldn''t "try to help" at all if they have no clue what they are talking about. Other people who are learning will not recognize the fact that the advice is completely and utterly clueless and actually take it seriously.

In this case, the advice was so bad that it made me angry, and I felt that some amount of harshness was warranted. If the reply had included some disclaimer to the effect that the poster might not actually know what he was talking about, I wouldn''t have spoken up, and merely pointed out how inaccurate it was.

Bad advice is worse than no advice at all. The road to hell is paved with good intentions etc etc...

Share this post


Link to post
Share on other sites
And yes, I do get off on shooting down clueless posters who give clueless answers in an authoritative way. It makes me feel really good about myself.

Does that make me a bad person?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!