Yes :S but I want it for struct like this
void example(int *vle)
{
.....
struct exam{
......
}x
Type: Posts; User: koyboy
Yes :S but I want it for struct like this
void example(int *vle)
{
.....
struct exam{
......
}x
thanks for advice but I didnt it in struct.. if I use int so I can do like this:
int * number = (int *) malloc(*nos);
is it true?? I think yes but I never do it for struct.. How can we do...
But I must get struct size from another result.. Cant we do this?? :S
I used it (const int) but result didnt change...
I get this error
1)Constant expression required
2)Constant variable 'x' must be initialized
it isnt work! I have simple struct and I want to use like this
void example(int *vle)
{
.....
struct exam{
......
}x[(const)*vle]
I wrote like this but it isn't work
(const *)example;
example is int. how can I do this??
I couldn't use "clrscr()" in Microsoft Visual c++ 6.0 why?? I use it successfully in Borland C++ .....
I write like this and thats ok...
second = (rand()%99)+1
do{
first = second * ((rand()%10)+1);
}while(first>=100);
I know it.. but result is false..Like this:
1)first and second value is random (Example first:15 second:10)
2)ask user first/second
3)if user enter 1 its correct in programming but it isnt correct...
Can we use Sleep(int) method in Borland C?? what is its library??
thanks for reply
if((first/second)!=int)
is it possible?? I want to get result is int or not??
because result can be float..
I tried it but I got another error.. It is
error C2440: 'reinterpret_cast' : cannot convert from 'const char *' to 'void *'
this is my code
if(!WriteProcessMemory(hProcess, str, lpszDllPath.c_str(), lpszDllPath.length() + 1, 0))
and this is my error
thanks for reply but I tried this I get error :S
can we do "string to LPCVOID" ??
you are right.. My program capture all opened picture list and capture all opened sites.. Only parents can see these.. and program can blocked sites from windows' "hosts" file.. but if my program...
I am making parents defence program.. I want to hide my program fro task mnager because I want to anyone not closed my program.. How can I hide my program from task manager??
thanks for nice explain..
I create it in visual c++ 6.0 and write first part like this :
#under EXPORT
#ifdef DLL
#define EXPORT __declspec(dllexport)
#else
#define EXPORT __declspec(dllimport)
#endif
I have Microsoft Visual Studio 2008 full version but if I build my code in 2008 it needs framework if I build in 6.0 it doesnt need framework.. so I use 6.0 sometimes..
yes I use Microsoft Visual c++ 6.0
Sory I dont understand.. Sory my english.. and ask one more questions.. how can call or start the dll??
I have simple program.. I wrote it in c++.. its winapi.. can I convert it to dll??
what is the dll?? how can I make dll in c++?? Can we do everything with dll??