|
Why would anyone want to wade through over 400 lines of unformatted code to work out what you have done wrong? Try running in debug mode and see where things go wrong.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Agreed.
Reading the unformatted code is not easy, especially since you don't limit it down to what's important.
|
|
|
|
|
I would assume you've just got some bad math going on in the camera position calculations.
I would look at your values you're calculating for the following line of code and verify you're not moving the camera into a position/angle that is away from your 'office'.
Scene.SetCamera(sngPositionX, sngPositionY, sngPositionZ, sngLookAtX, sngLookAtY, sngLookAtZ);
Your initial values are:
sngPositionX = 0;
sngPositionY = 20;
sngPositionZ = 0;
sngLookAtX = 0;
sngLookAtY = 20;
sngLookAtZ = 50;
So, see if you're pointing your camera in the wrong direction.
|
|
|
|
|
Thanks to Andrew for kindly answer my question. Sorry to Ashfield if i have ask a stupid question but i have debugged it and it appeared no error. So, i just want to get what is wrong behind my logic. Anyway, thank you!
|
|
|
|
|
There are no stupid questions.
Regardless, by spending a little more time up front phrasing your question and making it easy to get a grasp of your problem, you'll find people are more willing to spend the time to answer you. It's just some helpful advice.
|
|
|
|
|
Hello everyone,
I have face problem is "Unable to load DLL 'some.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a windows application. I developed a windows application in VS2005 and want to import a dll file from another program into my project and use it.for that i have just add that dll to the solution explorer. But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'some.dll". I put the "some.dll" file in the debug folder.Can anyone help me out with this? thanks and really appreciated!
|
|
|
|
|
I know that not all .dll can be loaded by VC#;
|
|
|
|
|
obalesu wrote: I put the "some.dll" file in the debug folder.
What debug folder? Try putting it in the same folder as
the .exe file using the dll is in.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi All .
Iam Useing the Telerik Report Controls In Windows Application But I had A Problem ,
Delayed the loading of the report in the Windows Application .
How i can Solve this Problem ?
thanks for Any body hellp me
Thaer
|
|
|
|
|
Have you considered the blindingly obvious and asked Telerik?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Ashfield wrote: considered the blindingly obvious and asked Telerik?
That would just be too easy
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
it seems that the title of ColorDialog in VC# can not be changed.
how to change it?
|
|
|
|
|
|
This is a c# forum, not Java
|
|
|
|
|
I don't think you can. The color dialog is actually the native ChooseColor which doesn't have anything to change it.
Normally I'd suggest using FindWindow and SetWindowText, but seeing as it's a dialog that's not an option.
It'd be easier to make your own, maybe a PropertyGrid with just one property of type Color.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Please Help,
Where can I get C/C++ code for creating an Interpreter for Assembler...?
Same thing for Assembly macros...?
|
|
|
|
|
Here[^]
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
C/C++ questions should go into one of the C/C++ forums.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Chirantan_skc wrote: Where can I get C/C++ code for creating an Interpreter for Assembler...?
This is the C# Forum, you are way off
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
hello all,
how we read a RTf file from folder and create new RTF file with wright all folder(file) content in same folder.
|
|
|
|
|
|
Dear All,
I am developing an application where i need to browse for folder as
I have a browse button when i click in the button, "Browse For Folder" Dialog Box should appear which lists only folders.
and plz let me know how can i upload images to my msgs.
Your cooperation is really appreciated.
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|
|
|
thanks alot it did work.
very funny
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|