Thanks
Anyway, I found a way i can do it. The problem was that I used MSVC++. I now just declared the whole function clean assembly code so I dont get checked by VC on every smart step in my assembly code by...
Good night!
Daniel Cohen Gindi
dcgsmix@gmx.net
I have to create a function that takes an unknown number of arguments, and then pass it forward to another function, while the first argument stands for the address of the function to be called (the only argument which should be poped out of stack)...
Now how do i do that?
I have my function...
Hi
I have kinda weird problem in the last week, and reinstalling wont fix it!:
When i'm starting the Visual Studio .NET, right after i see the main window, i see for a half of a second a 'Windows Installer" little window says "Preparing To Install...", then the whole studio is...
Hi
I have a problem with MFC programs, on laptops they are changing the size of the dialogs, and changing size and position of controls. and yes, i'm giving absolute position on runtime. it works on every machine except laptops.
Is there a way to solve this?
thanks
daniel Daniel Cohen Gindi...
Hello guys
somebody told me about a reserved word in c++, that i never heard about (he too...)
that word is not implemented in anywhere on the internet
that word is: mutable
can anybody told me what that word means?
Thanks
Daniel Cohen Gindi
Hey guys,
How can i detect if you are running on a laptop or on a normal pc? if there is an #ifdef for that it will be better
thanks, Daniel Cohen Gindi
dcgsmix@gmx.net
i have a prog that i wrote on win2k, and it has a static size that is given OnDialogInit, it shows correct on all resolutions.
But when i run the prog on a laptop with win2k, and i tried it on 7 laptops, the dialogs are smaller, and the controls are in the same size, so the dialog is cut, and i...
Hey
i've created a spin button control, add a "member variable" of type CSpinButtonCtrl
On the initdialog i set the range from 0 to 510. also set the accel
on the OnHScroll of my window i've type-casted the scrollbar into a spinbuttonctrl so i can check the hwnd to know that it is...
Yeah, me too...
It doesnt need to be very complicated. i can also just record some milliseconds and process, record and process... almost like realtime, but good for my needs.
But, anyone can help me??????????????? Daniel Cohen Gindi
dcgsmix@gmx.net
its because it gets your INT variable as an ASCII number and returns you the ASCII character that matches it.
so if you want to convert int to string:
char * itoa(int value);
string to a number:
double atof( const char *string );
int atoi( const char *string );
__int64 _atoi64( const char...
You can use this:
(int)((upperbound - lowerbound + 1) * rand() + lowerbound)
if you want bitween 1 to 10:
(int)((10-1+1) * rand() +1)
so every number that you want biween 1 to something:
(int)(maxnumber * rand() +1)
Daniel Cohen Gindi
dcgsmix@gmx.net
Hey ppl
i want to make a program for tuning musical instruments.
i'll start with a guitar
for the thickest string in 6-strings guitar the frequency is 82.41 Hz
Question 1:
i need to record a piece of sound (the guitar connects to the mic-in)
Question 2: (the real problem)
and then compare...
Hello
how do i get a combo box to drop down when i'm clicking on it and get up when i'm clicking again? (resources. mfc...)
thanks Daniel Cohen Gindi
dcgsmix@gmx.net
When i'm creating a combo box in MFC Mode (resources), they wont drop down. WHY????????
Thats something very annoying and i'm working on a project so i dont have time to find the problem.
Thanks Daniel Cohen Gindi
dcgsmix@gmx.net
your problem is that your destination is already constant...
it has a constant SIZE!!
you defined it as "CREATE TABLE ".
you need to define it as sql[80] or something like that and then give it its value.
you can even do sql[80]="CREATE TABLE "
and dont forget dont do *sql...
string is like (is really) an array of chars. the fastest and best way to use strings. also takes less memory, and less memory problems.
CString is a MFC class. that is very automated. containing the functions to find chars, get from right, turn to upper-case etc... not recommended for fast and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.