I am looking for LCD modules about 64 x 128 pixel that have fast refresh rates. If anyone knows of any, especially if they have the SED1565 driver, could ;you let me know?
Thx,
MK
I am trying to interface a cog lcd sed1565 driver to a pic18f8xxx series mcu.
If anyone has any good, general schematics and/or sample code, wich would speed-up my process I'd be very thankful.
Hello,
How does one create a single global object that cannot be minipulated in any way? It has to be created immidiatly when the main process starts and must not be used to create more of the same type (refering to class types)?
I was thinking there is a way through the defualt constructor...
Is there anyway to access the parallel port from vc 6 or vc.net without having to have to buy kernel mode .dlls.
I would think one should be able to use the win32 api?
tanx
Sorry, yes I did change the code in the copy constructor. I had that originally, I was just trying different ways. This is what happens. I know what is right, but I start to doubt myself when I can't get it to work.
Whatever the case it does work now. The pointer has to be released first. That...
Well this is interesting.
when I add:
Foo.fpReqSer = NULL;
in:
Foo.fpReqSer = &Service1;
Foo.RequestService();//works just fine
Foo.fpReqSer = NULL; //new code
b Foo1(Foo);
Foo1.RequestService();//works just fine
Can't hold multiple references to a global function. Is it a threading question?
Ok thank you for the samples; however, I am still at a loss.
Here is another attempt:
calss a
{
public:
void (*fpReqSer) (void);
void RequestService(void);
};
void a::RequestService(void)
{
//raise event
fpReqSer();
}
NOW
class b: public a
{
whatever...
};
NOW
void...
Ok thank you for the samples; however, I am after something else. I don't wish to use an event object until later. As for the code by IonFilipski, I have to be honest, I have no idea. To cryptic.
Here is another attempt:
calss a
{
public:
void (*fpReqSer) (void);
void RequestService(void);
}...
First of all, thank u all for the help so far! It is very quick and right on the money.
Now, I wish to use a function pointer as an event raised by a class type inherited by another. This is in a basic console, single thread for now as I am just testing the class hierarchy.
I have one public...
Yes that works. It seems obvious now. Set the pointer to the zero columm and zero row. Of course, now the question is, how do you access the strings with the pointer? More to the point, what does the array look like in memory with
COLUMN = 15
ROW = 30
tanx
I cannot set a pointer to a multi-dementional array such as:
const string sTable[ROWS][COLUMNS];
trying:
string sp* = &sTable;
does not work.
trying:
string &sr = sTable;
does not work.
I have attempted different loops using the new operator to no success also.
Is their not a way to...
I can get the CreateProcess() to work well enough, but I don't know what the first parameter to it is.
What is a module name; the executable's name is not working??? It does work for the second parameter to the CreateProcess () however.
Thanks for the info. Well me get this right; one creates a type and passes it to the thread creating function where it must be type-cast to a void pointer. The new thread receives the pointer that is now pointing at an address that has data in it, but does not know the bounds of the data. So one...
Yes those are very good points I will most definitely consider in the future. However, I was looking for an explanation as to why the fourth parameter (which is the parameter to the new thread) has to be type cast to void*. I realize it is a type LPVOID, so do you not lose all the data the...
Could someone please point me in the right direction?
I need to find detailed documentation, beyond Platform SDK, on the CreateThread (), especially how it passes the single parameter to the instantiated Threadproc ().
Many thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.