|
I create a dll for a c# program. In main program, c# call this dll by DllImport.
But the dll doesn't work, I try to debug the dll with c# program as command. But to my surprise, the break point in dll is useless. The C# program will run the line to call the dll but never enter into its code. We can watch the output window, and find it load some dlls but not the one to bedebugged.
Does c# program don't load dll which is called by DllImport?
Can anybody tell me how to debug in this situation?
Thank you!
|
|
|
|
|
Hi
I have a dialog based MFC application which in which i need to show a GIF animation file.
I want total control of at which position to show the GIF file.
Is there any source file or demo available using which I can show my GIF animaiton file.
Or is there any ActiveX control availabe to show this GIF file
Thankx in advance
Amarelia Maehsh
Gujarat
India
|
|
|
|
|
u can get some idea at
http://www.codeproject.com/staticctrl/gifanimation.asp
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi vikas,
You are right, I have used the same example you stated. But when I used my animation file which is littlebit larger in size, it doesn't fits into the given Static Control.
How to move the GIF image at exactly 0,0 postion and show my animation properly.
Thankx advance..
Amarelia Maehsh
Gujarat
India
|
|
|
|
|
Amarelia wrote:
I have a dialog based MFC application which in which i need to show a GIF animation file.
Try this Cbitmap derived Class :-
http://www.codeproject.com/bitmap/extendedbitmap2.asp[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Gdiplus::DrawImage function may be useful for you.good luck
Her şey güzel olacak
|
|
|
|
|
hi canu please tell me h ow to connect to a database created in microsoft access and acces data sign CDatabase class.
|
|
|
|
|
tejaswi_teja wrote:
tell me h ow to connect to a database created in microsoft access and acces data sign CDatabase class.
Have a look here :-
Access Database using CDatabase class[^]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Here is a small code from a project for u
CDatabase database;<br />
CString SqlString;<br />
CString sDeviceID,sDeviceName,sStatus;<br />
CString sDriver = "MICROSOFT ACCESS DRIVER (*.mdb)";<br />
CString sDsn;<br />
CString sFile = "D:\\PMR\\vc++\\conndevices.mdb"; <br />
<br />
sDsn.Format("ODBC;DRIVER={%s};DSN='';DBQ=%s",sDriver,app_path);<br />
<br />
database.Open(NULL,false,false,sDsn);<br />
<br />
CRecordset recset( &database );<br />
<br />
<br />
SqlString="SELECT DeviceName FROM conndevices ";<br />
<br />
<br />
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
This might help.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
|
If anyone has done a project on
voip ,then please tell he how to go for that
Is ther any code availabe for PC-to-PC in vc++.
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
how do you do a refresh event using MFC? thanks
|
|
|
|
|
Refresh what?
If it is the window or dialog, then: RedrawWindow();
this is this.
|
|
|
|
|
for example i want to refresh the window containing an enhanced image
|
|
|
|
|
If the window you want to refresh was created by you, then you can take the handle of that window, and refresh it using RedrawWindow(); Like:
m_pEnhancedWindow->RedrawWindow(); //where m_pEnhancedWindow is the pointer to that window.
I don't know how you are using the window. I mean if you have its handle, pointer etc.
If this does not solve the problem then a little code would help.
this is this.
|
|
|
|
|
hi i am tryin to join 2 byte array into one.. any hint on how to do so?
example..
byte[] ok1=new byte {0x00,0x10,0x11};
ok2 = txtStatus.Text + (Convert.ToChar(13));
byte[] ok_byte = Encoding.ASCII.GetBytes(ok2);
byte bigOK=new byte[100];
now guys i tryin to join add ok2 to ok1
and put into big OK..
there fore by sending bigOK i sent out ok1 n then ok2 all at one time..
pls help..
|
|
|
|
|
Your example does not clarify things (at all).
It sounds like you want to concatenate two strings (s3 = s1 + s2), or concatenate two arrays (vectors).
Oh MFC right? In that case you can also use CString or CWordArray.
INTP
Every thing is relative...
|
|
|
|
|
John I think he is talking about .net stuff.
with little knowledge of it I can say, why dont those two byte arrays converted into strings ,add it , and again cnvert it to Byte array.
|
|
|
|
|
I really do not know what he is talking about. Accept that it is based on what came before.
prasad_som wrote:
with little knowledge of it I can say, why dont those two byte arrays converted into strings ,add it , and again cnvert it to Byte array
Ignorance; what else can I say.
INTP
Every thing is relative...
|
|
|
|
|
with little knowledge ?
jus 4 fun
V
|
|
|
|
|
Does anybody know how to work with that type of GPS, i mean differencial gps, that can recieve data from the local stations... And can i write a programm to work with that type of GPS without any other software?
|
|
|
|
|
Rassul Yunussov wrote:
Does anybody know how to work with that type of GPS, i mean differencial gps, that can recieve data from the local stations...
What do you mean, how is the system essentials?
Rassul Yunussov wrote:
And can i write a programm to work with that type of GPS without any other software?
Theoretically, if you have a DGPS terminal it's enough to retrieve the corrected data.
In Europe and a couple of years ago, if you wanted to use this system with a simple GPS (not differential enabled) you needed a decoder software for the received signal from the local radiostations to preprocess the data before using it in your final software because it was encoded with a system called RASANT.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
Do you mean that if I can work with DGPS as like with simple GPS?
And where can i find comprehensive information about DGPS? And about local radiostations? But i know that ArcPad needs some addons for working with diff. gps... What do you know about this?
Thank YOU very much for participating
|
|
|
|
|
Rassul Yunussov wrote:
Do you mean that if I can work with DGPS as like with simple GPS?
No, you'll need a hardware piece that'll decode the differential information from the radiostation.
Rassul Yunussov wrote:
And where can i find comprehensive information about DGPS?
DGPS[^] basis
Rassul Yunussov wrote:
And about local radiostations?
I don't think you'll find a global list. Look at the most important radiostation of your area to know if they transmit the differential info. In USA there's the Coast Guard that transmits it:
Coat Guards[^]
Rassul Yunussov wrote:
But i know that ArcPad needs some addons for working with diff. gps... What do you know about this?
No idea
I hope it helps!!
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|