|
|
Hello,
I am looking for a VC++ dynamic DLL loading sample without MFC class.
I work with Visual C++ 2005 Express, then I cant compile MFC.
I have found some articles about C++ dynamic DLL loading on Code Projet, but so fare all needed MFC.
Thanks,
Tintin92
|
|
|
|
|
|
hi
i want to tranfer data using data copy.
I want to tranfer a vector. how can i do that
thanks
gayatri s
|
|
|
|
|
Please elaborate.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
[my articles]
|
|
|
|
|
Can you be more specific.
|
|
|
|
|
If you mean WM_COPYDATA when you say data copy, see here[^] for an example.
And please be very clear on what you want.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Transfer from where? To where?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Dear all,
Is it possbile show the formview dialog(which as some controls) whenever i press the menu item in an SDI application. And this formview dialog should be act as modeless dialog...
Manjunath S
GESL
Bangalore
|
|
|
|
|
Do you want to have other CFormView ?
|
|
|
|
|
In my SDI application , there is menu item named "BPB"
when i press it should display a set of the read only edit box with some static headings
since CFormView handles the scroll by itself i planned to use it, Is it possible to use
CFormView for this type of display, Actually i get the data from one of the structure that should be displayed in the read only edit box.
Manjunath S
GESL
Bangalore
|
|
|
|
|
Do you want your program scroll itself ?
|
|
|
|
|
Yes, Dialog with scroll bar...
Manjunath S
GESL
Bangalore
|
|
|
|
|
For DirectSound programming, the tools i hv installed are visual studio.net 2003 and the DirectX SDK November 2007. But when i debug any of the program using DirectSound and even any of the DirectSound c++ sample in the DirectX SDK also came out with errors. I try to ask at msdn forum but there are too chaos for this topic and no response.
error code like this:
in D3D10.h
CaptureSound error C2061: syntax error : identifier '__out'
CaptureSound error C2061: syntax error : identifier '__in'
CaptureSound error C2059: syntax error : ')'
CaptureSound fatal error C1903: unable to recover from previous error(s); stopping compilation
1) What was going wrong?
|
|
|
|
|
Not sure this is a Direct Sound issue particularly __out and __in are code checking symbols defined in sal.h which is part of the C-Runtime, MSVCRT.DLL and relatives. Maybe your Direct Sound header has a dependency on some C Library header that they've not included. Try for example adding #include <stdlib.h> on the line before you include D3D10.h or whatever it is that is pulling in that header.
Nothing is exactly what it seems but everything with seems can be unpicked.
|
|
|
|
|
Hello everyone,
I am using Windows Server 2003. I am confused about the available (memory) value under Physical Memory category.
From search there are two meanings,
1. available means free physical memory, not used yet by any application;
2. available means the total size of physical memory user application could use (exclude System Cache and Kernel Memory, which user application can not use), the user application may actually already used some of them, and they are not *all* free.
(2) is from http://articles.techrepublic.com.com/5100-6346_11-5071997.html
--------------------
Since you know that at this point the operating system is making 208 MB of physical memory available to running programs and that the Total is 243 MB, you can come up with a rough estimate of the actual size of the page file by subtracting the Total Commit Charge from the Available Physical Memory. In this case, you end up with 35 MB.
--------------------
My question is, which one do you think is correct?
thanks in advance,
George
|
|
|
|
|
Programs use Available memory that you see on the Task Manager (Physical Memory section).
|
|
|
|
|
Thanks Hamid,
1.
You mean it means the memory application could use, and may already use some of them. Right?
2.
So, available memory is not free memory, right?
regards,
George
|
|
|
|
|
Whats different between available and free, programs can use of it.
|
|
|
|
|
Hi Hamid,
Available means process could be utilized, but may be still used by others, like standby list.
Free means not only could be utilized, but not used by others.
Any ideas what available memory from task manager mean?
regards,
George
|
|
|
|
|
1. import a 32bpp .cur into resouce, the color changed
2. if I call LoadCursorFromFile in OnSetCursor , will windows read from the disk every time the function is called?
PS: it the 1st question can be solved, the 2nd can be ignored.
|
|
|
|
|
I think you can ignore the question 1 when you import cur into resouce,then you can try run it.
|
|
|
|
|
Off memory, VS6 doesn't handle deep colour depth very well. You can get around this by making a cursor it can handle, then replacing the cursor file in the res directory with your shiny new one. Just don;t try editing it...
And yes, if you do LoadCursorFromFile, it will do what the function says. Disc caching should help a lot though.
But what's wrong with storing a HCURSOR somewhere, and using that, rather than loading it afresh each time?
Iain.
|
|
|
|
|
Perfect answer, thanxxxxxxxxxxxxxxxxxxxxx very much.
|
|
|
|
|
Hello, is it possible to somehow use directives that start with a "#" when declaring a #define?
What i want to do is this:
#define ENABLE_DEBUGGING #include "my_header_with_overloaded_new_and_delete.h"
so i can begin each file with that macro that includes that header, and on platforms that does not support that header's functions, that macro would be defined as nothing.
If i try to compile the line above, i get alot of errors, example:
error C2017: illegal escape sequence
error C2121: '#' : invalid character : possibly the result of a macro expansion
So i guess the define gets confused by the # of the #include.
I know there are other ways to do this, by just #ifdef the include in each file. Example:
#ifdef DEBUGGING
#include "my_header_with_overloaded_new_and_delete.h"
#endif
But i want to keep it to one line if possible. Is there anyway to use # directives in #define's?
Thanks in advance.
|
|
|
|