|
As I asked earlier, I was asking about the quotes: are you using " or < and > and can you show the actual include statement?
Steve
|
|
|
|
|
I used the < > tag.The include statement is #include <openssl/e_os.h>.
Govindarajan.B
|
|
|
|
|
B.Govindarajan wrote: I am using #include <openssl e_os.h=""> in my code.
You need to give path till directory, containing opendssl folder.
Not of directory opendssl .
I'm talking about Tools-->options-->Directories .
|
|
|
|
|
Actually I gave the path like d:\openssl\openssl in Tools-->options-->Directories.Is it correct? Still i am getting error.My header file openssl.h is available in d:\openssl\openssl path.
Govindarajan.B
|
|
|
|
|
B.Govindarajan wrote: Actually I gave the path like d:\openssl\openssl in Tools-->options-->Directories.Is it correct?
In this case, you need to use
#include "openssl.h"
In simple words, compiler will look for headers to inlcude in given directories.
If you are using
#include <openssl/openssl.h>
then you should mention d:\openssl\ in Tools-->options-->Directories .
|
|
|
|
|
Hi Prasad,
#include <openssl/e_os.h>.
This is my header file in my applicaton .I used like this.
I have mentioned d:\openssl in Tools-->options-->Directories.
The header file e_os.h is available in d:\openssl directory.
Still i am getting error.
Also many header files available in d:\openssl directory whatever i am using in my application.Initially i am getting this error.
My project is available in D:\ directory.
help me.
Thanks in Advance.
Govindarajan.B
|
|
|
|
|
hi,
Now it is working well without error.
I include the header file #include <openssl/e_os.h>.
The header file e_os.h is available in d:\openssl.
I set the path d:\ in Tools-->options-->Directories.
Thanks.
Govindarajan.B
|
|
|
|
|
In simple words, file path including directories should be present.
i.e.
if you write
#include "e_os.h" and set path d:\openssl that will also work.
|
|
|
|
|
Keep in mind, that in the Tools\options\Directories, there is a selection combo box that lets you set directories for .exe files, include files, libraries, etc.
I hope you put your path in the correct section.
Good luck.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
How to get the path of "Temporary Internet Files"?
[ in MicroSoft Vista, when a directory is created from ActiveX, it is created in Temporary Internet Files keeping the same hirearchy given the CreateDirectory() API. This is called folder virtualization in Vista. I need to access the same folder from ActiveX. So a general way to get the Temporary Internet Files expecting]
|
|
|
|
|
As for accessing the 'Temporary Internet Files' from the ActiveX you can use the SHGetFolderPath API with the CSIDL_INTERNET_CACHE flag.
Alternatively you can get the path from the registry 'HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders' but Microsoft does not recommend this method.
In Vista after virtualization it will actually be created in 'C:\Users\<username>\AppData\Local\Microsoft\Windows\Temporary Internet Files'.
It is interesting to note that under this folder there is a folder called Virtualized which is not actually visible, but if typed in the address bar of windows explorer, its contents will be shown.
« Superman »
|
|
|
|
|
Yes, a virtualized folder is creating. When i tried to CreateDIrectory()
"D:\Test\MyDir\", it created the same like D:\...\...\Temp In Files\Virualized\D\Test\MyDir.
But i am downloading an exe to the path and want to invoke it. SInce the folder is created differently, i can't invoke it. As the folder is created by Vista my ShellExecute fails
|
|
|
|
|
HI,
While building the code i am getting the error like # import _ library missing can any one help in this regard
Raj kumar
|
|
|
|
|
You asked this yesterday. Here[^] is my reply. Did you go through that link? Did you understand what is stated?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Here is the problem. I am working with Anisotropic mapping mode. I have aviewport of 240 X 240 and the vieport origin is set at 120, 120. Now I draw graph on the window and viewport origin is also set. When I pan my graph I change the vieport origin to see the desired portion of the window mapped onto the viewport. Everything is working fine till here. No problem. But when I use A bitmap from the GDI+ to use it in double buffering, I am not able to draw the desired portion of the window onto this Bitmap. Is there any way to map windows onto the images or bitmap by setting the origin or any otherway.
My problem starts when I use double buffering as images only draw the part which is in the fourth quadrant of the graph..
My graph is pending,.......
Can I program Money?
|
|
|
|
|
I want to avoid the creation of document and make previously created documents availble if the available display adapter memory is not enough for the new document.
I am checking for available memory in CChildFrame::OnCreateClient() and return FALSE if it is not enough. But I am getting the message "Failed to create empty document".
Any help would be greatly appreciated!!
Best Regards,
Suman
|
|
|
|
|
This method is called during call to OnCreate . Returning FALSE from it indicates failure in creation. Hence message is like that.
|
|
|
|
|
Thanks for help!
I am trying to avoid creation of new document without any message.
Thanks & Regards,
Suman
|
|
|
|
|
Best place I feel, you can handle is in CWinApp::OnFileNew .
Your code could look like this,
void CMDIApp::OnFileNew()
{
if (success)
{
CWinApp::OnFileNew();
}
else
{
}
}
|
|
|
|
|
Thank you very much for great help!!
Best Regards,
Suman
|
|
|
|
|
Hi
I want my application to convert to unicode support so for this is it necessary to convert all char data type to TCHAR and after conversion my application will it support ASCII characters?
Thanks and Regards
M.Atul
M.Atul
|
|
|
|
|
|
You should define both UNICODE and _UNICODE . The former is for the Windows include files and the latter for the CRT. See here[^].
Steve
|
|
|
|
|
To add to Leah_Garrett's reply...
If you use TCHAR types and the associated string functions (_tcscpy(), _tcscmp(), etc.) you'll
be able to use the same code for both unicode and non-unicode builds.
You can still use single-byte ASCII ("char" type) in a unicode build but you'll need to use the
type explicitly.
Mark
|
|
|
|
|
Hi to all,
i'm new of that forum, it's my first post!
well, i have an array (of integer) with only 8 elements: i need to use merge sort on this array, to find merge sort order time! Sure it's very very small..! I try to use this code:
#include "time.h";
clock_t start, end; double time;
...
start = clock();
mergesort(...);
end = clock();
time = end - start /CLOCKS_PER_SEC;
on VC++ 2005 but the vaue of var. time is 0 (can merge sort be too fast to find order time by this code??).
I can't enlarge array (to have a bigger order time), so how i can do to find order time?
Thanks a lot,
Luca
|
|
|
|