![]() |
Microzoft Visual Studio question.....any programmers here?
i've always developed code for unix and i'm fairly new to this shit
first question: when i install visual studio, IE starts giving me a message alert with a sound for every single javascript error on web pages while i am surfing.. it's pretty annoying.. it keeps on asking me if i want to debug it or not.. i cant figure out how to turn that shit off.. second question: this is on visual c++ for example i code some OpenGL stuff and i needed to download and add the libraries to visual studio library folders. then i also had to put a dll file into my system folder so the executable could work.. windows doesnt have the OpenGL dll file by default.. so if i send the executable to someone else, he needs to get it too.. how do i make it so that it isnt dynamically linked and works by itself without the dll file? i heard there is a compile option for that but couldnt find it.. any help apreciated Lane |
Quote:
|
its called "dynamic debugging" or so... but something with 'debug' for sure, just turn it off and the errors are gone.
|
cool thanks a lot :)
can someone answer my second question too? |
Nope, I ran into the same thing. I have been screwing around with an OpenGL Winamp visualization for a long time and have the same problem. There's got the be an easy solution, but I am a Perl programmer by nature. This visual environment screws with my head.
|
There is an option for static linking, but I haven't looked at vs for a long time. It's wherever compiler options are.. there's a 3 or 4 page "booklet" dialog with compiler options including debug level and compiler/linker options.
|
You'll need the static versions of the libraries and the object files for the linker. The same with *nix: you'd need the lib.o (object file) not the lib.a/lib.so (shared module). A dll is not compiled for static linking, it is by definition compiled to be dynamically linked in at run time. I don't know much about opengl (never took it much further than writting a 3D tetris game :) ) except that normally the video hardware manufacturers distribute opengl drivers as some video cards support more opengl stuff than others (on board textures, extended primitives, lighting effects, etc)... I wouldn't know if you could find opengl object files for static linking.
cheers |
Go download the M$ DirectX8.1 SDK - lots of fun to be had with Direct3D and OPenGL
http://msdn.microsoft.com/downloads/.../114/topic.xml |
All times are GMT -7. The time now is 02:13 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123