- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
So here is what I asking: lea eax, [esp] push 104h ; Count push offset a__2 ; ".\\" push eax ; Dest call _strncpy add esp, 0Ch Can you please explain me this asm code snippet. The eax register late is assigned as an character pointer to an global variable. … |
|
I'm dissasemling an debug exe and I found a function that convert a file hash (from an archive that is used from the program) to a string. I really need to know what this function did but I don't understoos this werid language. Here are pictures of the source: http://imageshack.us/photo/my-images/51/hashfunc1.png/ … |
|
I read a memory block of **vertex positions** from an file but they're in this sequance **X Z Y** and the FVF format is D3DFVF_**XYZ** - what vertex format to use and fix this problem or maybe changing the cordiante axe? |
|
How this function works? What is the LPCVOID pSrcData. I pass this function with char* string with a one of D3DFORMAT Format and size the size of string. What I'm doing wrong. Here's my code - it gives an error from the function call: void Gmx::ExtrTextur(unsigned long ptrMap) { unsigned … |
|
I've made some functions which can insert file inside a file but only with a small text files and they're very slowly. I will thank you if someone know a better way. Here are my functions: 1st struct Tree { char Symbol; Tree* next; } ; Tree* GetTreeHandler(unsigned long num) … |
|
Please move this thread: [url]http://www.daniweb.com/software-development/cpp/threads/408693[/url] . See it I really need to know how to rotate the camera. Please! |
|
I want to make a mouse controlled camera the problem is that i want to rotate over the space not the current object but I don't know how to calculate the changes on view transformation. Here is the code example: [CODE] D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3 (0.0f, 0.0f, CurCamRot.z), // the camera position … |
|
I just start to learn it and I tried to find out what are the difference between virtual and not virtual class functions. For this a use a base class with a virtual function which Constructor made the impossible possible - here is example how you can cheat the compiler … |
|
And the question is - how to include a window inside the window? I want to include at my main window with options and buttons one other with Direct3d graphics on another thread. |
|
Is there an existing function to add bytes in a file at the current position (not at the end of the file)? Because it's very slow to cut the file on parts and then concrete them (for example if the file is 1GB). |
|
My question is why fstream can't read 0x1a. For example make a test file and inside it write in HEX editor 30 1A. [CODE]#include <iostream> #include <fstream> typedef unsigned long DWORD; using namespace std; fstream myfile; template <class T> T grad(T value, int step) { T val(value); if(!step) return 0; … |
|
I'm writing a Level Editor but my program is shows the X,Y,Z positions like DWORD(unsigned long). I want to show them like a float but I can't find a formula or function for that. If you know something please reply! |
|
I writing simple cmd game. My question is how to use timing function while I use _getch() command? Because this getch function stops the timing and the timer continuous after I click the keys.:@ |