|
Mr.Prakash wrote:
possible without the header files?
Why not Sir!!!,it 100% possible to load function from a dll without header file using LoadLibrary and GetProcAddress apis.
Mr.Prakash wrote:
practical
Yeah that depends upon project,that howmnay function do you importing from dll or Memory related Issue,i.e. why to keep function in memory if it is not using frequently.
Hope you Understand my point
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
i did not doubt about loading the function without the header file. i asked if it is practical to load and use the function without the header file, how will u know the sig of the function?
Header file is not needed if you know the sig from other src.
-prakash
|
|
|
|
|
Does PSDK support win XP?
thanx
|
|
|
|
|
Yeah,My system is WindowXP based and i am using it.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
where can i dl ipexport.h?
what is the function of it?
thanx
thanx
|
|
|
|
|
|
where can i dl ipexport.h?
thanx
|
|
|
|
|
I want fill a combobox with a dataadapter, can i do that in vc++ and how i do that? (in vb or c# is possible!)
there are some others way?
i want a key and a value for all the item of the combobox.
thanks a lot
|
|
|
|
|
What do you mean by data adapter ?
You can populate combobox easily and set their data by:
i = CComboBox::AddString( "your string" ); // function returns index of item
CComboBox::SetItemData( i, int_key_value ); // set the data
then retrieving the selected item:
i = CComboBox::GetCurSel(); // returns index of selected item
v = CComboBox::GetItemData( i ); // returns item's data
|
|
|
|
|
for examples with c# we can do somethings like this:
string sqlStr ="SELECT * FROM studentTable;";
dAdapter = new OleDbDataAdapter(sqlStr,myConn);
dset = new DataSet();
dAdapter.TableMappings.Add("Table","studentTable");
dAdapter.Fill(dset);
DataSet.DefaultViewManager property this.dviewmanager=dset.DefaultViewManager;
this.comboBox1.DataSource=this.dviewmanager; this.comboBox1.DisplayMember="studentTable.StudentID";
i want to do the same things with vc++ .net its possilbe?
thanks
|
|
|
|
|
Whoa thats some Sql database access (i dont know those), I cant help you with that, maybe if you look at CDaoDatabase, you can access databases with it.
But IMHO you have to get records from database and set them to the combo box one by one, there is probably not such command.
|
|
|
|
|
Hi everyone.
In my application, I use WebBrowser control to send HTTP request and get HTTP response. The response result is the HTML source(am i right?) which can be viewed by clicking View Source in the popup menu.
The problem is that the response is not the HTML code , but application-defined data. and I find that the following code works when the response is HTML code,but fails when my application-defined data:
IHTMLDocument2 * pDoc = (IHTMLDocument2 *)(m_ie.GetDocument());
BSTR str;
IHTMLElement * pElement = NULL;
pDoc->get_body(&pElement);
pElement->get_outerText(&str); //get_innerText
Because sometimes my application data is XML-like format , get_outerText(or inner) will remove the XML tags, that's not what I expect. get_outerHTML(or inner) will add some tags in my application data because there are tags in it.
I just want to implement a function that just like "View Source" menu item to get the full actual HTTP response.I use WebBrowser control because it can manage session automatically.
Thanks.
|
|
|
|
|
eXRange wrote:
I just want to implement a function that just like "View Source" menu item
Check this[^]...
|
|
|
|
|
i have a application that can be minimized to the system tray
what i want is whenever my application is minimized to system tray and user tries to run my application a second time the first app should pop out of the system tray and the second should exit
now i have used CreateEvent to prevent the application from running a second time but i cannot pop out the previous window from the system tray
i used FindWindow to find the previous window it returns NULL whenever window is in system tray
i tried to broadcast a registered message to all toplevel window didn't work either
please help, how can i obtain the HWND of the window in the system tray
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
i donno know abt above
but here i can help
mailMonty wrote:
i tried to broadcast a registered message to all toplevel window didn't work either
what is problem there Register message is not working or
you are not getting handle.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
application minimized in tray is not getting my registered message
as i don't have the HWND of the minimized app
i use HWND_BROADCAST to broadcast my Registered message to all top level windows but my app never gets it
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
ok send me a blank mail at alok@efextra.com , i will send you a working code for your requirement by tommorow.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
hey, we're here to share knowledges, so let us know...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Ok,Tox
i will put Code here and after writing it,.
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
Use the PJ Naughter SingleInstance code here on CP. That's what I use in Surfulater and ED. Surfulater does exactly what you want. See sig.
Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
|
|
|
|
|
http://www.codeproject.com/cpp/avoidmultinstance.asp[^]
The trick when doing this from the system tray is to hide your main window when you minimize it to the tray, that way it is still active and can thus respond to your registered message. When it recieves your registered message just unhide it.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it!
|
|
|
|
|
i have a dialog based application,
i used Showwindow to hide it before minimizing to system tray
still can't get it to work
by the way i am using ur CSystemTray class
why don't you add this in the class
C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
|
|
|
|
|
Recently I find that my application always crashs with invalid double floating value, so I want to determine whether a double floating value is valid or not then I can do some extra work to avoid crashes.
Can anybody tell me is there any function or method to known whether a floating value is valid or invalid??
Thanks a lot
|
|
|
|
|
|
the result looks like 1.#NF, and no divided by zero exception occurs.
|
|
|
|