|
But that is how i have used a dll created in VC++.
I knew that method, so i adviced.
May be that is wrong for him,
but no one perfect here,
This is an open forum and everyone is here
to help each other, whatever they can.
it's not necessary that the answer has to be the perfect one
There are many ways to do one single thing.
Hope u get it.
If you can't give solutions u r not supposed to
say wrong to anyone.
Got it!!!
Pramod
|
|
|
|
|
Your methods will work for COM dll's only. VS just writes a COM Wrapper for you.
|
|
|
|
|
That is certainly true, but his point was that he's not supposed to be afraid to post a reply to someone's question just cause his answer might not be 100% correct.
This is not medical advice being given here. There is no law being broken if someone gives mistaken advice.
This is a community forum where people are encouraged to contribute. There is no rule that tells people that their contributions are not welcome unless they are perfect.
|
|
|
|
|
I agree wholeheartidly, I responded because he seemed surprised that his answer was taken as incorrect without explaination as to the problem!
Notice i didnt chastise him for responding with what he thought was a good answer - that was somebody else!
|
|
|
|
|
I've seen many applications that create a dump file when a crash occurs. The file can later be analysed by the developers to diagnose the reason for the crash. Is there a way I could create a crash dump from my application using a third pary library of a .NET class?
|
|
|
|
|
Hi,
i thing, in any .Net language you can create a "Tracing" class
to report all crash.
So you can use try{your code}catch{... get the error crash write and save it in a .log file} in C# or VB .Net.
best regard
Adiphe
"...all is simple, but there is always simpler ..."
-- modified at 6:53 Thursday 23rd March, 2006
|
|
|
|
|
Like the other reply said, tracing is normally ok, with an exception stack trace. If you want more, you can search for info on the SOS.dll for windbg that allows you to inspect crash dump files (not that I know how to create them, but im sure the docs will tell you).
|
|
|
|
|
Hi,
I want to create an audio file (.wav or .mid) with C#.
The sound quality played should be different according to some
values e.g. 3, 6 1 etc...
Please how can i do it?
best regard
Adiphe
"...all is simple, but there is always simpler ..."
|
|
|
|
|
Hi!
You might want to search the articles about wave audio here on CP, for example this article[^] explains the internal structure of a wave file.
If you store PCM data inside the wave file (what you usually do) then you'll see that sound quality values like "3, 6 1 etc..." don't make sense, you'll have to specify the sample rate, bits per sample and channels (for example, 8000Hz 8bit mono is low quality, 44100Hz 16bit stereo is CD quality).
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
I have this listview that is populated using an arraylist, I have check boxes assigned to this listview, whenever the user selects a check box the index of the checked item must be returned and the item at that index within the arraylist must be removed.
My problem being the following. The actual item.checked can only be used when the itemcheck event has completed, so you can't do that within the event cause it hasn't occured yet.
Anyone any ideas?
Thanx in advance.
|
|
|
|
|
Hi
What then do you want !!
Ahmad Shaban
|
|
|
|
|
the index of the checked item must be returned and the item at that index within the arraylist must be removed.
|
|
|
|
|
Hi
single click your listview then hit F4 in your keyboard select "Events"
scroll down to ItemCheck Event and double click it then type
MessageBox.Show ( "The Index of the checked item is " + e.Index.ToString() +<br />
"\n Its state was" + e.CurrentValue.ToString() + "\n and now its state is " <br />
+ e.NewValue.ToString());
put some could so you can get help with the array
Ahmad Shaban
|
|
|
|
|
|
I m working on a c# and sql server based application...
I m fetching data from csv file and saving it's record One by one in to the database.
there is a column colled Description in my csv file as well as Sql server table.
In Sql i have given the data type "text" for the description column...
And it's working fine on my local machine but on server description gets truncated...
I have checked the csv file There is no comma in description
Everything is same StoredProcedure...DLLs...
I m not getting this...
If any one has any idea abt this pls help me out...
thanx & regards
Anuj Kamthan
Software Developer
Solversa Technologies,
Pune - 411007, India.
http://www.solversa.com
|
|
|
|
|
Try to change column type of Description from text to varchar(255)//varchar (increase by yourself)
_____________________
Proud to be Albanian
_____________________
|
|
|
|
|
Nop Body,
I have tried this also...
Same result working fine on local machine but not on server.
Anuj Kamthan
Software Developer
Solversa Technologies,
Pune - 411007, India.
http://www.solversa.com
|
|
|
|
|
How did you come to the conclusion that the data gets truncated? Did you check the data in the database, and if so, what program did you use?
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I have problam with convert.tostring(),
this function take alot of CPU power.
there is anather function or way to do this
action?
thank you
and have a nice Day!!:
|
|
|
|
|
if you try to convert byte to string try this:
Convert.ToString(your bytes)
or can you explain more your problem????
_____________________
Proud to be Albanian
_____________________
|
|
|
|
|
this is what I doing
---
byte Number;
convert.tostring(number);
Number++;
---
in thread
and the CPU Process is over working
|
|
|
|
|
if variable Number increase by one try to sign in for loop, example
string s="";
for(byte Number=0;Number<=15;Number++)
{
s=Convert.Tostring(Number);
}
_____________________
Proud to be Albanian
_____________________
|
|
|
|
|
|
Hi
Try this
<br />
byte Number;<br />
<br />
Number.ToString();<br />
<br />
Number++;<br />
Ahmad Shaban
|
|
|
|
|
i try this way
and the problam not fix
but thank you anyway.
|
|
|
|