|
Please, can anyone provide me help on this. I am creating an application where I need to create multiple image controls (or maybe a GDI+ graphics on that control) with transparent background on CFormView. These controls will provide user the ability to move, resize or select the control. I am stuck on this from long time and not able to find any solution. I will be very greatful if someone can provide me help on this.
Thanks,
Selvaraj
|
|
|
|
|
kcselvaraj wrote: I am stuck on this from long time and not able to find any solution.
Can you be more specific about what part(s) you're stuck on?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
I am writing an application where I have CFormView as a "Preview Image". I want to create a windowless/traparent control on which I can use TextBox or GDI+ drawing and user can select, move and resize the control. User can select a graphic from list of graphics like ellips, circle, rectangle or checkmark and place it on "Preview Image". I want to know how can I create such a control?
I will be really greatful to you if you can help me out with this.
Selvaraj
-- modified at 6:31 Wednesday 4th July, 2007
|
|
|
|
|
I am creating a library that is using a library that has a function implemented called xlAutoOpen. I wrote a function called xlAutoOpen, how do I in my .def file tell the linker to reference the one I wrote?
I am getting errors like these because the linker isn't sure which
function I am referencing...
1>curve.def : warning LNK4022: cannot find unique match for symbol
'xlAutoOpen'
1>curve.def : warning LNK4002: "int __cdecl xlAutoOpen(void)" (?
xlAutoOpen@@YAHXZ) defined in .\release\Generic.obj
1>curve.def : warning LNK4002: _xlAutoOpen@0 defined in .
\Univswap.lib
1>curve.def : warning LNK4002: _xlAutoOpen@0 defined in .\Univyld.lib
1>curve.def : error LNK2001: unresolved external symbol xlAutoOpen
These functions are essential because they are the required functions
for this interface I am using.
Thanks
|
|
|
|
|
This is just a guess, but if your xlAutoOpen file is written in c++, it will have a decorated name (to cope with different parameters)
I suspect all you'll need is to declare it as:
extern "C"
{
XXXX xlAutoOpen (....)
}
or the like.
While that's hardly a full solution, I hope it points you in the right direction.
Iain.
|
|
|
|
|
Hey all,
I have several projects that I want to complete that involve USB devices. I was wondering if there is any generic way to grab the output and input to any USB device.
I'm not looking for anything too clean, just something that works for the moment, as I will spend time adjusting the method to my various projects.
At any rate, is there a generic way to access the output and input of any USB device in windows? (or even just grab the output?)
thanks,
- legit
legit-tech.net
|
|
|
|
|
legit wrote: I was wondering if there is any generic way to grab the output and input to any USB device.
No, there isn't.
Anyway, try to post your question to the Hardware forum.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi,
Please provide the links / documents for Microsoft Windows NT / XP / Vista arhitecture.
Anything regarding the MS Windows programming using C++ language highly appreciated.
Thanks & Regards,
Neeraj
|
|
|
|
|
link[^]
Last modified: 24mins after originally posted --
|
|
|
|
|
So basically you want us to search for you and provide you with the links?
______________________
stuff + cats = awesome
|
|
|
|
|
leckey wrote: So basically you want us to search for you and provide you with the links?
Wait...isn't that what we usually do?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
|
This is first time in 3 years I got such a rediculous reply.
led mike , leckey and Mark Salsbery -- Not required your useless replies. Bullshit guys.
Thanks Nemanja Trifunovic - for that useful link.
Note for all: I hope this site is to help or make use of each other for studing or solving problems.
It is rediculous of making fun of people seeking help.
Regards,
Neeraj
|
|
|
|
|
Hi,
I need to search for hard coded strings from the VC++ 6 / VC++.Net 2003 source code.
Is there any tool for this?
Is there any criteria to define the search for this?
Regards,
Neeranjan
Thanks & Regards,
Neeraj
|
|
|
|
|
Neeranjan wrote: Is there any tool for this?
What's wrong with the IDE itself?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi DavidCrow,
Long back I have received many usefull replies from you regarding VC++ 6 (MFC) programming. Thanks for that.
I don't know what's wrong or great with IDE. Just started using the .Net 2003.
I just wanted the information regarding finding an easy way to search for all the hard coded strings from the source code instead of manual search or search using (").
Regards,
Neeraj
|
|
|
|
|
May be you have see the Process Explorer[^] from sysinternals. In that tool take the properties of an exe, there will be a tab called string. All items list in that are strings used in your application.
|
|
|
|
|
Thanks Naveen.
It was useful for my code investigation.
From this tool I was able to see all the strings from my application EXE.
Regards,
Neeraj
|
|
|
|
|
I included windows media player control successfully, but now I am getting problem with that. I am not able to play movie inside that. It does not resond to any of its functions like SetFileName, SetEnabled,Play. Its buttons doesnot activate. All of its buttons remain inactive.
My friend has used it very well in VC++
|| Lust Causes Sorrow ||
|
|
|
|
|
muktoham wrote: It does not resond to any of its functions like SetFileName, SetEnabled,Play.
Where are you getting these "functions" from?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
muktoham wrote: SetFileName
I think there is another function called SetURL(). call that function instead of the SetFileName().
|
|
|
|
|
I got my answer through another forum, My approach and functions where right,my control seems to be not installed correctly because same code worked fine on another machine.
|| Lust Causes Sorrow ||
|
|
|
|
|
Can i use and redistrubute GDI+ v1.1 with my application???
From Where can i download GDI+ V1.1?? Microsoft site still has old version for GDI+.
-- modified at 8:14 Tuesday 3rd July, 2007
|
|
|
|
|
It's available on Vista+.
I thought I heard something about it being with .NET 3.x as well but I could have dreamed it
No, you can't redistribute it.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Go that way, really fast. If something gets in your way, turn."
|
|
|
|
|
I am porting a COM object from VC6.0 to Visual Studo 2005 and I get the following error:
error C2011: 'spcADO::CursorTypeEnum' : 'enum' type redefinition
The reason for this is that the file msado15.tlh gets generated in the DebugU directory AND the project directory.
Any idea how I can solve this?
Thanks,
Jerome
|
|
|
|