Any inputs from anybody from this forum?
AKSIVAKUMAR
Posts
-
Using IActiveScript*,IActiveScriptParse* by #import "msscript.ocx" -
MDI application/Window Menuany suggestions or tricks from anybody from the forum ?
-
PostMessage and Send Messagejust display the data on the GUI that comes from the DLL.
-
Getting the source path using MS Script Control ( IActiveScriptError) if any exception or error occuredAll, Are there any way to get the source path (file path along with the file name) from MS Script Control ? Let's assume, I have addded some peiece of code into the script engine. In that piece of code, I also have included few vbinc files by calling as below include "C:\test\test.vbinc" The code that i had added into the script engine are as follows: '--------------------------------------------- option explicit include "C:\test\test1.vbinc" include "C:\test\test2.vbinc" sub test1() msgbox "hi1" end sub sub test2() msgbox "hi2" end sub dim mymsg : mymsg = String(2,"hi") function test4 if IsNull(mymsg) then msgbox "hi3" else msgbox "hi4" end if end function '--------------------------------------------- Now, if script engine found any error in the added code, i am able to get the source line and text using XActiveScriptSite::OnScriptError() function provided by MS Script Control. But not able to get the file name path i.e if any error or exception occured in the vbinc file as i need to tell the name and absolute path of the vbinc file name along with the line number and source text to the user. Suggetions are most welcome. Thanks in advance, AKS
-
Using IActiveScript*,IActiveScriptParse* by #import "msscript.ocx"All, Did any one used the MS script control for developing, executing VBScripts from the VC++ application ? Provide me details regarding, how to use the script engine to aware of the VBScript code, what are all the things that I need to take care before and after executing the VBScript from my application developed using VC++. Are there any tutorials which talks about these topics ? Any suggestions or Links, please let me know in detail. Thanks in advance, AKS
-
PostMessage and Send MessageKharfax, To inform you that I don't have any painting routine inside my application for this purpose. Just I am posting a message to application handle(m_hWnd)to display them on the GUI. Please let me know if you have any suggestions ? Regards, AKS
-
PostMessage and Send MessageDavid, I am using a tool to verify the memory leak. Moreover, If i comment that particular line and do run the application again, it consumes less memory. Regards, AKS
-
PostMessage and Send MessageAll, Can we post/send a message [ using PostMessage()/SendMessage() API ]from ATL COM DLL to the calling application window if we wanted to update the GUI periodically ? It seems it is consuming lot of memory when I post or send message from DLL to the applicaton GUI window. Thanks, AKS
-
MDI application/Window MenuAll, I have created a MDI application. In that, I have created many child frames and able to display/show during the application startup. But, whenever a child window is created, the system automatically appends a new menu item to the window menu. The text of the menu item is the same as the text on the menu bar of the new child window. By clicking the menu item, the user can activate the corresponding child window. When a child window is destroyed, the system automatically removes the corresponding menu item from the window menu. It seems that, the system can add up to ten menu items to the window menu. When the tenth child window is created, the system adds the More Windows item to the window menu. Clicking this item displays the Select Window dialog box. The dialog box contains a list box with the titles of all MDI child windows currently available. The user can activate a child window by clicking its title in the list box. How to avoid this and I don't want the system or the framework automatically appends a new menu item to the window menu. I want to restrict this urgently. Is there any way to restrict this ? Any suggestions ? Regards, Siva
-
Calling a ATL COM DLL interface from VBScript routineHi, Thanks for answer. But i am mainly interested in knowing what are all the basic rules (such as supported data type of parameters and etc) which i need to follow when i want to write a com dll which can be used from the VBScript especially. Thanks, Siva
-
Calling a ATL COM DLL interface from VBScript routineAll, I am working on ATL COM DLL and I am writing a DLL which exposes few interfaces to the application. These interfces can be called either from the VBScript or C++ routine. Any rules which i need to follow especially for having a parameter[[IN], [OUT]. As every one knows that VBScript has data type limitations and we can't pass all the parameters as like in normal. For example the IN and OUT parameter will be used to send and receive values from the interfce and should always be having a VARIANT* data type. For example: 1. STDMETHODIMP CXX::FUNC_XX( BYTE bnl,BYTE bCurrCl,VARIANT* vSData,BOOL boFlag, SHORT *pRetVal) 2. STDMETHODIMP CXXX::FUNC1_XXX(VARIANT* vReconfig,SHORT *pRetVal) Please let me know if any one is having suggestions or sample ATL COM DLL which can be called from VBScript. Thanks, AKS
-
Calling a ATL COM DLL interface from VBScript routineAll, I am working on ATL COM DLL and I am writing a DLL which exposes few interfaces to the application. These interfces can be called either from the VBScript or C++ routine. Any rules which i need to follow especially for having a parameter[[IN], [OUT]. As every one knows that VBScript has data type limitations and we can't pass all the parameters as like in normal. For example the IN and OUT parameter will be used to send and receive values from the interfce and should always be having a VARIANT* data type. For example: 1. STDMETHODIMP CXX::FUNC_XX( BYTE bnl,BYTE bCurrCl,VARIANT* vSData,BOOL boFlag, SHORT *pRetVal) 2. STDMETHODIMP CXXX::FUNC1_XXX(VARIANT* vReconfig,SHORT *pRetVal) Please let me know if any one is having suggestions or sample ATL COM DLL which can be called from VBScript. Thanks, AKS
-
Calling a ATL COM DLL interface from VBScript routineAll, I am working on ATL COM DLL and I am writing a DLL which exposes few interfaces to the application. These interfces can be called either from the VBScript or C++ routine. Any rules which i need to follow especially for having a parameter[[IN], [OUT]. As every one knows that VBScript has data type limitations and we can't pass all the parameters as like in normal. For example the IN and OUT parameter will be used to send and receive values from the interfce and should always be having a VARIANT* data type. For example: 1. STDMETHODIMP CXX::FUNC_XX( BYTE bnl,BYTE bCurrCl,VARIANT* vSData,BOOL boFlag, SHORT *pRetVal) 2. STDMETHODIMP CXXX::FUNC1_XXX(VARIANT* vReconfig,SHORT *pRetVal) Please let me know if any one is having suggestions or sample ATL COM DLL which can be called from VBScript. Thanks, AKS
-
any resources on REX OSHi all, any resources available for REX OS ??? Now a days i am not getting valuable feedback from here. is there any useful site where i can post messages and get answers for these kind problems? Regards, aks
-
any resources on REX OShi, just wanted to know is there resource available for REX OS. anybody knows about REX OS and its features, base services, richness compare with others OS ? if so, please let me know in detail. regards, aks
-
How to convert BD_ADDR to BT_ADDR?Hi, i want to develop application using eVC++ 4.0 for windows ce 5.0 device. Actually, i want to get the phoone book data(such as call hsitory list, outgoing, received calls, missed calls, address book, sms message list ) from nokia phone to my pocket pc over bluetooh conenction. i am refering http://www.palowireless.com/infotooth/tutorial.asp for BT developement. i am able to establish BT connection between two BT devices successfully. what profile do i need to use for this task ? do i need to use AT command over serial profile, or object push profile or syncML or IrMC standard ? please do let me know if you have any idea about it. please suggest me in detail. regards, aks
-
how to bluetooth in windows ce deviceshi, thanks for your reply. i want to develop application using eVC++ 4.0 for windows ce 5.0 device. Actually, i want to get the phoone book data(such as call hsitory list, outgoing, received calls, missed calls, address book, sms message list ) from nokia phone to my pocket pc over bluetooh conenction. i am able to establish BT connection between two device. what profile do i need to use for getting the phone data ? do i need to use AT command over serial profile, or object push profile or syncML or IrMC standard ? please do let me know if you have any idea about it. please suggest me in detail. regards, aks
-
data synchronization standardshi all, Synchronization provides a means to compare two Object Stores, analyze their differences and then modify each Object Store so that the two are identical. i wanted to sync my nokia phone data to my pocket pc windows ce device over bluetooth. for that i am planing to write a application for my pocket pc. what are all the various data sync standards available in the market ? To support all the mobile phones(such as nokia, motorola, samsung and etc.,, how difficult it is to implement ? any body is having idea about sync standards ? please explain me in detail. regards, aks
-
sync data using activesync between PPC and SmartPhoneHi all, will activesync supports of transferring data between Pocket PC and Smartphone ? suggestions are most welcome. regards, aks
-
how to bluetooth in windows ce deviceshi, i have BT enabled pocket pc and i have BT enabled nokie mobile phone. i want to sync data(address book, phone book, call list ) to my pocket pc. is there any way to do it ? standards are there to sync data ? any idea ..? regards, aks