Search:
Type: Posts; User: chiuyan
Search:
Search took 0.33 seconds.
-
well, if your MainFunc is returning void, why does your typedef'd func return an int? if the MAINFUNC typedef is going to be used to call the MainFunc method in your dll, then your typedef should...
-
look at the OutputDebugString api
HTH
--michael
-
Sorry, I do not know any resources for Borland gui building, but i am curious as to why your "application can only be run under Dos Mode" if you use VC++
--michael
-
your prototype is wrong. First, this is the C++ language, so this overuse of the struct keyword is bad (or atleast unnecessary). declare your variables like thisEUData euptr[DFILESIZE],...
-
if you (or the user) have microsoft's media player installed, you can the Microsoft windows media player control to play both ra and mp3 files (although the ra support is not as good or up to date as...
-
You actually tried this code, and it actually called A::Doit? What compiler are you using, because neither VC6 SP3 or gcc v2.95.2 will compile it for me.
Thanks,
--michael
-
much thanks. it was the OFN_SHAREAWARE flag, which the documentation describes
Specifies that if a call to the OpenFile function fails because of a network sharing violation, the error is ignored...
-
this does not work, if you noticed, calling Doit with a char parameter resulted in your B:doit, which takes an int parameter, being called. This "works" because a char can easily be converted to an...
-
i do not want to select a folder, i want to select a file. i just do not want the dialog to attempt to access that file. SHBrowseForFolder only displays folders.
Write a small program that uses...
-
The GetOpenFileName function has the same effect as the CFileDialog, with the Dialog complaining if you select a file that is currently locked and click the open button.
I do not want to actually...
-
I want to use a CFileDialog, just to let the user browse for a file name. However, if the file the user selects is in use, then the CFileDialog complains. Is there a way to turn this off, so that...
-
Yeah, It seems to be about a 5 minute wait or so (but I am sure that is configurable somewhere). I was just surfing for more options :-)
Thanks,
--michael
-
I have a COM server that some application can instantiate and start working with. This server has no User Interface at all, so it must be started and stopped via the applications that want to use...
-
April 28th, 2000, 03:44 PM
if you are calling this method from within your CMyDialog class, then just use the this variable. You probably want to pass an HWND though, and not a pointer to your dialog, so then you would just...
-
April 28th, 2000, 03:40 PM
do not really understand what you are asking for, but you cannot cast a CString to a LPARAM. you can cast a CString* as an LPARAM, or cast the string that the CString refers to as an LPARAM (i.e....
-
April 28th, 2000, 03:10 PM
why does the CoCreateInstance fail? It returns an error code that should tell you why.
Also, consult the help files and make sure that you are not using any Win32/MFC functions that are not...
-
April 28th, 2000, 02:59 PM
Perhaps I do not fully understand the question, but here is my answer.
the size of the CString s will be determined at runtim--CStrings are allocated dynamically. The size of the constant string...
-
April 28th, 2000, 02:41 PM
no, their really shouldn't be any problems at all, but keep in mind that some things are going to be different in your debug dll, like memory allocations and stuff will be handled differently.
HTH...
-
March 30th, 2000, 02:29 PM
The function atoi converts an alphanumeric character to an integer. If you want a floating point number, then you should use atof.
--michael
-
March 30th, 2000, 02:29 PM
The function atoi converts an alphanumeric character to an integer. If you want a floating point number, then you should use atof.
--michael
-
March 30th, 2000, 02:21 PM
how many header files are there? you could always just wrap you headers in the
#if !defined (MYHEADER)
#define MYHEADER
// header file stuff
// ...
#endif
Then the #includes will not really...
-
March 23rd, 2000, 11:28 AM
if your teacher really doesn't teach, then complain to his/her supervisor. Having other people do you work for you does not teach you anything either.
Now, if you want help with this assignment,...
-
March 17th, 2000, 01:15 PM
Dev Studio has a pretty good memory leak detection utility, i do believe that it is always on (in Debug mode), and you just need to run your application through the debugger and watch the output...
-
March 14th, 2000, 03:38 PM
When I had to do this, I took all Constant strings out of my application and replace them with calls to a function with a unique id as a parameter. I then defined a text file that had this unique id...
-
March 14th, 2000, 03:29 PM
In reply to:
Q?: How do I capture any events that might change the command string (i.e. text entry or radio selection) so that the command string can be dynamically updated as the user chooses...
|
Click Here to Expand Forum to Full Width
|