|
I already wrote a dll in vb that allows typing in my local langauge with is own fonts.
I need to write a .lex file that would support our language contents. ms word uses this file as its language support in proofing tools.
Also i presume i might need to also generate localised dictionary.
thanks
larry_larry
|
|
|
|
|
I am looking for a small example of a server/client program that lets more then 1 client connect to a server. (like a simple chat program) The client uses a file to get the IP of the server.
Thanks
|
|
|
|
|
wait here are your links
http://www.codeproject.com/internet/server_client_sockets.asp
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Do I just run that code in Visual C++? What type of project? I tryed running it in a c++ "Win32 Console Project" and I get errors... ?
|
|
|
|
|
Give me the error it is giving,have you included ws2_32.lib in your project (that the library file for windows socket)
-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
I just tryed to compile as is... I did not change any thing..
Server error LNK2005: "void __cdecl socketError(char *)" (?socketError@@YAXPAD@Z) already defined in server_part1.obj
Server error LNK2005: _main already defined in server_part2.obj
Server error LNK2005: "void __cdecl socketError(char *)" (?socketError@@YAXPAD@Z) already defined in server_part1.obj
Server fatal error LNK1169: one or more multiply defined symbols found
|
|
|
|
|
Hi all out there... i have a little problem with using DirecShow..
i got errors like the those shown below.. is there any1 who know how to debug it?
KNN error LNK2001: unresolved external symbol _CLSID_AudioCompressorCategory
KNN error LNK2001: unresolved external symbol _CLSID_FileWriter
KNN error LNK2001: unresolved external symbol _CLSID_FilterGraph
KNN error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum
KNN error LNK2001: unresolved external symbol _IID_IAMStreamConfig
KNN error LNK2001: unresolved external symbol _IID_IBaseFilter
KNN error LNK2001: unresolved external symbol _IID_ICreateDevEnum
KNN error LNK2001: unresolved external symbol _IID_IFileSinkFilter
KNN error LNK2001: unresolved external symbol _IID_IGraphBuilder
KNN error LNK2001: unresolved external symbol _IID_IMediaControl
KNN error LNK2001: unresolved external symbol _IID_IMediaEvent
The document from DirectShow says that Strmiids.lib are used to exports class identifiers (CLSIDs) and interface identifiers (IIDs). All DirectShow applications require this library. So i am wondering whether did i link this lib to my project. Is including <dshow.h> just enough? But y am i still having the same errors???
TKS
|
|
|
|
|
Hi all,
I have written a program in normal cpp source file. In tht I am generating data of size 256x256 values. I want to plot them on a 3D surface plot i.e x(0,100), y(0,100), z is the corresponding values of (x,y) which is being generated int he program. For this values I have to plot a 3D surface plot thru my program. How can i implement it?
anykind of help is needed and is appreciated. Lemme know if u know any kind of already built functions or libraries which can do this just by giving data thru my program.
thanks in advance,
Suman
|
|
|
|
|
hi,
I want the list control to be able to have images in differnt columns( could be any column 0,1,2..) so i create a CIMAGELIST from some resource and also set it for the list control by calling the method
m_listCtrl->SetImageList(&m_imagelistsmall, LVSIL_SMALL);
What this does is set the images from the imagelist in column1( always). even when i dont specify the LVIF_IMAGE mask when adding item.
I dont want the image in the first column. Also what do i do to have the image in other other columns
|
|
|
|
|
You can't do this with a Windows list control - it can only display icons in the first (left-most) column. You'll need a custom control to do what you want. A grid control that lets you put images in any cell might be the thing. Take a look at this control[^], here on CP.
The chap who developed it is also a dab hand at web sites...
|
|
|
|
|
Thanks.
I made some of it possible and here is how i achieved it. I have an extended class of list ctrl. when i set the imagelist for the list it shows in the left most column by default so what i do is i do set the image in LVITEM but specify it to be some thing outside the range in the bitmap say 2000. This prevents the images to be shown in the left most column. Also for showing the image in some other column i use the LVS_EX_SUBITEMIMAGES extended style.
|
|
|
|
|
That's how the control works - you always get an image in column 0 when you set an image list.
To put images in other columns, set the LVS_EX_SUBITEMIMAGES extended style. Then when you insert new items, the control will look at the iImage field in the LVITEM and show the corresponding image.
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ
----
|
|
|
|
|
A basic roulette game. I need to make on basic roulette game. Im trying to help out a friend and dont know how to code at all really. My question is is there any templete or anything to make a completely text baed roulette game consisting of 10 numbers and it returning a prize a for number 1 through 5.
|
|
|
|
|
Tell your friend to do his own homework, and to ask people who know how to code if he gets stuck.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Heh. Two for the price of one.
--
Wir müssen leben bis wir sterben.
|
|
|
|
|
Helping a friend is good, helping a friend to do his homework is bad. If you care for him, don`t help.
<italic>Work hard and a bit of luck is the key to success.
You don`t need to be genius, to be rich.
|
|
|
|
|
wlll its basically he dosent have the net to post for help on a message board so were trying to figure it out using a templete.
|
|
|
|
|
I'm trying to find out if there's a way that I can format a number with commas using sprintf() or CString::Format(). I know there's a way I can do it by parsing the string, but I thought there should be some type of format flag for this, but I can't seem to find it. So, returning a float, I'm getting this:
100209.00
but I want
100,209.00
thanks in advance
[insert witty comment here]
bdiamond
|
|
|
|
|
|
thanks!!
[insert witty comment here]
bdiamond
|
|
|
|
|
Hai,
I'm working on win32 vc++.I want to get the mouse coordinates when I click it.
I am wondering how can I do this without using the WM_LBUTTONDOWN...
Do anyone have some ideas...
Thanks a lot in advance...
|
|
|
|
|
Try
BOOL GetCursorPos(LPPOINT lpPoint);
Cheers,
Greg Ellis
|
|
|
|
|
Anttt wrote:
I want to get the mouse coordinates when I click it.
I am wondering how can I do this without using the WM_LBUTTONDOWN
Use WM_LBUTTONUP.
If you don't like that either then i have to ask how you expect to be notified of a mouse button event if you don't want to use the ones provided ?
The only other thing to do is install a hook e.g. SetWindowsHookEx(WH_MOUSE);
...cmk
Save the whales - collect the whole set
|
|
|
|
|
Use GetAsyncKeyState() if you're not willing/able to use window messages to get notified when that happens. Be warned though that you might miss button clicks if you don't check frequently enough, since this function only returns a snapshot of the button state.
|
|
|
|
|
...actually, after reading the documentation, it's possible to determine if the button was pressed since the last call to the function. In other words, it's not only a snapshot you'll get.
Hope that helps.
|
|
|
|