Type: Posts; User: lucky6969b
Search took 0.04 seconds.
July 28th, 2016, 03:34 AM
If I move the unique_ptr around, is it safe to leave a raw copy in the ComponentManager?
std::unique_ptr<T> AddComponent(std::unique_ptr<T> l_component)
July 27th, 2016, 11:32 PM
Unfortunately, when the NavigationSystem is added to the Truck object,
it is turned to another type of pointer (a unique_ptr), which is another copy and type
of the original pointer,
When I take...
July 22nd, 2016, 06:51 AM
Why the logic is reversed?
The comparator will favour the node most far away from the position, but the reversed logic will work
I don't understand why, should I use the less than operator instead,...
July 18th, 2016, 11:16 PM
Okay , i see
std::sort(m_octrees.begin(), m_octrees.end(), OctreeComparatorByDistance(pos));
July 18th, 2016, 10:55 PM
I received the following error on making the parametrized comparison.
I am looking for the octree that is closest to the position I'm giving it.
July 17th, 2016, 02:17 AM
I am also wondering why some apis live in the area around 0x7xxxxxxxxx
but it is just in the user space area. but in 32bit windows environment, the kernel space actually starts at 0x80000000...
July 16th, 2016, 01:12 AM
there is an api in windows called SHCreateDesktop,
It is located in shell32.dll, but Microsoft keeps this symbol private,
so using shell32.lib won't link in the api to the executable....
July 12th, 2016, 11:22 PM
Here's what I've got so far
I am currently building an xp explorer from scratch, and wishing I could...
July 12th, 2016, 07:57 AM
I've now got a simple virtual desktop app working...But I can't have different themes for each desktop.
So is it possible to attach one (desk.cpl etc) to a standalone explorer.exe, this...
July 12th, 2016, 07:55 AM
Okay, I'll start a new one, thanks
July 12th, 2016, 07:21 AM
July 12th, 2016, 06:36 AM
When I retrieve the message from
if(GetMessage(&msg,NULL0,0) != 0)
if (msg.message == WM_HOTKEY)
// do something
The target file already exists in the same folder as the starting program.
DMSG("Creating Map View of File");
I have recently moved a project previously created with cmake,
it annoys me because the paths are absolute, I have to seek every path
that corresponds to the change.
Which is time-consuming,...
When I ran this python program with python 3.5.2
I would get
File "DubinsAirplaneMain.py", line 46
print '### Path Type: short...
I've got a set of data which would be accessed by either index, hash keys, or a 3D vector.
Since hash maps and arrays are different, I've to create 2 sets of data for each representation,
June 28th, 2016, 07:29 AM
okay, works now
// TestHook.cpp : Defines the entry point for the application.
June 28th, 2016, 07:02 AM
How that sound?
June 28th, 2016, 06:51 AM
Hang on, I'll try that code on XP anyways.... Windows 7 seems to be very strict on security.
June 28th, 2016, 04:02 AM
BTW, if you're interested in the original program, I think the author was missing
a GetProcAddress call or something in the InitializeHook function which gets the address of
the original function...
June 28th, 2016, 03:59 AM
Sorry, 2kaud, I gave up on that because I just spent too much time on the issue.
Now, I am resorted to this article. But I don't get how to retrieve the Import table by GetImportTable(HMODULE)
June 27th, 2016, 08:44 AM
I am following this video to test on api interception, but couldn't get to the step where
the memcpy should work.
here is the source code attached
June 26th, 2016, 08:50 AM
And I was compiling the ClassicShell project... I came across these errors too.
Error 1 error RC2135: file not found:...
June 26th, 2016, 08:25 AM
June 26th, 2016, 06:23 AM
I just can't get this to compile under vs2013 community.
And I can't find any relevant info on the net....
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!