|
GMP[^] supports arbitrary precision floating point math.
|
|
|
|
|
Respected all
Regards!
I have 2 bitmaps i.e
m_sBitmap1="C:\\abc.bmp" //large in size
m_sBitma2="C:\\xyz.bmp"//having small size.
now i have to load both bitmaps in the form that small bitmap(xyz.bmp) display on a specific position on the large(abc.bmp)bitmap as i want.and then both bitmaps visible to me.
plz guide me with source code.
From
david
david
|
|
|
|
|
Where you would like to display second bitmap?
Under first bitmap?
To display bitmap see this link.
http://www.codeproject.com/bitmap/bmpscroll.asp
|
|
|
|
|
Respected haranadh
I want to dispaly 2nd bitmap somewhere on first bitmap where already some place is reserved of the 2nd bitmap and also i have X and Y position for the 2nd Bitmap,but how to do it ,plz push me.
Regards!
david
|
|
|
|
|
respected haranadh
I want to display 2nd bitmap over first bitmap on a specific position which already reserved for 2nd over first bitmap,and also i have X,Y position for the 2nd where i want to diplay,u can say that first bitmap bcome as background for the 2nd bitmap.,, but how to put the 2nd bitmap over first facing problems for it,plz push me.
hope things will now clear to you.
Regrards
david
|
|
|
|
|
A bitmap becomes a drawable surface if selected into a device context.
Essentially, given a "screen DC", you can create two memory DC with CreateComaptibleDC and then select the bitmaps in their respective DC.
A that point, the content of a DC can be painted over the other with the BitBlt function.
Depending on the framework you are using, those Win32 functions are wrapped in appropriate classes (MFC or WTL have their own - see the respective documentation).
Don't forget to restore the DCs to their original content before destroy them.
2 bugs found.
> recompile ...
65534 bugs found.
|
|
|
|
|
Hi All
When I include "CfgMgr32.h" header file then inprogram then it gives error like
/*------------------------------------------------------------------------------------------------------------------*/
Compiling...
Device_Info.cpp
c:\program files\ntddk\inc\cfgmgr32.h(122) : error C2146: syntax error : missing ';' before identifier 'LOG_CONF'
c:\program files\ntddk\inc\cfgmgr32.h(122) : fatal error C1004: unexpected end of file found
Generating Code...
Compiling...
Device_InfoDlg.cpp
c:\program files\ntddk\inc\cfgmgr32.h(122) : error C2146: syntax error : missing ';' before identifier 'LOG_CONF'
c:\program files\ntddk\inc\cfgmgr32.h(122) : fatal error C1004: unexpected end of file found
Generating Code...
Error executing cl.exe.
Device_Info.exe - 4 error(s), 0 warning(s)
/*------------------------------------------------------------------------------------------------------------------*/
Infact I want to use Setup API and some other s of DDk which are declared in "cfgmgr32.h".
So Please tell me what should I do to overcome this problem.
Thanks.
|
|
|
|
|
|
Dear jlr
I have included <windows.h>.
still I am getting the same problem,
Please reply.
Thanks.
|
|
|
|
|
rajeevktripathi wrote:
I have included <windows.h>
Ok, show us all the includes in your source file, please.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Thanks jlr
infact I was having problem with wrong order of include files in directory option.
Anyway Now program is running well.
Once again Thanks for yours valuable conttribution & help.
Bye
|
|
|
|
|
|
I was installed C++BuilderX(and some program require) but I can not run sample for Mobile App.Please help me!
Thanks.
Hung desu.
This is erro:
bldmake -v bldfiles
abld -v makefile WINS
External process exited with error code : 1
abld -v reallyclean WINS UREL
External process exited with error code : 1
Clean finished
bldmake -v bldfiles
abld -v export
External process exited with error code : 1
abld -v makefile WINS
External process exited with error code : 1
abld -v resource WINS UREL
External process exited with error code : 1
abld -v library WINS
External process exited with error code : 1
Compile finished
abld -v target WINS UREL
External process exited with error code : 1
abld -v final WINS UREL
External process exited with error code : 1
abld -c build WINS UREL
External process exited with error code : 1
abld -w build WINS UREL
External process exited with error code : 1
Build finished
|
|
|
|
|
It would help it you told us what "C++BuilderX" is. Presonaly, I have never heard of it.
INTP
"The more help VB provides VB programmers, the more miserable your life as a C++ programmer becomes."
Andrew W. Troelsen
|
|
|
|
|
|
i don't what the Mobile App sample is supposed to be, but if it uses MFC or Microsoft specific classes, you cannot compile with a compiler that don't have the source of the libraries...
i don't know how C++BuilderX works, so a cannot tell you wht these eror messages refer to... see the doc of you compiler/linker (maybe) for that.
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Make this question in a Symbian forum, like www.newlc.com. By the way, it is not a good idea (and not very polite too) to keep crucial information hidden from the people you are asking to help you.
|
|
|
|
|
Hello all, I recently compiled a release build of a project and ran into initial problems that would cause the application to fail. After correcting these problems (program appears to function properly w/ no crashes), I decided to send it to some friends to test out. On the first attempt, my friend reported he receive a msg asking for MSVCPP70. Thinking that this might be a MFC dll issue i went into my project settings and set the option to use mfc in a static library. After doing this, my program will run, except for a feature which communicates w/ a server via a worker thread. The odd thing is... the application runs flawlessly on my own system.
What issues do you think I am running into? Are there dlls that i should be coupling w/ my release build?
|
|
|
|
|
Knave* wrote:
What issues do you think I am running into?
It's hard to say from the info you provide...
Knave* wrote:
my program will run, except for a feature which communicates w/ a server via a worker thread
So, what happens with that feature? Does it give some error (which)?
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Knave* wrote:
MSVCPP70
Check the dll's used with Dependency Walker.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
Sounds more like a firewall/network problem to me. Where is the server located? Is it accesible from your friend's PC?
|
|
|
|
|
Hi,
I got error code 10013 for the follow fuction. But I can't fix the problem, some body help , please!!!
if(WSCInstallProvider( &filterguid, (unsigned short *)filter_path, &iplayerinfo, 1, &errorcode) == SOCKET_ERROR)
{
AfxMessageBox( "WSCInstallProvider Error : " + itos( errorcode ) );
return;
}
|
|
|
|
|
Just in case you haven't already read it, the following is from the documentation of Windows Sockets Error Codes[^] in MSDN:
WSAEACCES
10013
Permission denied.
An attempt was made to access a socket in a way forbidden by its access permissions. An example is using a broadcast address for sendto without broadcast permission being set using setsockopt(SO_BROADCAST).
Another possible reason for the WSAEACCES error is that when the bind function is called (on Windows NT 4 SP4 or later), another application, service, or kernel mode driver is bound to the same address with exclusive access. Such exclusive access is a new feature of Windows NT 4 SP4 and later, and is implemented by using the SO_EXCLUSIVEADDRUSE option.
See also: Windows Sockets Network Programming - Appendix C: Error Reference[^]
Hope that helps,
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
Besides, what's the type of filter_path ? Why do you need a cast to (unsigned short*) ?
Hint: if filter_path is a char* , as I suspect, simply casting to (unsigned short*) won't work.
--
jlr
http://jlamas.blogspot.com/[^]
|
|
|
|
|
<br />
PIMAGE_DOS_HEADER pDosHeader;<br />
PIMAGE_NT_HEADERS pNtHeader;<br />
DWORD NewEntryPoint = (DWORD)0x40123456;<br />
<br />
HANDLE hFile;
HANDLE hFileMapping;
<br />
hFile = CreateFile("Example.exe",FILE_ALL_ACCESS,FILE_SHARE_READ,0,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0);<br />
<br />
hFileMapping = CreateFileMapping(hFile,0,PAGE_READWRITE,0,0,0);<br />
<br />
pDosHeader = (PIMAGE_DOS_HEADER)MapViewOfFile(hFileMapping,FILE_MAP_READ | FILE_MAP_WRITE,0,0,0);<br />
<br />
pNtHeader = (PIMAGE_NT_HEADERS)((DWORD)pDosHeader + (DWORD)pDosHeader->e_lfanew);<br />
<br />
char apa[1024];<br />
itoa((DWORD)pNtHeader->OptionalHeader.AddressOfEntryPoint,apa,1024);<br />
MessageBox(0,apa,"a",MB_OK);<br />
<br />
(DWORD)pNtHeader->OptionalHeader.AddressOfEntryPoint = (DWORD) NewEntryPoint;<br />
<br />
this:
<br />
pNtHeader = (PIMAGE_NT_HEADERS)((DWORD)pDosHeader + (DWORD)pDosHeader->e_lfanew);<br />
makes an error like this:
Unhandled exception at 0x00411b52 in pan.exe: 0xC0000005: Access violation reading location 0x0000003c.
how can I make this work right?
|
|
|
|