|
AddFontResource is not on PInvoke.net (yet)
|
|
|
|
|
harold aptroot wrote: AddFontResource is not on PInvoke.net (yet)
Shazzam![^]
|
|
|
|
|
Wut?
I did a search for it 4 hours ago, no results..
|
|
|
|
|
harold aptroot wrote: I did a search for it 4 hours ago, no results..
Come on Harold, this isn't like you, get a grip! What's this[^]?
|
|
|
|
|
I don't know man
It certainly looks like the right page?
How did you find it?
|
|
|
|
|
harold aptroot wrote: How did you find it?
www.pinvoke.net then use the left hand selector to find gdi32. Click the plus sign and it opens up, and you can see the individual entries.
I already new www.pinvoke.net to start with, so I did not Google it; maybe it's not well indexed.
|
|
|
|
|
Hm.. I tried to use that search bar of pinvoke itself (left top)
Apparently it doesn't work so well..
|
|
|
|
|
harold aptroot wrote: Hm.. I tried to use that search bar of pinvoke itself (left top)
Apparently it doesn't work so well..
This is weird, I just tried it and it worked fine. It found AddFontResource, AddFontResourceEx and RemoveFontResource! Even just using "fontresource" as a search key finds them all.
|
|
|
|
|
Hm.. that's not good, that means I'm becoming like CG, everything malfunctioning around me
|
|
|
|
|
harold aptroot wrote: Hm.. that's not good, that means I'm becoming like CG, everything malfunctioning around me
do
{
I have days like this when I spend hours tweaking code, testing, asserting, throwing etc. And then, after what seems a lifetime, I spot the misplaced comma, the transposed operand, or whatever, and suddenly it all starts to work correctly. But I never tell anyone else about the stupid mistake I made, that the rawest rookie could spot from twenty-five paces. I just mutter into my coffee and promise not to be so careless in future.
} while (true);
|
|
|
|
|
Don't tell CG. He would have to close down his blog[^].
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
|
I want to retrieve the data from Excel Sheet row and column wise and then I want to manipulate the data and then I want to store it in data base. using VS 2008 C#
|
|
|
|
|
amaankhan wrote: I want to retrieve the data from Excel Sheet row and column wise and then I want to manipulate the data and then I want to store it in data base. using VS 2008 C#
Is there a question here or are you assuming that someone is going to post a working program for you?
|
|
|
|
|
i just need basic help in this. how to connected excel and retrieve the data by row and column,,,,,,,, i need some example's....... i will make the program........
Thanks for reply
|
|
|
|
|
amaankhan wrote: i need some example's
Well you need to search for them! Go to the Articles page here on CodeProject and search for what you need; also use MSDN and Google.
|
|
|
|
|
You can use ole db for reading data from excel file.
|
|
|
|
|
Hi
I am still a bit of a novice to C# Programming, but I have a function that returns me a Object, and what I am stuck on is how to convert this to binary in order to transmit down a pipe. The function returns a List.
Can anyone out there help me, please?
|
|
|
|
|
|
Hi
Thanks for your reply.
You have to excuse me, but as I said, I am a bit of a novice, is there some kind of example I could follow? Or a snippet of code?
|
|
|
|
|
BinaryFormatter with example[^]
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
The link to MSDN in the original post holds examples in multiple languages. My apologies for not pointing out
I are Troll
|
|
|
|
|
Hi
Thanks, yes, I have seen the example. Do you know whether this would work with passing the binary data into a namedpipeclient and server stream? If so, how would you pass this data in?
|
|
|
|
|
You can choose to serialize an object as binary data, or as XML. If it's binary data, I'd convert it to Base64[^] before sending.
Next step would be building the sending and receiving parts. I haven't used pipes[^] myself in a project yet, but you might find a good start at MSDN[^].
I are Troll
|
|
|
|
|
Hello,
I have a P/Invoke to a C++ function:
int dll_registerAccount(char* uri, char* reguri, char*);
So I have done this:
[DllImport("pjsipDlld")]
static extern int dll_registerAccount(IntPtr uri,
IntPtr reguri);
When I use this in my code:
success = dll_registerAccount("Bob", "Joe");
I get the following error message:
cannot convert from string to System.IntPtr
Am I going about this the wrong way?
Many thanks for any advice,
|
|
|
|