|
Hi David,
Yes, fnwpMainWindow is the prototype. I changed it to what you have and I receive the same error.
Converting this does not seem to be a simple task...
Glenn
|
|
|
|
|
gmhanna wrote: Yes, fnwpMainWindow is the prototype.
I know that. I asked what was above it? The error said that a '{' was missing before __stdcall . So look at the code prior to __stdcall to see if there is a missing '{'.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Hi David,
After some experimentation I determined it has something to do with the _export, not exactly sure what but from what I'm reading I should be doing something like this:
long __declspec(dllexport) __stdcall Fred( );
Is this the same thing as:
long _export __stdcall SomeName( ); ?? From what I read, _export is really for 16bit and __declspec is for 32bit.
Your thoughts?
Glenn
|
|
|
|
|
gmhanna wrote: From what I read, _export is really for 16bit and __declspec is for 32bit.
You are correct?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
i've created some Cpp and h files in the console application
i want to use them in the MFC ..
but i have to include them in some dialog's cpp files ...
it shows me this error
<br />
...frmmodsupp.cpp(7) : fatal error C1083: Cannot open include file: 'CMot.h': No such file or directory
|
|
|
|
|
It looks like you do not have CMot.h is the project directory or in the search path.
|
|
|
|
|
I guess you forgot to use #include "Cmot.h" in your CPP file.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
Hello,
This is my first post here and I hope someone can help me.
I'm new to C++ and really know very little, however I am a fast learner.
Here's what I'm trying to do.
Write an app. that will copy 2 files and rename them.
Then the the app will start an exe.(the exe cannot be run in dos mode!)
Then the app will start a timer that will run the exe for 30 to 60 minutes.]
Then the app will shut down the exe.
I do not have any code started for this.
I trully do not know where to start.
I do have visual C++ 6.0.
Any and all help will be greatly appreciated!
Thanks!
|
|
|
|
|
try to look first at the MFC AppWizards..
how to use buttons ...
how to start an exe ... ( from the internet and tutorials )
how to create timers ...
ok man !!
|
|
|
|
|
Cougarxr7 wrote: I trully do not know where to start.
I do have visual C++ 6.0.
Select New from the File menu. Click the Projects tab. Select Win32 Console Application.
Cougarxr7 wrote: Write an app. that will copy 2 files...
Use CopyFile() .
Cougarxr7 wrote: ...and rename them.
Use rename() .
Cougarxr7 wrote: Then the the app will start an exe.
See here.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
|
Gr8Shag wrote: Hope that helps.
Probably not for Cougarxr7.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Thanks guys. I have done some compiling and alot of reading!
I know I have alot more to do!
|
|
|
|
|
doh:
Must be an inside joke..?..
G
|
|
|
|
|
Not sure what you mean an inside joke??
I asked a question and got answers.
Nothing more than that!
Although some of the answers made me feel like they should of started with hey dumbass...
Anyway no big deal. I'll found a way to this, if not here then somewhere else.
Thanks!
-- modified at 15:30 Wednesday 12th April, 2006
|
|
|
|
|
Sorry Dude. I didn't read it right. Everybody has been super helpful
to me here and I'm kinda a space cadet.
Those links were extremely helpful to me and hopefully the will be to
you.
Everybody, sorry for the confusion. Been a ruff week.
G
|
|
|
|
|
No jokes inferred or implied. I was just indicating that since you replied to me rather than Cougarxr7, he might not benefit from your suggestion.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Sorry Guys... Guess I'm the dumbass.(lol) Wasn't payin attention to detail
I guess.(lol)
Been one of them weeks.
G
|
|
|
|
|
Cougarxr7 wrote: Do I need to start Visual C++ 6.0 first??
Of course.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
I see you modified your first reply!
Thanks David thats what I was looking for!
I did search, look, and never found that!
I'm sure I went right past it.
Again Thanks!
-- modified at 15:31 Wednesday 12th April, 2006
|
|
|
|
|
When I debug a C++ program with break points to pring some values I got: data[i] - -1.#IND0
what "-1.#IND0" mean ?
Thanks
|
|
|
|
|
It means Indefinite, or quiet Not a Number (NaN).
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
hello
is there any solution to convert from Cstring to char* (char array)
other then copying chars one bye one ( var[i]=var2[i]...)
|
|
|
|
|
CString str;
char *arr = str.GetBuffer(#);
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|