hello i am newbie here
i have problem with C++
i write a code into DEV ++ as an application it have a problem here it is
GetModuleFileName(GetModH,pathtofile,sizeof(pathto file));
so plz can someone helpp me ?
C++ problem
And you problem/error/codesnippet is ?
When you just give that one statement, it's rather hard to know what's the matter.
What makes you sure that your problem is caused by that statement.
Do you get a compilation-error or any warnings (always compile with -Wall !)? If so, please post them.
if it's a runtime-error or functionality problem: please describe what the code is supposed to do, and what you get as a result.
It seems out of the statement, that you are using some library (most probably win32), but please confirm this.
When you just give that one statement, it's rather hard to know what's the matter.
What makes you sure that your problem is caused by that statement.
Do you get a compilation-error or any warnings (always compile with -Wall !)? If so, please post them.
if it's a runtime-error or functionality problem: please describe what the code is supposed to do, and what you get as a result.
It seems out of the statement, that you are using some library (most probably win32), but please confirm this.