Please explain in a bit more detail!!!
Probable cause may be(I think so..)
1.Might have stuck somehwre in some loop.
2.Resources are not getting free..
Hi,
I did it on Win32-SDK based programs...Steps are
1.Create tooltip window in WM_INITDIALOG as-
hWndToolTip = CreateWindowEx(0, TOOLTIPS_CLASS,NULL, WS_POPUP |TTS_NOPREFIX|TTS_ALWAYSTIP, CW_USEDEFAULT, CW_USEDEFAULT, 10, 10, hDlg, NULL, hIsntance, NULL);
Then fill the names of controls in...
I don't have much experience with MFC but sure I can tell you SDK way
1.I loaded bitmap as IDB_YELLOW resource, from a file which has 16 by 16 bitmap.
2.Load Bitmap 16 by 16 using something like this
HBITMAP hBitmap;
hBitmap = LoadBitmap(hInst,MAKEINTRESOURCE(IDB_YELLOW))
3.Load bitmap on...
After getting your printer name route is straight forward
StartDoc
StartPage
...
TextOut(PrinterDC,x,y,Text,strlen(Text)...
.....
EndPage
EndDoc
....
Hope it helps
I think apatterno is right...
anyway you can use APIs like GetDlgItemText(xx..) and SetDlgItemText(xx...) to read from edit 1 and display that text in edit2...
but where exatly are you seraching the text of Edit1 ..in the file or where
Hi
I think this yours sample is not much clear as even the usage of structure too..But I gave a try with your pointer problem ..Ok i picked up whatever you posted..Akarui is right upto some extent ..pointers are not much helpful if memory location to be used is not much clear..at least i prefer...
You can refer examples given in msdn for Memory Mapping of files too..this example is given in MFC as well as for SDK where interprocess communication is concerned
ok do one thing go in Project->Settings options there modify what complier says about
1.pif.obj : error LNK2001: unresolved external symbol _LogOptions
2.Release_External/Project64.exe : fatal error LNK1120: 1 unresolved externals
1 means settings are looking for switches in Project Options...
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.