Search:
Type: Posts; User: ALM
Search:
Search took 0.50 seconds.
-
January 12th, 2001, 03:07 PM
This is exactly what I needed. Thank you very much!
Alvaro
-
January 12th, 2001, 02:19 PM
I have a username and password sent to me from a remote NT machine. How do I check that they're valid for logging on to NT?
Thanks a bunch!
Alvaro
-
December 29th, 2000, 01:48 PM
I don't know if this helps to answer your question but what I usually do is build all my binaries to one folder (which I call "bin"). Then I distinguish between debug and release versions by...
-
December 28th, 2000, 02:30 PM
Back in the dark ages of Windows 3.1 the API was all there was, so that's what I used. Then came MFC (thank God) and I switch to that. The fact that I had prior experience with the API made it...
-
December 28th, 2000, 02:11 PM
I hate it when that happens...
It's usually the result of something else not being right but working by accident or by a fluke. Apparently adding the variable removes the fluke and causes things...
-
December 28th, 2000, 02:06 PM
This is accomplished by using the _declspec(dllexport) and _declspec(dllimport) directives. Do a Search on this board for declspec and you should find the most appropriate solution.
Regards,...
-
December 28th, 2000, 02:01 PM
Hmmm..., I think you have one of two options, either of which is not fun:
1. Rewrite the old DLL.
2. Get the source code for VC4.0's CString class, add it to your own project, rename it (eg.,...
-
December 13th, 2000, 10:08 PM
I didn't intend my comments to offend anyone, nor cause a language war. I personally like both C# and C++. There are lots of times when I don't care when an object gets destroyed, and for those...
-
December 13th, 2000, 04:55 PM
I have an ANSI C++ console application. I'm prompting the user for a password which I'm retrieving using the cin object. The problem is, I'd like for the password to not be shown while it's typed. ...
-
December 12th, 2000, 02:40 PM
Do you know how to TEA for a simple piece of text? If so, could you please write a couple of simple functions for me? On one, you pass the text to encrypt and it returns it encrypted. On the other...
-
October 2nd, 2000, 01:43 PM
No conversion's necessary. There are 2 possible equality operators that will handle the comparison:
BOOL operator ==( const CString& s1, LPCTSTR s2 );
BOOL operator ==( LPCTSTR s1, const...
-
October 2nd, 2000, 01:41 PM
Actually Bob, there are 3 versions of the global equality operator, according to the help:
BOOL operator ==( const CString& s1, const CString& s2 );
BOOL operator ==( const CString& s1, LPCTSTR...
-
October 2nd, 2000, 01:13 PM
This should work unless the user presses the Cancel button. Unfortunately you're not checking the return value of DoModal so there's no way to tell.
If you still have problems use the...
-
October 2nd, 2000, 10:53 AM
These days it's no longer true that C++ code is always faster than VB code, as you have discovered. The reason is that VB code is no longer interpreted; it's now compiled. And since VB programs...
-
September 29th, 2000, 01:59 PM
I agree that it's kind of strange. But if you can understand this C-style syntax:
void ReadMovieFile(record** ppMovie);
then you shouldn't have trouble understanding the *& notation. It's...
-
September 29th, 2000, 12:40 PM
I hear you and agree. One of the most powerful and unique features of C++ is stack allocation of objects. It's just so powerful, and not so much because of the automatic memory deallocation, but...
-
September 29th, 2000, 08:30 AM
I guess the best way to explain what I mean is to show you:
class CMyHelper
{
public:
CMyHelper(CWnd* pWnd) : m_pWnd(pWnd) { }
void Help()
{
// do something that uses m_pWnd
-
September 28th, 2000, 02:51 PM
I'm using VB's built in file I/O functions to write lines to a log file. It works fine except for one little thing: after I write a line out using the "Print #" command, the line doesn't get flushed...
-
September 28th, 2000, 02:44 PM
I've run into this scenario many times. I have a class with member object variables which I need to construct using the "this" pointer. Since on most cases I know that the member objects are just...
-
September 27th, 2000, 08:40 AM
Just like I showed you. Running Explorer.exe when the shell is not running makes the shell come up.
Regards,
Alvaro
-
September 26th, 2000, 01:45 PM
Yeah, I meant to say "multiple implementation inheritance" but I forgot the multiple part. Thanks for pointing it out.
Interfaces can be multiply inherited but some would argue that that's not...
-
September 26th, 2000, 01:41 PM
This shouldn't be an issue if the object is allocated on the stack, which I dare to say, is how the majority of objects are allocated in C++ programs. To be extra safe, however, I agree that it's...
-
September 26th, 2000, 10:36 AM
So you just need to call "Explorer.exe" from your VB program? In that case you can use the Shell sub:
Shell "Explorer.exe", vbNormalFocus
Regards,
Alvaro
-
September 26th, 2000, 10:30 AM
Oh yes, VB7 will be quite a different animal. Like C#, it will support single implementation inheritance (finally!). I've seen a few articles posted on the web talking about it... can't remember...
-
September 26th, 2000, 10:25 AM
Managed C++ does appear to offer the best of both worlds. But according to Tom Archer, it's a pain to use it...
I'd really love to see examples of how you'd accomplish the same thing using each...
|
Click Here to Expand Forum to Full Width
|