|
HI, thanks for the reply, i put the memset in the constructor.
i am guessing that it has something do to with different heap memory allocated for
dll, and AP?
--------------------------.cpp---------------------------------------------------
CIPCamDll::CIPCamDll()
{
memset(&m_t,0,sizeof(s));
session_id = 13;
return;
}
------------------------.cpp------------------------------------------
|
|
|
|
|
Make sure your exe and dll use the same variant (static/dynamic linking) of the C run-time library.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
hi
I use Turbo C3.0.How to:display file.bmp> 256 color VGA or with what is
.
I have hard drive 80G>Devide:C:\,D:\,E:\
How to write bootsec boot C:\,not format D,E
How to write & load,init kernel with TC 3.0 ?
How to:compile kernel with TC 3.0?
-----------
How to:Draw window(GUI) have close button,resize,edit box
with VGA
Please, full code & guide:compile writing kernel
Please, full code & guide: show file.bmp > 256 color on screen
Using TC 3.0
Thanks
Vietnam
by;tuan1111
|
|
|
|
|
Are u sure you can compile Windows kernel?
And i dont think you can create the windows GUI directly with a VGA using tc3.0
Windows actually works on wrapper code written on VC++ over the lower layer driver and C++ code.
Yes you can create those but it will take a lot of effort.
i.e you have a write wrapper
|
|
|
|
|
What does this message mean in a debug mode?
First-chance exception at 0x5d0c373e in DemoKey.exe: 0xC0000005: Access violation writing location 0x004456ec.
I get this when I am exiting my application which is property sheet based?
What have I not done before exiting the application or is it Normal?
Thank in advance
|
|
|
|
|
Did you use of pointers in your program?
|
|
|
|
|
|
Use of invalid pointer.
Pointer which is deleted most probably
so once you delete a pointer
intialize it to zero.
|
|
|
|
|
I get this when I am exiting my application which is property sheet based?
So why on Exit and not before?
|
|
|
|
|
when exiting, it deleting some pointer which is already deleted.
Check all the pointers.
|
|
|
|
|
You are trying to write at an invalid memory location. On of the main cause of this problem is that you are accessing an object which has been released (but there could be other reasons too). If you want to find the cause of the problem and fix it, you'll need to use your debugger to track down the problem.
|
|
|
|
|
Hi
I read a Byte array from a file. How can I convert this array to BITMAPFILEHEADER struct?
Best regards,
|
|
|
|
|
Assuming the contents you have read into the byte array will fit into a BITMAPFILEHEADER structure,
BITMAPFILEHEADER* pFileHeader = reinterpret_cast<BITMAPFILEHEADER*>(byteArray);
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
First you have to make sure that file format confroms to the BITMAPFILEHEADER structure.
If you've, for instance, raw bites of an image, then you've to programatically create an appropriate BITMAPFILEHEADER for the data.
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
I need help please, i have to use TStringList object so if someone has an example how to use it and what are files should include them because i have some problems to do like this :
TStringList *Liste = new TStringList;
thank you for your help
|
|
|
|
|
Please, let me Google that for you ...
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
thank you for the search but i need examples in C++.
|
|
|
|
|
I can see C++ examples, in the results found.
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.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
ok , can you give me some of them ?
|
|
|
|
|
can any body help me for, showing pop up window in taskbar..
like the way windows media players shows songs and visualisation in minibar(when its minimised).
|
|
|
|
|
What you need is a Deskband.
There are 4 types of deskband objects.
3 of them reside inside internet explorer.
The last one is on the desktop.
Look at the second image in the article Implementing Shell Desk Band and Internet Explorer Bars[^]
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
In my app I have defined a dialog box with multiple static text items.
I am dynamically creating the dialog box when the user select a menu item.
I'm able to set the background color of the diaglog box by adding
ON_WM_CTRLCOLOR msg handler and calling m_brush.CreateSolidBrush in the
OnInitDialog(). I would like to set the color of the static text items on
the dialog box. How to do ? I know I need to use some type of CDC with
SetTextColor() API. I would like to set the color of these items when the dialog is created and also update some at run-time based on events happening in my app
Help, Windows/MFC "newbie"
|
|
|
|
|
See the Extras section of this article.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
In the OnCtlColor handler in the dialog, look for CTLCOLOR_STATIC and then call the SetTextColor method of the CDC class like pDC->SetTextColor(...
Look at the documentation for CWnd::OnCtlColor[^]
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Hi,
I'm looging to use my old Axim Pocket PC with PPS2003 OS as a clock and to not let it on 24/7 I'd like a option to let it turn on at let say 6:00 and of at 22:00 automatically.
|
|
|
|