|
Thanks in advance.
Cheers,
George
|
|
|
|
|
|
|
Dear friends, i obtained certain code written in VC++ from some web site. The site also mentioned instructions to build the source code. I am unable to understand the following instruction:
Make sure these directories are in your PATH environment variable:
C:\MyLib\Lib
C:\MyLib\functional\Lib
Plese tell me what is the PATH variable and how can i follow the above instruction in VC++6 or 7
|
|
|
|
|
To display the PATH environment variable:
echo %path%
To add a path to the variable:
SET PATH=%PATH%;?newpath?
?newpath? stands for the path you want to add, for example C:\MyLib\Lib.
Remove the ?.
-Dominik
|
|
|
|
|
Still didn't understand where we have to do this ?? At command prompt ?? But i am currently in VC++ IDE and on compilation i got errors that path variable not found
|
|
|
|
|
In a Win9x environment, you can set the PATH variable through the autoexec.bat ('SET PATH=whatever', as detailed in the above post). In NT (and I suspect XP/2000, but I cant remember at the moment), from the Control Panel go to 'System', and then 'Environment'. From there you can change/add the PATH environment variable.
|
|
|
|
|
PATH is an environment variable. If you don't (yet) know what an environment variable is, you should probably study some documentation.
There are several ways to set an environment variable, but for this particular case I believe it would be easist to:
- Open a command console window.
- Type "set PATH=%PATH%;C:\MyLib\Lib;C:\MyLib\functional\Lib" followed by return (or enter if you like).
- Start MSDev from this same command console, so that it inherits this process' environment variables, including PATH. What this executable is, is probably depending on version of MSVC, but for v.6 it's msdev.exe.
|
|
|
|
|
hi. i am working on a MFC project.
when i Run my project this error Occures :
Debug Assertion Falied!<br />
<br />
program: demo.exe<br />
file: dbgheap.c<br />
line:1100<br />
<br />
Expression : _CrtCheckMemory()
what is the resean of occurence of this error and how can i fix this ?
|
|
|
|
|
It is most likely a buffer overflow if I remember correctly
|
|
|
|
|
How can I get "What's This?" help to work for status bar panes?
|
|
|
|
|
Hi :
I created a very simple dialog in a DLL. This dialog has only the OK, CANCEL , and a static text.
In my application, I create an instance of this dialog, for example :
#include <dlldialog.h>
....
CDLLDialog d ;
d.DoModal() ;
....
This will bring up the dialog. However, the dialog remains greyed out and does not response to mouse or keyboard.
Can somebody offer me advice on what I need to do, or at least point me in the right direction ?
Thanks.
|
|
|
|
|
Call DoModal from the Dll itself:
void CSomeClass::ShowDlalog(CWnd* pParent) // exported class
{
AFX_MANAGE_STATE(AfxGetStaticModuleState( ));
CDLLDialog d(pParewnt);
d.DoModal() ;
}
and call this function from client.
|
|
|
|
|
Hi :
It works after all.
I was creating the extension DLL which will give the compilation errors. A regular DLL wouldn't.
Thanks a lot !!
|
|
|
|
|
I want to install ipx protocol in VC++ or other languish . Please help me .
thanks a lot .
|
|
|
|
|
look at this link, i hope to be helpful.
http://www.unm.edu/~network/presentations/course/appendix/appendix_f/sld017.htm
-=Ehsan-de-Burge=-
mokhlesim
|
|
|
|
|
I need to convert bmp file to jpg file.
I haven't found anything that would explain it
Libjpeg is a messy library...
Please help me..
regards for your help.
|
|
|
|
|
GDI+ is your friend. Anything else is going to wrap jpeglib, and of those, I found paintlib quite good.
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not
as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
Of course, paintlib is not for free ;//
Could you help me to choose something really tiny and free?
|
|
|
|
|
Of course ? You said free, and paintlib has always been free. Are you sure it's changed or have you just made an assumption ?
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not
as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
|
|
ROTFL !!!!!!
Christian
No offense, but I don't really want to encourage the creation of another VB developer.
- Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael
P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not
as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
doh lol!!!1
todo....
:: insert inpirational text here ::
|
|
|
|
|
I'm looking for a snippet of code, which shows how one can convert a user SID to a text representation.
I'm writing an ATL component which allows the user to specify a useraccount name, and it will return a text representation of the SID for subsequent use for adding to groups/deleting from groups etc.
Anything would be great. Thanks.
|
|
|
|