Page 1 of 1

paritcle system edit for EDGE!

PostPosted: Jul 6, 2008 @ 4:31pm
by czcomtt
We had develop a particle system and gui system for EDGE, now I put the particle here, If edge like it, I will send the src to you!

PostPosted: Jul 6, 2008 @ 4:35pm
by czcomtt
We had develop a demo to show how to using this system, I think we will finish it soon!

PostPosted: Jul 6, 2008 @ 5:39pm
by czcomtt
and I had a question, how to get my app's current dir?

when I call CreateFile(...), the file was created in the root, but I want to create it in the path same with my app.

I had search the wm5 sdk, but no result, need you help.

I had solved it by

WINAPI DWORD GetModuleFileName(
HMODULE hModule,
LPWSTR lpFilename,
DWORD nSize
);

if you had a better way to solve my problem, tell me please, 3Q!

PostPosted: Jul 7, 2008 @ 8:36am
by edge
Hi,

You're particle system looks nice! Good luck in finishing it.

Using GetModuleFileName is the correct way to determine the current path. We recommend using the ClassEFile API though, because it handles the current path (using GetModuleFileName) automatically.

Re: paritcle system edit for EDGE!

PostPosted: Jul 7, 2008 @ 10:58am
by edge